Home | Tutorials | Wiki | Issues
Ask Your Question
0

turnGravityOff tag doesn't work with groovy gazebo 1.5

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

this post is marked as community wiki

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

Hey,

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">
    <turnGravityOff>true</turnGravityOff>
 </gazebo>

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?

thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

psei gravatar image

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

see http://gazebosim.org/sdf/1.4.html for all possible parameters

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

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

Seen: 245 times

Last updated: Oct 15 '13