robot.urdf.xacro 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0"?>
  2. <robot name="roboat" xmlns:xacro="http://roboat.org">
  3. <xacro:property name="PI" value="3.1415926535897931" />
  4. <link name="base_link"></link>
  5. <joint name="base_link_joint" type="fixed">
  6. <parent link="base_link"/>
  7. <child link="chassis_link" />
  8. <origin xyz="0 0 0" rpy="0 0 0" />
  9. </joint>
  10. <link name="chassis_link"></link>
  11. <link name="imu_link"> </link>
  12. <joint name="imu_joint" type="fixed">
  13. <parent link="chassis_link" />
  14. <child link="imu_link" />
  15. <origin xyz="0 -0.1 0" rpy="0 0 0" />
  16. </joint>
  17. <link name="imu_enu_link"> </link>
  18. <joint name="imu_enu_joint" type="fixed">
  19. <parent link="imu_link" />
  20. <child link="imu_enu_link" />
  21. <origin xyz="0 0 0" rpy="${PI} 0 ${PI}" />
  22. </joint>
  23. <link name="velodyne"> </link>
  24. <joint name="velodyne_joint" type="fixed">
  25. <parent link="chassis_link" />
  26. <child link="velodyne" />
  27. <origin xyz="0 0 0" rpy="0 0 0" />
  28. </joint>
  29. <link name="realsense_link"> </link>
  30. <joint name="realsense_joint" type="fixed">
  31. <parent link="chassis_link" />
  32. <child link="realsense_link" />
  33. <origin xyz="0.1 0 -0.1" rpy="0 0 0" />
  34. </joint>
  35. <link name="navsat_link"> </link>
  36. <joint name="navsat_joint" type="fixed">
  37. <parent link="chassis_link" />
  38. <child link="navsat_link" />
  39. <origin xyz="-0.2 0 0.2" rpy="0 0 0" />
  40. </joint>
  41. <link name="loam_camera"> </link>
  42. <joint name="_loam_camera_joint" type="fixed">
  43. <parent link="chassis_link" />
  44. <child link="loam_camera" />
  45. <origin xyz="0 0 0" rpy="1.570796 0 1.570796" />
  46. </joint>
  47. </robot>