Skip to content

Commit

Permalink
Use cylinders instead of STLs for wheel collision geometries
Browse files Browse the repository at this point in the history
When using the STL meshes, there were lots of inconsistent contacts
between the wheels and the ground. This resulted in lots of small
"vibrations" of the robot due to unstable repulsive forces between
ground and wheels, which were measured by the simulated IMU. Using
cylinders as collision geometries fixes that.

Fixes DFKI-NI#99.
  • Loading branch information
mintar committed Oct 14, 2022
1 parent 296e2ab commit ea368a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mir_description/urdf/include/mir_100_v1.urdf.xacro
Expand Up @@ -50,9 +50,9 @@
<xacro:insert_block name="material_dark_grey" />
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<origin xyz="0 0 0" rpy="${pi/2} 0 0" />
<geometry>
<mesh filename="package://mir_description/meshes/visual/wheel.stl" />
<cylinder radius="${mir_100_act_wheel_radius}" length="${mir_100_act_wheel_width}" />
</geometry>
</collision>
</link>
Expand Down Expand Up @@ -142,9 +142,9 @@
<xacro:insert_block name="material_dark_grey" />
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<origin xyz="0 0 0" rpy="${pi/2} 0 0" />
<geometry>
<mesh filename="package://mir_description/meshes/visual/wheel.stl" />
<cylinder radius="${mir_100_caster_wheel_radius}" length="${mir_100_caster_wheel_width}" />
</geometry>
</collision>
</link>
Expand Down

0 comments on commit ea368a3

Please sign in to comment.