|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Polygons not supported anymore ?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> |
|
|
Re: Polygons not supported anymore ?On Thu, Nov 5, 2009 at 2:37 AM, nomiSch <simon.ruffieux@...> wrote:
> > 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 > ....) ? Yes, that is correct. Since Stage now supports Z poses and height properly, all objects need their Z extent defined. Polygon became block. - rtv > > 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. > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Playerstage-users mailing list > Playerstage-users@... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > -- Richard Vaughan Autonomy Lab / Computing Science / Simon Fraser University ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users |
| Free embeddable forum powered by Nabble | Forum Help |