Advertisement
WintermuteAI

SRDF

Sep 18th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.33 KB | None | 0 0
  1. <?xml version="1.0" ?>
  2. <!--This does not replace URDF, and is not an extension of URDF.
  3. This is a format for representing semantic information about the robot structure.
  4. A URDF file must exist for this robot as well, where the joints and the links that are referenced are defined
  5. -->
  6. <robot name="test_robot">
  7. <!--GROUPS: Representation of a set of joints and links. This can be useful for specifying DOF to plan for, defining arms, end effectors, etc-->
  8. <!--LINKS: When a link is specified, the parent joint of that link (if it exists) is automatically included-->
  9. <!--JOINTS: When a joint is specified, the child link of that joint (which will always exist) is automatically included-->
  10. <!--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-->
  11. <!--SUBGROUPS: Groups can also be formed by referencing to already defined group names-->
  12. <group name="gripper">
  13. <link name="claw_l" />
  14. <link name="claw_r" />
  15. <joint name="joint6" />
  16. <joint name="joint7" />
  17. </group>
  18. <group name="arm">
  19. <chain base_link="base_cylinder" tip_link="claw_base" />
  20. </group>
  21. <!--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'-->
  22. <group_state name="open" group="gripper">
  23. <joint name="joint6" value="0.3" />
  24. <joint name="joint7" value="0.3" />
  25. </group_state>
  26. <group_state name="default" group="arm">
  27. <joint name="joint1" value="0" />
  28. <joint name="joint2" value="0" />
  29. <joint name="joint3" value="0" />
  30. <joint name="joint4" value="0" />
  31. </group_state>
  32. <!--END EFFECTOR: Purpose: Represent information about an end effector.-->
  33. <end_effector name="gripper" parent_link="claw_base" group="gripper" parent_group="arm" />
  34. <!--VIRTUAL JOINT: Purpose: this element defines a virtual joint between a robot link and an external frame of reference (considered fixed with respect to the robot)-->
  35. <virtual_joint name="virtual_joint" type="fixed" parent_frame="fixed_frame" child_link="base_cylinder" />
  36. <!--DISABLE COLLISIONS: By default it is assumed that any link of the robot could potentially come into collision with any other link in the robot. This tag disables collision checking between a specified pair of links. -->
  37. <disable_collisions link1="base_cylinder" link2="lower_arm" reason="Never" />
  38. <disable_collisions link1="base_cylinder" link2="platform" reason="Adjacent" />
  39. <disable_collisions link1="claw_base" link2="claw_l" reason="Adjacent" />
  40. <disable_collisions link1="claw_base" link2="claw_r" reason="Adjacent" />
  41. <disable_collisions link1="claw_base" link2="lower_arm" reason="Never" />
  42. <disable_collisions link1="claw_base" link2="platform" reason="Never" />
  43. <disable_collisions link1="claw_base" link2="upper_arm" reason="Never" />
  44. <disable_collisions link1="claw_base" link2="wrist" reason="Adjacent" />
  45. <disable_collisions link1="claw_l" link2="claw_r" reason="Default" />
  46. <disable_collisions link1="claw_l" link2="lower_arm" reason="Never" />
  47. <disable_collisions link1="claw_l" link2="platform" reason="Never" />
  48. <disable_collisions link1="claw_l" link2="upper_arm" reason="Never" />
  49. <disable_collisions link1="claw_l" link2="wrist" reason="Never" />
  50. <disable_collisions link1="claw_r" link2="lower_arm" reason="Never" />
  51. <disable_collisions link1="claw_r" link2="platform" reason="Never" />
  52. <disable_collisions link1="claw_r" link2="upper_arm" reason="Never" />
  53. <disable_collisions link1="claw_r" link2="wrist" reason="Never" />
  54. <disable_collisions link1="lower_arm" link2="platform" reason="Adjacent" />
  55. <disable_collisions link1="lower_arm" link2="upper_arm" reason="Adjacent" />
  56. <disable_collisions link1="lower_arm" link2="wrist" reason="Never" />
  57. <disable_collisions link1="platform" link2="upper_arm" reason="Never" />
  58. <disable_collisions link1="platform" link2="wrist" reason="Never" />
  59. <disable_collisions link1="upper_arm" link2="wrist" reason="Adjacent" />
  60. </robot>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement