Skip to content

Commit

Permalink
Define "manipulator" group only if hand:=true
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Mar 15, 2022
1 parent b645ff6 commit 54263ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/panda.srdf.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
-->
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="panda">
<xacro:include filename="$(find panda_moveit_config)/config/arm.xacro" />
<xacro:arm name="manipulator" tip_link="panda_hand_tcp" />
<!-- old group name with old end-effector link -->
<!-- panda_arm group: eef frame aligned to robot's flanche -->
<xacro:arm name="panda_arm" tip_link="panda_link8"/>

<xacro:arg name="hand" default="false" />

<!--Add the hand if people request it-->
<xacro:if value="$(arg hand)">
<!-- manipulator group: eef frame aligned to hand -->
<xacro:arm name="manipulator" tip_link="panda_hand_tcp" />
<xacro:include filename="$(find panda_moveit_config)/config/hand.xacro" />
<xacro:hand />

Expand Down

0 comments on commit 54263ef

Please sign in to comment.