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.

302 lines
7.3 KiB

  1. <?xml version="1.0"?>
  2. <robot xmlns:xacro="http://www.ros.org/wiki/xacro" name="stretch_gripper">
  3. <xacro:property name="scale_finger_length" value="0.9" />
  4. <link
  5. name="link_gripper">
  6. <inertial>
  7. <origin
  8. xyz="-0.0170229132730066 0.0131410320934285 -0.0371614759484659"
  9. rpy="0 0 0" />
  10. <mass
  11. value="0.101902711393094" />
  12. <inertia
  13. ixx="0.001"
  14. ixy="0"
  15. ixz="0"
  16. iyy="0.001"
  17. iyz="0"
  18. izz="0.001" />
  19. </inertial>
  20. <visual>
  21. <origin
  22. xyz="0 0 0"
  23. rpy="0 0 0" />
  24. <geometry>
  25. <mesh
  26. filename="package://stretch_description/meshes/link_gripper.STL" />
  27. </geometry>
  28. <material
  29. name="">
  30. <color
  31. rgba="0.792156862745098 0.819607843137255 0.933333333333333 1" />
  32. </material>
  33. </visual>
  34. <collision>
  35. <origin
  36. xyz="0 0 0"
  37. rpy="0 0 0" />
  38. <geometry>
  39. <mesh
  40. filename="package://stretch_description/meshes/link_gripper.STL" />
  41. </geometry>
  42. </collision>
  43. </link>
  44. <!-- rpy="3.1416 0 1.5708" -->
  45. <!-- rpy="0.0 0 1.5708" -->
  46. <joint
  47. name="joint_gripper"
  48. type="fixed">
  49. <origin
  50. xyz="0 0 0"
  51. rpy="3.14159 0 -1.5708" />
  52. <parent
  53. link="link_wrist_yaw" />
  54. <child
  55. link="link_gripper" />
  56. <axis
  57. xyz="0 0 0" />
  58. </joint>
  59. <link
  60. name="link_gripper_finger_left">
  61. <inertial>
  62. <origin
  63. xyz="0.0945047483510102 0.0124301080924361 -4.44089209850063E-16"
  64. rpy="0 0 0" />
  65. <mass
  66. value="0.0476207785199474" />
  67. <inertia
  68. ixx="0.001"
  69. ixy="0"
  70. ixz="0"
  71. iyy="0.001"
  72. iyz="0"
  73. izz="0.001" />
  74. </inertial>
  75. <visual>
  76. <origin
  77. xyz="0 0 0"
  78. rpy="0 0 0" />
  79. <geometry>
  80. <mesh
  81. filename="package://stretch_description/meshes/link_gripper_finger_left.STL" scale="${scale_finger_length} 1.0 1.0"/>
  82. </geometry>
  83. <material
  84. name="">
  85. <color
  86. rgba="0.792156862745098 0.819607843137255 0.933333333333333 1" />
  87. </material>
  88. </visual>
  89. <collision>
  90. <origin
  91. xyz="0 0 0"
  92. rpy="0 0 0" />
  93. <geometry>
  94. <mesh
  95. filename="package://stretch_description/meshes/link_gripper_finger_left.STL" scale="${scale_finger_length} 1.0 1.0"/>
  96. </geometry>
  97. </collision>
  98. </link>
  99. <joint
  100. name="joint_gripper_finger_left"
  101. type="revolute">
  102. <origin
  103. xyz="-0.047231 -0.010151 -0.04679"
  104. rpy="2.1762E-15 0.5236 3.1416" />
  105. <parent
  106. link="link_gripper" />
  107. <child
  108. link="link_gripper_finger_left" />
  109. <axis
  110. xyz="0 0 1" />
  111. <limit effort="100" lower="-0.6" upper="0.6" velocity="1.0"/>
  112. </joint>
  113. <link
  114. name="link_gripper_fingertip_left">
  115. <inertial>
  116. <origin
  117. xyz="-3.16381381648689E-08 -2.91408530639359E-09 0.00812579670381812"
  118. rpy="0 0 0" />
  119. <mass
  120. value="0.00382159917455729" />
  121. <inertia
  122. ixx="0.001"
  123. ixy="0"
  124. ixz="0"
  125. iyy="0.001"
  126. iyz="0"
  127. izz="0.001" />
  128. </inertial>
  129. <visual>
  130. <origin
  131. xyz="0 0 0"
  132. rpy="0 0 0" />
  133. <geometry>
  134. <mesh
  135. filename="package://stretch_description/meshes/link_gripper_fingertip_left.STL" />
  136. </geometry>
  137. <material
  138. name="">
  139. <color
  140. rgba="0.250980392156863 0.250980392156863 0.250980392156863 1" />
  141. </material>
  142. </visual>
  143. <collision>
  144. <origin
  145. xyz="0 0 0"
  146. rpy="0 0 0" />
  147. <geometry>
  148. <mesh
  149. filename="package://stretch_description/meshes/link_gripper_fingertip_left.STL" />
  150. </geometry>
  151. </collision>
  152. </link>
  153. <joint
  154. name="joint_gripper_fingertip_left"
  155. type="fixed">
  156. <origin
  157. xyz="${scale_finger_length * 0.19011} 0.014912 0"
  158. rpy="-1.5708 -4.774E-15 -2.5545" />
  159. <parent
  160. link="link_gripper_finger_left" />
  161. <child
  162. link="link_gripper_fingertip_left" />
  163. <axis
  164. xyz="0 0 0" />
  165. </joint>
  166. <link
  167. name="link_gripper_finger_right">
  168. <inertial>
  169. <origin
  170. xyz="-0.0945047483510099 -0.0124301080924345 0"
  171. rpy="0 0 0" />
  172. <mass
  173. value="0.0476207785199481" />
  174. <inertia
  175. ixx="0.001"
  176. ixy="0"
  177. ixz="0"
  178. iyy="0.001"
  179. iyz="0"
  180. izz="0.001" />
  181. </inertial>
  182. <visual>
  183. <origin
  184. xyz="0 0 0"
  185. rpy="0 0 0" />
  186. <geometry>
  187. <mesh
  188. filename="package://stretch_description/meshes/link_gripper_finger_right.STL" scale="${scale_finger_length} 1.0 1.0"/>
  189. </geometry>
  190. <material
  191. name="">
  192. <color
  193. rgba="0.792156862745098 0.819607843137255 0.933333333333333 1" />
  194. </material>
  195. </visual>
  196. <collision>
  197. <origin
  198. xyz="0 0 0"
  199. rpy="0 0 0" />
  200. <geometry>
  201. <mesh
  202. filename="package://stretch_description/meshes/link_gripper_finger_right.STL" scale="${scale_finger_length} 1.0 1.0"/>
  203. </geometry>
  204. </collision>
  205. </link>
  206. <joint
  207. name="joint_gripper_finger_right"
  208. type="revolute">
  209. <origin
  210. xyz="-0.047231 0.010049 -0.04679"
  211. rpy="3.1416 -0.5236 1.2943E-15" />
  212. <parent
  213. link="link_gripper" />
  214. <child
  215. link="link_gripper_finger_right" />
  216. <axis
  217. xyz="0 0 1" />
  218. <limit effort="100" lower="-0.6" upper="0.6" velocity="1.0"/>
  219. </joint>
  220. <link
  221. name="link_gripper_fingertip_right">
  222. <inertial>
  223. <origin
  224. xyz="2.59386303963494E-08 6.70949018566347E-09 0.00812579516130402"
  225. rpy="0 0 0" />
  226. <mass
  227. value="0.00382160037319545" />
  228. <inertia
  229. ixx="0.001"
  230. ixy="0"
  231. ixz="0"
  232. iyy="0.001"
  233. iyz="0"
  234. izz="0.001" />
  235. </inertial>
  236. <visual>
  237. <origin
  238. xyz="0 0 0"
  239. rpy="0 0 0" />
  240. <geometry>
  241. <mesh
  242. filename="package://stretch_description/meshes/link_gripper_fingertip_right.STL" />
  243. </geometry>
  244. <material
  245. name="">
  246. <color
  247. rgba="0.250980392156863 0.250980392156863 0.250980392156863 1" />
  248. </material>
  249. </visual>
  250. <collision>
  251. <origin
  252. xyz="0 0 0"
  253. rpy="0 0 0" />
  254. <geometry>
  255. <mesh
  256. filename="package://stretch_description/meshes/link_gripper_fingertip_right.STL" />
  257. </geometry>
  258. </collision>
  259. </link>
  260. <joint
  261. name="joint_gripper_fingertip_right"
  262. type="fixed">
  263. <origin
  264. xyz="${scale_finger_length * -0.19011} -0.014912 0"
  265. rpy="-1.5708 -2.0539E-15 0.58705" />
  266. <parent
  267. link="link_gripper_finger_right" />
  268. <child
  269. link="link_gripper_fingertip_right" />
  270. <axis
  271. xyz="0 0 0" />
  272. </joint>
  273. <link
  274. name="link_grasp_center">
  275. </link>
  276. <joint
  277. name="joint_grasp_center"
  278. type="fixed">
  279. <origin
  280. xyz="-0.205478 0 -0.138154"
  281. rpy="0 0 3.141579" />
  282. <parent
  283. link="link_gripper" />
  284. <child
  285. link="link_grasp_center" />
  286. </joint>
  287. </robot>