Skip to content

Commit

Permalink
re-added gazebo friction parameters for the wheels (#19)
Browse files Browse the repository at this point in the history
they were removed previously with a comment that they wouldn't
change anything; but re-adding them (and also providing a minDepth
value!) stops the robot from sliding over the ground plane when
it should stand still.
  • Loading branch information
niniemann authored and mintar committed Mar 14, 2019
1 parent ff422c7 commit 72fe47e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions mir_description/urdf/include/mir_100.gazebo.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<mu2 value="${friction}"/>
<kp value="10000000.0"/>
<kd value="1.0"/>
<minDepth>0.01</minDepth>
</gazebo>
</xacro:macro>

Expand Down
4 changes: 2 additions & 2 deletions mir_description/urdf/include/mir_100_v1.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@

<xacro:mir_100_wheel_transmissions prefix="${prefix}"/>

<!-- disabled, because it doesn't make a difference in Gazebo: -->
<!-- <xacro:set_all_wheel_frictions prefix="${prefix}"/> -->
<!-- set the gazebo friction parameters for the wheels -->
<xacro:set_all_wheel_frictions prefix="${prefix}"/>

<p3d_base_controller prefix="${prefix}" />
</xacro:macro>
Expand Down

0 comments on commit 72fe47e

Please sign in to comment.