Unified hexapod repository, containing all modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 line
1.4KB

  1. <?xml version="1.0"?>
  2. <robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="hexapod_robot">
  3. <xacro:include filename="$(find hexapod_robot)/config/urdf/hexapod_robot_materials.xacro"/>
  4. <xacro:include filename="$(find hexapod_robot)/config/urdf/hexapod_robot_macros.xacro"/>
  5. <link name="base_link">
  6. <xacro:create_frame_plate z_offset="-0.034"/>
  7. <xacro:create_frame_plate z_offset=" 0.034"/>
  8. <xacro:create_coxa_joint_mount xy_offset="-0.040 0.080"/>
  9. <xacro:create_coxa_joint_mount xy_offset="-0.060 0.000"/>
  10. <xacro:create_coxa_joint_mount xy_offset="-0.040 -0.080"/>
  11. <xacro:create_coxa_joint_mount xy_offset=" 0.040 -0.080"/>
  12. <xacro:create_coxa_joint_mount xy_offset=" 0.060 0.000"/>
  13. <xacro:create_coxa_joint_mount xy_offset=" 0.040 0.080"/>
  14. </link>
  15. <xacro:create_leg number="1" side="l" xy_offset="-0.040 0.080"/>
  16. <xacro:create_leg number="2" side="l" xy_offset="-0.060 0.000"/>
  17. <xacro:create_leg number="3" side="l" xy_offset="-0.040 -0.080"/>
  18. <xacro:create_leg number="4" side="r" xy_offset=" 0.040 -0.080"/>
  19. <xacro:create_leg number="5" side="r" xy_offset=" 0.060 0.000"/>
  20. <xacro:create_leg number="6" side="r" xy_offset=" 0.040 0.080"/>
  21. <xacro:include filename="$(find hexapod_robot)/config/urdf/hexapod_robot_ros2_control.xacro"/>
  22. </robot>