Skip to content

Commit

Permalink
update robot.urdf.xacro urdf like mentioned at issue #32 (#48)
Browse files Browse the repository at this point in the history
* update urdf issue#32 suggests

* align z-axis in sensor_link with one in tool0
  • Loading branch information
graziegrazie authored Jan 22, 2022
1 parent 529bda7 commit 342272a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cartesian_controller_examples/urdf/robot.urdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@
</link>

<joint name="tool0_joint" type="fixed">
<origin xyz="0 ${link6_length} 0" rpy="${-pi / 2.0} 0 0"/>
<parent link="link6"/>
<origin xyz="0 0 ${link6_length / 2.0}" rpy="0 0 0"/>
<parent link="sensor_link"/>
<child link="tool0"/>
</joint>
<link name="tool0">
Expand All @@ -237,7 +237,7 @@

<!-- Attach a sensor link -->
<joint name="sensor_link_joint" type="fixed">
<origin xyz="0 ${link6_length / 2.0} 0" rpy="${-pi / 2.0} 0 ${pi / 2.0}"/>
<origin xyz="0 ${link6_length / 2.0} 0" rpy="${-pi / 2.0} 0 0"/>
<parent link="link6"/>
<child link="sensor_link"/>
</joint>
Expand Down

0 comments on commit 342272a

Please sign in to comment.