Gazebo | Ignition | Community
Ask Your Question

inertial settings not working

asked 2017-05-30 02:46:54 -0600

this post is marked as community wiki

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

My world file is:

<?xml version="1.0"?>
<sdf version="1.4">
<world name="default">
<model name="my_mesh">
  <pose>0.2 0 0  0 0 0</pose>
  <link name="pad_body">
      <pose>0.315 0 0.0885 0 0 0</pose>
    <collision name="collision">
    <visual name="visual">

But the inertial settings not working, after run the following command,

$ gazebo

gazebo always show its mass and moment of inertial as gazebo default values.

Any help will be appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-30 10:15:52 -0600

chapulina gravatar image

What's happening is that you're creating a static model (<static>true</static>), which means the model's inertia will be ignored and it won't be affected by physics.

But I can see how displaying the default values can be confusing. I opened an issue about this.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-05-30 02:46:54 -0600

Seen: 670 times

Last updated: May 30 '17