From: nomiSch <sim...@he...> - 2009-11-05 10:37:18
|
Hello ! I am creating a model of a robot using stage 3.2 and player 3.0. I define the shape of the robot with polygons, but I am getting these warnings warn: worldfile ./firstTest.world:31 : property [polygon[0].fill] is defined but not used (/home/nomis/playerstage_download/Stage-3.2.2-Source/libstage/worldfile.cc WarnUnused) warn: worldfile ./firstTest.world:25 : property [polygon[0].point[0]] is defined but not used (/home/nomis/playerstage_download/Stage-3.2.2-Source/libstage/worldfile.cc WarnUnused) Are polygons not supported anymore, am I only suppose to use block(points 6 ....) ? thanx the code looks something like that: <code> #Description of the body of the robot define firstRobot position ( #actual size of the robot size [1 1 0.5] polygons 1 polygon[0].points 6 polygon[0].point[0] [0 0 0] polygon[0].point[1] [0 1 0] polygon[0].point[2] [0.75 1 0] polygon[0].point[3] [1 0.75 0] polygon[0].point[4] [1 0.25 0] polygon[0].point[5] [0.75 0 0] polygon[0].fill 1 #mass mass 10.0 #type of drive drive "diff" #attach sensors to rhe robot firstRobot_sonars() )</code> -- View this message in context: http://old.nabble.com/Polygons-not-supported-anymore---tp26210171p26210171.html Sent from the playerstage-users mailing list archive at Nabble.com. |