Home | Tutorials | Wiki | Issues
Ask Your Question

how to make a object static in gazebo

asked 2016-06-07 02:15:50 -0500

Rajnunes gravatar image

I have tried to make make an object static .. through gazebo's gui but it does not work .. the object is imported from a .dae file extension...if possible i would also like to change the mass of that object

edit retag flag offensive close merge delete


Note that if you make your model static, it will be ignored by the physics engine. Therefore, the mass will have no effect. Are you sure you want to make it static?

chapulina gravatar imagechapulina ( 2016-06-07 12:02:35 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-06-07 04:25:30 -0500

mrslvgg gravatar image

I never tried to do it through the gui, but you can easily specify those properties in the sdf file of the world you load, something like:

<model name='link'>
  <link name='link_name'>        

have look at this page to find out more about sdf specifications.

Hope this helps.

edit flag offensive delete link more

answered 2016-06-07 05:52:33 -0500

karthikj219 gravatar image

updated 2016-06-07 05:53:24 -0500

To make it static add a <static>true</static> tag under the <model> tag of your SDF.
For mass, you'll have to go under <inertial> of every link in the object and add a <mass> tag.

Also, for reference, use this link: http://sdformat.org/spec

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-06-07 02:15:50 -0500

Seen: 5,854 times

Last updated: Jun 07 '16