Gazebo | Ignition | Community
Ask Your Question

turnGravityOff tag doesn't work with groovy gazebo 1.5

asked 2013-10-15 08:48:30 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.


I'm having a problem with switching off the gravity for my models. I'm using ros groovy with gazebo 1.5 (but I installed gazebo seperately because I wanted to edit the sources). When I first tried the roslaunch, my model from the urdf file wouldn't load, I got the error message:

XML Element[turnGravityOff], child of element[link] not defined in SDF. Ignoring.[link]

So I removed the code

  <gazebo reference="my_model">

and the model would load correctly. But now its falling or doing other weird stuff like jumping etc... Does anyone know what the right tag for gravity off is for the urdf file without getting this error message?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-15 08:51:37 -0500

psei gravatar image

"turnGravityOff" is not defined in SDF, try "gravity"

see for all possible parameters

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-10-15 08:48:30 -0500

Seen: 401 times

Last updated: Oct 15 '13