Hello, Could you post your world file? And could you try this world file:
<?xml version="1.0"?> <gz:world xmlns:gz="http://playerstage.sourceforge.net/gazebo/xmlschema/#gz" xmlns:model="http://playerstage.sourceforge.net/gazebo/xmlschema/#model" xmlns:window="http://playerstage.sourceforge.net/gazebo/xmlschema/#window" xmlns:param="http://playerstage.sourceforge.net/gazebo/xmlschema/#param"> <model:ObserverCam> <id>userCam0</id> <xyz>2 -3 7</xyz> <rpy>-0 43 109</rpy> <imageSize>640 480</imageSize> </model:ObserverCam> <model:LightSource> <id>light0</id> <xyz>-10.000 -10.000 10.000</xyz> </model:LightSource> <model:GroundPlane> <id>ground1</id> <textureFile>grid.ppm</textureFile> </model:GroundPlane> <model:SimpleSolid> <xyz>0.000 0.000 5.000</xyz> <shape>box</shape> <size>0.70 0.70 0.50</size> <color>1.0 1.0 1.0</color> <textureFile>ground.ppm</textureFile> <gravity>false</gravity> </model:SimpleSolid> </gz:world> -nate On 4/30/07, Clemens Eppner <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to eliminate all forces acting on my model. > But gravity seems to be indestructible: Though I set > the gravity mode of the model and all its connected > ones to false it still falls towards the ground plane. > Strangely enough GetForce, GetLinearVel, etc. all > return zero. What's happening here?? > > C. > > p.s.: > Setting gravity in the world file gives an error as > well; but anyway, this shouldn't be the workaround. > > WorldFile.cc:357 warning : in > ./worlds/example2.world:4 unused attribute > [GlobalParams] > WorldFile.cc:357 warning : in > ./worlds/example2.world:5 unused attribute [gravity] > main.cc:335 server id [0] > > > > __________________________________ Yahoo! Clever - Der einfachste Weg, > Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
