Robotics StackExchange | Archived questions

gazebo8 bug? minimum min_depth value is .01

Hi All,

The mindepth values from my robots generated .sdf are being changed by gazebo (I believe). For min depth values greater or equal than .011, they are passed without issue, however for values between [.01, .005] the mindepth is set to .01, and for values less than .005, the min_depth is set to 0.

.sdf excerpt:

  <collision name='BR_foot_link_collision'>
       ...
    <geometry><cylinder> <length>0.15</length><radius>0.03</radius></cylinder></geometry>
    <surface>
        ...
      <contact>
        <ode>
          ...
          <min_depth>0.009</min_depth>
        </ode>
      </contact>
    </surface>
  </collision>

from gazebo (see min_depth value):

min_depth = .01 in gazebo

Why is this happening? How can I set min_depth values less than .01?

system specs: ubuntu16, ros kinetic, and gazebo8

Thanks

Asked by JeremySMorgan on 2018-11-29 01:44:48 UTC

Comments

Answers

turns out the gazebo gui rounds/limits floats. (see http://answers.gazebosim.org/question/21225/gazebo8-bug-minimum-min_depth-value-is-01/)

Asked by JeremySMorgan on 2018-11-29 23:54:28 UTC

Comments