Setting <split_impulse_penetration_threshold> tag of bullet Engine in .world file does not work
Here's the code of the .world file. Whatever I change -0.05 to be, both + and -, the gap between objects in gazebo is always the same and seems -0.01, the default value. But when I add
<?xml version="1.0" ?>
<!-- A global light source -->
<include>
<uri>model://sun</uri>
</include>
<!-- A ground plane -->
<include>
<uri>model://ground_plane</uri>
</include>
<physics type="bullet">
<bullet>
<constraints>
<contact_surface_layer> 0 </contact_surface_layer>
<split_impulse> 1 </split_impulse>
<split_impulse_penetration_threshold> -0.05 </split_impulse_penetration_threshold>
</constraints>
</bullet>
</physics>
enter code here
Asked by mazeyu on 2020-05-04 12:42:27 UTC
Answers
Very similar problem here. I am trying to modify ground's kp and kd, but nothing happens. I have confirmed the file is correctly read, since with ODE it works.
extract of CODE:
<surface>
<contact>
<collide_bitmask>0xffff</collide_bitmask>
<ode>
<kp>1e12</kp>
<kd>1</kd>
<min_depth> </min_depth>
</ode>
<bullet>
<kp>1e12</kp>
<kd>1</kd>
<split_impulse_penetration_threshold> </split_impulse_penetration_threshold> <!-- default -0.01 -->
</bullet>
</contact>
<friction>
<ode>
<mu>1</mu>
<mu2>1</mu2>
</ode>
<bullet>
<friction>1</friction>
<friction2>1</friction2>
</bullet>
</friction>
</surface>
Asked by andrea_pat on 2021-08-28 05:11:15 UTC
Comments