Home | Tutorials | Wiki | Issues
Ask Your Question
0

gazebo8 bug? minimum min_depth value is .01

asked 2018-11-29 00:44:48 -0600

JeremySMorgan gravatar image

updated 2018-11-29 00:45:22 -0600

Hi All,

The min_depth 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 min_depth 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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-11-29 22:54:28 -0600

JeremySMorgan gravatar image

turns out the gazebo gui rounds/limits floats. (see http://answers.gazebosim.org/question...)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-11-29 00:44:48 -0600

Seen: 24 times

Last updated: Nov 29