|
1 | 1 | <!-- DO NOT EDIT: Generated from iris.sdf.jinja -->
|
2 |
| -<sdf version='1.7'> |
| 2 | +<sdf version='1.6'> |
3 | 3 | <model name='iris'>
|
4 | 4 | <link name='base_link'>
|
| 5 | + <pose>0 0 0 0 0 0</pose> |
5 | 6 | <inertial>
|
6 | 7 | <pose>0 0 0 0 0 0</pose>
|
7 | 8 | <mass>1.5</mass>
|
|
51 | 52 | <gravity>1</gravity>
|
52 | 53 | <velocity_decay/>
|
53 | 54 | </link>
|
54 |
| - <joint name='/imu_joint' type='revolute'> |
55 |
| - <pose relative_to='base_link'>0 0 0 0 0 0</pose> |
56 |
| - <parent>base_link</parent> |
57 |
| - <child>/imu_link</child> |
58 |
| - <axis> |
59 |
| - <xyz>1 0 0</xyz> |
60 |
| - <limit> |
61 |
| - <lower>0</lower> |
62 |
| - <upper>0</upper> |
63 |
| - <effort>0</effort> |
64 |
| - <velocity>0</velocity> |
65 |
| - </limit> |
66 |
| - <dynamics> |
67 |
| - <spring_reference>0</spring_reference> |
68 |
| - <spring_stiffness>0</spring_stiffness> |
69 |
| - </dynamics> |
70 |
| - </axis> |
71 |
| - </joint> |
72 | 55 | <link name='/imu_link'>
|
73 |
| - <pose relative_to='/imu_joint'>0 0 0 0 0 0</pose> |
| 56 | + <pose>0 0 0 0 0 0</pose> |
74 | 57 | <inertial>
|
75 | 58 | <pose>0 0 0 0 0 0</pose>
|
76 | 59 | <mass>0.015</mass>
|
|
84 | 67 | </inertia>
|
85 | 68 | </inertial>
|
86 | 69 | </link>
|
87 |
| - <joint name='rotor_0_joint' type='revolute'> |
88 |
| - <pose relative_to='base_link'>0.13 -0.22 0.023 0 0 0</pose> |
| 70 | + <joint name='/imu_joint' type='revolute'> |
| 71 | + <child>/imu_link</child> |
89 | 72 | <parent>base_link</parent>
|
90 |
| - <child>rotor_0</child> |
91 | 73 | <axis>
|
92 |
| - <xyz>0 0 1</xyz> |
| 74 | + <xyz>1 0 0</xyz> |
93 | 75 | <limit>
|
94 |
| - <lower>-1e+16</lower> |
95 |
| - <upper>1e+16</upper> |
| 76 | + <lower>0</lower> |
| 77 | + <upper>0</upper> |
| 78 | + <effort>0</effort> |
| 79 | + <velocity>0</velocity> |
96 | 80 | </limit>
|
97 | 81 | <dynamics>
|
98 | 82 | <spring_reference>0</spring_reference>
|
99 | 83 | <spring_stiffness>0</spring_stiffness>
|
100 | 84 | </dynamics>
|
| 85 | + <use_parent_model_frame>1</use_parent_model_frame> |
101 | 86 | </axis>
|
102 | 87 | </joint>
|
103 | 88 | <link name='rotor_0'>
|
104 |
| - <pose relative_to='rotor_0_joint'>0 0 0 0 0 0</pose> |
| 89 | + <pose>0.13 -0.22 0.023 0 0 0</pose> |
105 | 90 | <inertial>
|
106 | 91 | <pose>0 0 0 0 0 0</pose>
|
107 | 92 | <mass>0.005</mass>
|
|
149 | 134 | <gravity>1</gravity>
|
150 | 135 | <velocity_decay/>
|
151 | 136 | </link>
|
152 |
| - <joint name='rotor_1_joint' type='revolute'> |
153 |
| - <pose relative_to='base_link'>-0.13 0.2 0.023 0 0 0</pose> |
| 137 | + <joint name='rotor_0_joint' type='revolute'> |
| 138 | + <child>rotor_0</child> |
154 | 139 | <parent>base_link</parent>
|
155 |
| - <child>rotor_1</child> |
156 | 140 | <axis>
|
157 | 141 | <xyz>0 0 1</xyz>
|
158 | 142 | <limit>
|
|
163 | 147 | <spring_reference>0</spring_reference>
|
164 | 148 | <spring_stiffness>0</spring_stiffness>
|
165 | 149 | </dynamics>
|
| 150 | + <use_parent_model_frame>1</use_parent_model_frame> |
166 | 151 | </axis>
|
167 | 152 | </joint>
|
168 | 153 | <link name='rotor_1'>
|
169 |
| - <pose relative_to='rotor_1_joint'>0 0 0 0 0 0</pose> |
| 154 | + <pose>-0.13 0.2 0.023 0 0 0</pose> |
170 | 155 | <inertial>
|
171 | 156 | <pose>0 0 0 0 0 0</pose>
|
172 | 157 | <mass>0.005</mass>
|
|
214 | 199 | <gravity>1</gravity>
|
215 | 200 | <velocity_decay/>
|
216 | 201 | </link>
|
217 |
| - <joint name='rotor_2_joint' type='revolute'> |
218 |
| - <pose relative_to='base_link'>0.13 0.22 0.023 0 0 0</pose> |
| 202 | + <joint name='rotor_1_joint' type='revolute'> |
| 203 | + <child>rotor_1</child> |
219 | 204 | <parent>base_link</parent>
|
220 |
| - <child>rotor_2</child> |
221 | 205 | <axis>
|
222 | 206 | <xyz>0 0 1</xyz>
|
223 | 207 | <limit>
|
|
228 | 212 | <spring_reference>0</spring_reference>
|
229 | 213 | <spring_stiffness>0</spring_stiffness>
|
230 | 214 | </dynamics>
|
| 215 | + <use_parent_model_frame>1</use_parent_model_frame> |
231 | 216 | </axis>
|
232 | 217 | </joint>
|
233 | 218 | <link name='rotor_2'>
|
234 |
| - <pose relative_to='rotor_2_joint'>0 0 0 0 0 0</pose> |
| 219 | + <pose>0.13 0.22 0.023 0 0 0</pose> |
235 | 220 | <inertial>
|
236 | 221 | <pose>0 0 0 0 0 0</pose>
|
237 | 222 | <mass>0.005</mass>
|
|
279 | 264 | <gravity>1</gravity>
|
280 | 265 | <velocity_decay/>
|
281 | 266 | </link>
|
282 |
| - <joint name='rotor_3_joint' type='revolute'> |
283 |
| - <pose relative_to='base_link'>-0.13 -0.2 0.023 0 0 0</pose> |
| 267 | + <joint name='rotor_2_joint' type='revolute'> |
| 268 | + <child>rotor_2</child> |
284 | 269 | <parent>base_link</parent>
|
285 |
| - <child>rotor_3</child> |
286 | 270 | <axis>
|
287 | 271 | <xyz>0 0 1</xyz>
|
288 | 272 | <limit>
|
|
293 | 277 | <spring_reference>0</spring_reference>
|
294 | 278 | <spring_stiffness>0</spring_stiffness>
|
295 | 279 | </dynamics>
|
| 280 | + <use_parent_model_frame>1</use_parent_model_frame> |
296 | 281 | </axis>
|
297 | 282 | </joint>
|
298 | 283 | <link name='rotor_3'>
|
299 |
| - <pose relative_to='rotor_3_joint'>0 0 0 0 0 0</pose> |
| 284 | + <pose>-0.13 -0.2 0.023 0 0 0</pose> |
300 | 285 | <inertial>
|
301 | 286 | <pose>0 0 0 0 0 0</pose>
|
302 | 287 | <mass>0.005</mass>
|
|
344 | 329 | <gravity>1</gravity>
|
345 | 330 | <velocity_decay/>
|
346 | 331 | </link>
|
| 332 | + <joint name='rotor_3_joint' type='revolute'> |
| 333 | + <child>rotor_3</child> |
| 334 | + <parent>base_link</parent> |
| 335 | + <axis> |
| 336 | + <xyz>0 0 1</xyz> |
| 337 | + <limit> |
| 338 | + <lower>-1e+16</lower> |
| 339 | + <upper>1e+16</upper> |
| 340 | + </limit> |
| 341 | + <dynamics> |
| 342 | + <spring_reference>0</spring_reference> |
| 343 | + <spring_stiffness>0</spring_stiffness> |
| 344 | + </dynamics> |
| 345 | + <use_parent_model_frame>1</use_parent_model_frame> |
| 346 | + </axis> |
| 347 | + </joint> |
347 | 348 | <plugin name='rosbag' filename='libgazebo_multirotor_base_plugin.so'>
|
348 | 349 | <robotNamespace/>
|
349 | 350 | <linkName>base_link</linkName>
|
|
0 commit comments