Skip to content

Commit

Permalink
Fixes gazebo gripper action bug
Browse files Browse the repository at this point in the history
This commit fixes a bug that was introduced by frankaemika#147. In frankaemika#147 the
finger collision geometries were replaced by more accurate meshes.
These more accurate messages however broke the 'gripper_action' action.
This commit migrates back to using geometries for the finger collision geometries.
The action server works fine when geometriesare used.
  • Loading branch information
rickstaa committed Oct 28, 2021
1 parent c4b2bec commit 74af1ba
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions franka_description/robots/panda_gazebo.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,21 @@
</geometry>
</visual>
<collision>
<origin xyz="0 0.0184 0.0101" rpy="0 0 0"/>
<geometry>
<mesh filename="package://franka_description/meshes/collision/finger.stl" />
<box size="0.022 0.014 0.0177" />
</geometry>
</collision>
<collision>
<origin xyz="0 0.01655 0.02755" rpy="${3.257/(2*pi)} 0 0"/>
<geometry>
<box size="0.022 0.00686 0.0237" />
</geometry>
</collision>
<collision>
<origin xyz="0 0.0073 0.045" rpy="0 0 0"/>
<geometry>
<box size="0.022 0.0147 0.0178" />
</geometry>
</collision>
</link>
Expand All @@ -324,9 +337,21 @@
</geometry>
</visual>
<collision>
<origin xyz="0 0 0" rpy="0 0 ${pi}"/>
<origin xyz="0 -0.0184 0.0101" rpy="0 0 0"/>
<geometry>
<box size="0.022 0.014 0.0177" />
</geometry>
</collision>
<collision>
<origin xyz="0 -0.01655 0.02755" rpy="${-3.257/(2*pi)} 0 0"/>
<geometry>
<box size="0.022 0.00686 0.0237" />
</geometry>
</collision>
<collision>
<origin xyz="0 -0.0073 0.045" rpy="0 0 0"/>
<geometry>
<mesh filename="package://franka_description/meshes/collision/finger.stl" />
<box size="0.022 0.0147 0.0178" />
</geometry>
</collision>
</link>
Expand Down

0 comments on commit 74af1ba

Please sign in to comment.