how to make a object static in gazebo
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
Asked by Rajnunes on 2016-06-07 02:15:50 UTC
Answers
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'>
<inertial>
...
<mass>85</mass>
...
</inertial>
...
</link>
<static>1</static>
</model>
have look at this page to find out more about sdf specifications.
Hope this helps.
Asked by mrslvgg on 2016-06-07 04:25:30 UTC
Comments
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
Asked by karthikj219 on 2016-06-07 05:52:33 UTC
Comments
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?
Asked by chapulina on 2016-06-07 12:02:35 UTC