Skip to content

Commit

Permalink
manipulator for group name in srdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron Svastits committed Nov 10, 2023
1 parent 3285e97 commit a874803
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions kuka_kr_moveit_config/srdf/kr_arm_macro.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<!--JOINTS: When a joint is specified, the child link of that joint (which will always exist) is automatically included-->
<!--CHAINS: When a chain is specified, all the links along the chain (including endpoints) are included in the group. Additionally, all the joints that are parents to included links are also included. This means that joints along the chain and the parent joint of the base link are included in the group-->
<!--SUBGROUPS: Groups can also be formed by referencing to already defined group names-->
<group name="${prefix}kr_arm">
<group name="${prefix}manipulator">
<chain base_link="${prefix}base_link" tip_link="${prefix}tool0" />
</group>
<!--Add tool0 as end effector to be able to use moveit_visual_tools for visualising end effector path-->
<group name="${prefix}end_effector">
<group name="end_effector">
<link name="${prefix}tool0"/>
</group>
<!--GROUP STATES: Purpose: Define a named state for a particular group, in terms of joint values. This is useful to define states like 'folded arms'-->
Expand Down
8 changes: 4 additions & 4 deletions kuka_lbr_iisy_moveit_config/srdf/lbr_iisy_arm.macro.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<!--JOINTS: When a joint is specified, the child link of that joint (which will always exist) is automatically included-->
<!--CHAINS: When a chain is specified, all the links along the chain (including endpoints) are included in the group. Additionally, all the joints that are parents to included links are also included. This means that joints along the chain and the parent joint of the base link are included in the group-->
<!--SUBGROUPS: Groups can also be formed by referencing to already defined group names-->
<group name="lbr_iisy_arm">
<chain base_link="${prefix}base_link" tip_link="${prefix}flange" />
<group name="${prefix}manipulator">
<chain base_link="${prefix}base_link" tip_link="${prefix}tool0" />
</group>
<!--Add flange as end effector to be able to use moveit_visual_tools for visualising end effector path-->
<!--Add tool0 as end effector to be able to use moveit_visual_tools for visualising end effector path-->
<group name="end_effector">
<link name="${prefix}flange"/>
<link name="${prefix}tool0"/>
</group>
<!--GROUP STATES: Purpose: Define a named state for a particular group, in terms of joint values. This is useful to define states like 'folded arms'-->
<group_state name="null_pos" group="lbr_iisy_arm">
Expand Down
8 changes: 4 additions & 4 deletions kuka_lbr_iiwa_moveit_config/srdf/lbr_iiwa_arm.macro.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<!--JOINTS: When a joint is specified, the child link of that joint (which will always exist) is automatically included-->
<!--CHAINS: When a chain is specified, all the links along the chain (including endpoints) are included in the group. Additionally, all the joints that are parents to included links are also included. This means that joints along the chain and the parent joint of the base link are included in the group-->
<!--SUBGROUPS: Groups can also be formed by referencing to already defined group names-->
<group name="lbr_iiwa_arm">
<chain base_link="${prefix}base_link" tip_link="${prefix}flange" />
<group name="${prefix}manipulator">
<chain base_link="${prefix}base_link" tip_link="${prefix}tool0" />
</group>
<!--Add flange as end effector to be able to use moveit_visual_tools for visualising end effector path-->
<!--Add tool0 as end effector to be able to use moveit_visual_tools for visualising end effector path-->
<group name="end_effector">
<link name="${prefix}flange"/>
<link name="${prefix}tool0"/>
</group>
<!--GROUP STATES: Purpose: Define a named state for a particular group, in terms of joint values. This is useful to define states like 'folded arms'-->
<group_state name="extended" group="lbr_iiwa_arm">
Expand Down

0 comments on commit a874803

Please sign in to comment.