Advertisement
WintermuteAI

URDF

Sep 18th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. <robot name="test_robot">
  2. <link name="base_cylinder">
  3. <visual>
  4. <geometry>
  5. <mesh filename="package://urdf_tutorial/meshes/base_cylinder.stl" scale ="0.001 0.001 0.001"/>
  6. </geometry>
  7. </visual>
  8. <collision>
  9. <geometry>
  10. <mesh filename="package://urdf_tutorial/meshes/base_cylinder.stl" scale ="0.001 0.001 0.001"/>
  11. </geometry>
  12. </collision>
  13. </link>
  14.  
  15. <link name="platform">
  16. <visual>
  17. <geometry>
  18. <mesh filename="package://urdf_tutorial/meshes/top_plate.stl"/>
  19. </geometry>
  20. </visual>
  21. <collision>
  22. <geometry>
  23. <mesh filename="package://urdf_tutorial/meshes/top_plate.stl"/>
  24. </geometry>
  25. </collision>
  26. </link>
  27.  
  28. <link name="lower_arm">
  29. <visual>
  30. <geometry>
  31. <mesh filename="package://urdf_tutorial/meshes/lower_arm.stl"/>
  32. </geometry>
  33. </visual>
  34. <collision>
  35. <geometry>
  36. <mesh filename="package://urdf_tutorial/meshes/lower_arm.stl"/>
  37. </geometry>
  38. </collision>
  39. </link>
  40.  
  41. <link name="upper_arm">
  42. <visual>
  43. <geometry>
  44. <mesh filename="package://urdf_tutorial/meshes/top_arm.stl"/>
  45. </geometry>
  46. </visual>
  47. <collision>
  48. <geometry>
  49. <mesh filename="package://urdf_tutorial/meshes/top_arm.stl"/>
  50. </geometry>
  51. </collision>
  52. </link>
  53.  
  54. <link name="wrist">
  55. <visual>
  56. <geometry>
  57. <mesh filename="package://urdf_tutorial/meshes/wrist.stl"/>
  58. </geometry>
  59. </visual>
  60. <collision>
  61. <geometry>
  62. <mesh filename="package://urdf_tutorial/meshes/wrist.stl"/>
  63. </geometry>
  64. </collision>
  65. </link>
  66.  
  67. <link name="claw_base">
  68. <visual>
  69. <geometry>
  70. <mesh filename="package://urdf_tutorial/meshes/clawbase.stl"/>
  71. </geometry>
  72. </visual>
  73. <collision>
  74. <geometry>
  75. <mesh filename="package://urdf_tutorial/meshes/clawbase.stl"/>
  76. </geometry>
  77. </collision>
  78. </link>
  79.  
  80. <link name="claw_l">
  81. <visual>
  82. <geometry>
  83. <mesh filename="package://urdf_tutorial/meshes/clawl.stl"/>
  84. </geometry>
  85. </visual>
  86. <collision>
  87. <geometry>
  88. <mesh filename="package://urdf_tutorial/meshes/clawl.stl"/>
  89. </geometry>
  90. </collision>
  91. </link>
  92.  
  93. <link name="claw_r">
  94. <visual>
  95. <geometry>
  96. <mesh filename="package://urdf_tutorial/meshes/clawr.stl"/>
  97. </geometry>
  98. </visual>
  99. <collision>
  100. <geometry>
  101. <mesh filename="package://urdf_tutorial/meshes/clawr.stl"/>
  102. </geometry>
  103. </collision>
  104. </link>
  105.  
  106. <joint name="joint1" type="revolute">
  107. <axis xyz="0 0 1" />
  108. <limit effort="1000.0" lower="-1.708" upper="1.708" velocity="1.0" />
  109. <parent link="base_cylinder"/>
  110. <child link="platform"/>
  111. </joint>
  112.  
  113. <joint name="joint2" type="revolute">
  114. <axis xyz="-1 0 0" />
  115. <limit effort="1000.0" lower="-1.708" upper="1.708" velocity="1.0" />
  116. <origin xyz="0 0 0.093" rpy="0 0 0" />
  117. <parent link="platform"/>
  118. <child link="lower_arm"/>
  119. </joint>
  120.  
  121. <joint name="joint3" type="revolute">
  122. <axis xyz="1 0 0" />
  123. <limit effort="1000.0" lower="-1.708" upper="1.708" velocity="1.0" />
  124. <origin xyz="0 0 0.121" rpy="0 0 0" />
  125. <parent link="lower_arm"/>
  126. <child link="upper_arm"/>
  127. </joint>
  128.  
  129. <joint name="joint4" type="revolute">
  130. <axis xyz="-1 0 0" />
  131. <limit effort="1000.0" lower="-1.708" upper="1.708" velocity="1.0" />
  132. <origin xyz="0 0 0.112" rpy="0 0 0" />
  133. <parent link="upper_arm"/>
  134. <child link="wrist"/>
  135. </joint>
  136.  
  137. <joint name="joint5" type="fixed">
  138. <axis xyz="-1 0 0" />
  139. <origin xyz="0 0 0.112" rpy="0 0 0" />
  140. <parent link="wrist"/>
  141. <child link="claw_base"/>
  142. </joint>
  143.  
  144. <joint name="joint6" type="revolute">
  145. <axis xyz="0 1 0" />
  146. <limit effort="1000.0" lower="-0.15" upper="0.30" velocity="1.0" />
  147. <origin xyz="-0.027 0 0" rpy="0 0 0" />
  148. <parent link="claw_base"/>
  149. <child link="claw_l"/>
  150. </joint>
  151.  
  152. <joint name="joint7" type="revolute">
  153. <axis xyz="0 -1 0" />
  154. <limit effort="1000.0" lower="-0.15" upper="0.30" velocity="1.0" />
  155. <origin xyz="-0.027 0 0" rpy="0 0 0" />
  156. <parent link="claw_base"/>
  157. <child link="claw_r"/>
  158. </joint>
  159.  
  160. </robot>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement