From: Jenny O. <jo...@cs...> - 2009-11-23 09:20:58
|
I would be interested to know if this turns out to be an error in the manual! The official stage manual declares the fov of the blobfinder using radians by doing fov 3.14159/3.0 http://playerstage.sourceforge.net/doc/stage-3.1.0/group__model__blobfinder.html perhaps the .0 at the end of the 3 is important? Besides that change, it might be worth taking the blobfinder stuff out of the position model and defining it as a separate model as you did with the rangers. Jenny clarksa wrote: > I'm getting the following error when I try to add a blobfinder: > > [Loading ./empty.world][Include map.inc][Include bigbob.inc]err: > ./empty.world:69 : syntax error > (/home/tase/playerstage_download/Stage-3.2.2-Source/libstage/worldfile.cc > LoadTokens) > > I'm working through Jennifer Owen's tutorial (I'm using player 3.0.0/stage > 3.2.1 however) The error pops up when I add this block to my robot.inc file > and create an instance of my robot but i don't see anything wrong with it. > > blobfinder > ( > # number of colours to look for > colors_count 2 > # which colours to look for > colors ["orange" "blue"] > # camera parameters > image [160 120] #resolution > range 5.00 > fov 3.14159/3 # 60 degrees = pi/3 radians > ) > > I've uploaded my world, cfg, inc files too: > http://old.nabble.com/file/p26462150/empty.cfg empty.cfg > http://old.nabble.com/file/p26462150/empty.world empty.world > http://old.nabble.com/file/p26462150/bigbob.inc bigbob.inc > |