Skip to content
Snippets Groups Projects
Commit 54263efc authored by Robert Haschke's avatar Robert Haschke
Browse files

Define "manipulator" group only if hand:=true

parent b645ff68
No related branches found
No related tags found
No related merge requests found
...@@ -5,14 +5,15 @@ ...@@ -5,14 +5,15 @@
--> -->
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="panda"> <robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="panda">
<xacro:include filename="$(find panda_moveit_config)/config/arm.xacro" /> <xacro:include filename="$(find panda_moveit_config)/config/arm.xacro" />
<xacro:arm name="manipulator" tip_link="panda_hand_tcp" /> <!-- panda_arm group: eef frame aligned to robot's flanche -->
<!-- old group name with old end-effector link -->
<xacro:arm name="panda_arm" tip_link="panda_link8"/> <xacro:arm name="panda_arm" tip_link="panda_link8"/>
<xacro:arg name="hand" default="false" /> <xacro:arg name="hand" default="false" />
<!--Add the hand if people request it--> <!--Add the hand if people request it-->
<xacro:if value="$(arg hand)"> <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:include filename="$(find panda_moveit_config)/config/hand.xacro" />
<xacro:hand /> <xacro:hand />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment