|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <robot xmlns:xacro="http://ros.org/wiki/xacro"> |
3 | | - |
4 | 3 | <!-- |
5 | 4 | Based on the URDF file by Cristian C Beltran-Hernandez |
6 | | - --> |
| 5 | + --> |
7 | 6 |
|
8 | | - <xacro:include filename="$(find robotiq_hande_description)/urdf/materials.xacro" /> |
| 7 | + <xacro:include filename="$(find robotiq_hande_description)/urdf/materials.xacro"/> |
9 | 8 |
|
10 | 9 | <xacro:macro name="robotiq_hande_gripper" params="prefix parent"> |
11 | | - |
12 | 10 | <!-- Robotiq Coupler --> |
13 | 11 | <!-- + Height added by the coupler: 13.9mm --> |
14 | 12 | <!-- + Reference frame: at the middle (6.95mm) --> |
15 | 13 |
|
16 | 14 | <joint name="robotiq_coupler_joint" type="fixed"> |
17 | | - <origin xyz="0 0 0.00695" rpy="0 0 ${-pi/2.0}" /> |
| 15 | + <origin xyz="0 0 0.00695" rpy="0 0 ${-pi/2.0}"/> |
18 | 16 | <parent link="${parent}"/> |
19 | 17 | <child link="${prefix}robotiq_coupler"/> |
20 | 18 | </joint> |
21 | 19 |
|
22 | 20 | <link name="${prefix}robotiq_coupler"> |
23 | 21 | <inertial> |
24 | | - <mass value="0.168" /> |
25 | | - <inertia |
26 | | - ixx="6.17674E-05" ixy="0.0" ixz="0.0" |
27 | | - iyy="6.17674E-05" iyz="0.0" |
28 | | - izz="1.18125E-04" |
29 | | - /> |
| 22 | + <mass value="0.168"/> |
| 23 | + <inertia ixx="6.17674E-05" ixy="0.0" ixz="0.0" iyy="6.17674E-05" iyz="0.0" izz="1.18125E-04"/> |
30 | 24 | </inertial> |
31 | 25 |
|
32 | 26 | <collision> |
|
37 | 31 |
|
38 | 32 | <visual> |
39 | 33 | <geometry> |
40 | | - <mesh filename="package://robotiq_hande_description/meshes/coupler.dae" /> |
| 34 | + <mesh filename="package://robotiq_hande_description/meshes/coupler.dae"/> |
41 | 35 | </geometry> |
42 | | - <material name="DarkGrey" /> |
| 36 | + <material name="DarkGrey"/> |
43 | 37 | </visual> |
44 | 38 | </link> |
45 | 39 |
|
46 | | - |
47 | 40 | <joint name="${prefix}robotiq_hande_base_joint" type="fixed"> |
48 | 41 | <origin rpy="0 0 0" xyz="0 0 0.055"/> |
49 | 42 | <parent link="${prefix}robotiq_coupler"/> |
|
53 | 46 | <link name="${prefix}hande_link"> |
54 | 47 | <inertial> |
55 | 48 | <mass value="0.86387"/> |
56 | | - <inertia |
57 | | - ixx="0.001" ixy="0.0" ixz="0.0" |
58 | | - iyy="0.001" iyz="0.0" |
59 | | - izz="0.0006" |
60 | | - /> |
| 49 | + <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.0006"/> |
61 | 50 | </inertial> |
62 | 51 |
|
63 | 52 | <collision> |
|
75 | 64 | </visual> |
76 | 65 | </link> |
77 | 66 |
|
78 | | - |
79 | 67 | <joint name="${prefix}hande_left_finger_joint" type="prismatic"> |
80 | 68 | <origin rpy="0 0 0" xyz="0 -0.025 0.0345"/> |
81 | 69 | <parent link="${prefix}hande_link"/> |
|
88 | 76 | <inertial> |
89 | 77 | <origin rpy="0 0 0" xyz="0 0 0"/> |
90 | 78 | <mass value="0.03804"/> |
91 | | - <inertia |
92 | | - ixx="1E-9" ixy="0.0" ixz="0.0" |
93 | | - iyy="1E-9" iyz="0.0" |
94 | | - izz="1E-9" |
95 | | - /> |
| 79 | + <inertia ixx="1E-9" ixy="0.0" ixz="0.0" iyy="1E-9" iyz="0.0" izz="1E-9"/> |
96 | 80 | </inertial> |
97 | 81 |
|
98 | 82 | <collision> |
|
111 | 95 | </visual> |
112 | 96 | </link> |
113 | 97 |
|
114 | | - |
115 | 98 | <joint name="${prefix}hande_right_finger_joint" type="prismatic"> |
116 | 99 | <origin rpy="0 0 0" xyz="0 0.025 0.0345"/> |
117 | 100 | <parent link="${prefix}hande_link"/> |
|
125 | 108 | <inertial> |
126 | 109 | <origin rpy="0 0 0" xyz="0 0 0"/> |
127 | 110 | <mass value="0.03804"/> |
128 | | - <inertia |
129 | | - ixx="1E-9" ixy="0.0" ixz="0.0" |
130 | | - iyy="1E-9" iyz="0.0" |
131 | | - izz="1E-9" |
132 | | - /> |
| 111 | + <inertia ixx="1E-9" ixy="0.0" ixz="0.0" iyy="1E-9" iyz="0.0" izz="1E-9"/> |
133 | 112 | </inertial> |
134 | 113 |
|
135 | 114 | <collision> |
|
144 | 123 | <geometry> |
145 | 124 | <mesh filename="package://robotiq_hande_description/meshes/finger.dae" scale="1.0 1.0 1.0"/> |
146 | 125 | </geometry> |
147 | | - <material name="Grey" /> |
| 126 | + <material name="Grey"/> |
148 | 127 | </visual> |
149 | 128 | </link> |
150 | 129 |
|
151 | | - |
152 | 130 | <joint name="${prefix}robotiq_hande_end_joint" type="fixed"> |
153 | 131 | <origin rpy="0 0 0" xyz="0 0 0.095"/> |
154 | 132 | <parent link="${prefix}hande_link"/> |
155 | 133 | <child link="${prefix}hande_end"/> |
156 | 134 | </joint> |
157 | 135 |
|
158 | | - <link name="${prefix}hande_end" /> |
159 | | - |
| 136 | + <link name="${prefix}hande_end"/> |
160 | 137 | </xacro:macro> |
161 | 138 | </robot> |
0 commit comments