Attachment 'robot.xml'
Download 1 <?xml version="1.0" ?>
2 <!-- =================================================================================== -->
3 <!-- | This document was autogenerated by xacro from /etc/ros/cturtle/urdf/pr2_1.2.3.urdf.xacro | -->
4 <!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | -->
5 <!-- =================================================================================== -->
6 <robot name="pr2" xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom" xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#slider" xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" xmlns:xacro="http://ros.org/wiki/xacro">
7 <!-- The following included files set up definitions of parts of the robot body -->
8 <!-- misc common stuff? -->
9 <!-- PR2 Arm -->
10 <!-- PR2 gripper -->
11 <!-- PR2 head -->
12 <!-- PR2 tilting laser mount -->
13 <!-- PR2 torso -->
14 <!-- PR2 base -->
15 <!-- Head sensors -->
16 <!-- Camera sensors -->
17 <!-- Texture projector -->
18 <!-- generic simulator_gazebo plugins for starting mechanism control, ros time, ros battery -->
19 <gazebo>
20 <controller:gazebo_ros_controller_manager name="gazebo_ros_controller_manager" plugin="libgazebo_ros_controller_manager.so">
21 <alwaysOn>true</alwaysOn>
22 <updateRate>1000.0</updateRate>
23 <interface:audio name="gazebo_ros_controller_manager_dummy_iface"/>
24 </controller:gazebo_ros_controller_manager>
25 <controller:gazebo_ros_power_monitor name="gazebo_ros_power_monitor_controller" plugin="libgazebo_ros_power_monitor.so">
26 <alwaysOn>true</alwaysOn>
27 <updateRate>1.0</updateRate>
28 <timeout>5</timeout>
29 <interface:audio name="power_monitor_dummy_interface"/>
30 <powerStateTopic>power_state</powerStateTopic>
31 <powerStateRate>10.0</powerStateRate>
32 <fullChargeCapacity>87.78</fullChargeCapacity>
33 <dischargeRate>-474</dischargeRate>
34 <chargeRate>525</chargeRate>
35 <dischargeVoltage>15.52</dischargeVoltage>
36 <chargeVoltage>16.41</chargeVoltage>
37 </controller:gazebo_ros_power_monitor>
38 </gazebo>
39 <!-- materials for visualization -->
40 <material name="Blue">
41 <color rgba="0.0 0.0 0.8 1.0"/>
42 </material>
43 <material name="Green">
44 <color rgba="0.0 0.8 0.0 1.0"/>
45 </material>
46 <material name="Grey">
47 <color rgba="0.7 0.7 0.7 1.0"/>
48 </material>
49 <material name="Grey2">
50 <color rgba="0.9 0.9 0.9 1.0"/>
51 </material>
52 <material name="Red">
53 <color rgba="0.8 0.0 0.0 1.0"/>
54 </material>
55 <material name="White">
56 <color rgba="1.0 1.0 1.0 1.0"/>
57 </material>
58 <material name="Black">
59 <color rgba="0.1 0.1 0.1 1.0"/>
60 </material>
61 <material name="LightGrey">
62 <color rgba="0.6 0.6 0.6 1.0"/>
63 </material>
64 <material name="Caster">
65 <texture filename="package://pr2_description/materials/textures/pr2_caster_texture.png"/>
66 </material>
67 <material name="Wheel_l">
68 <texture filename="package://pr2_description/materials/textures/pr2_wheel_left.png"/>
69 </material>
70 <material name="Wheel_r">
71 <texture filename="package://pr2_description/materials/textures/pr2_wheel_right.png"/>
72 </material>
73 <material name="RollLinks">
74 <texture filename="package://pr2_description/materials/textures/pr2_wheel_left.png"/>
75 </material>
76 <!-- Now we can start using the macros included above to define the actual PR2 -->
77 <!-- The first use of a macro. This one was defined in base.urdf.xacro above.
78 A macro like this will expand to a set of link and joint definitions, and to additional
79 Gazebo-related extensions (sensor plugins, etc). The macro takes an argument, name,
80 that equals "base", and uses it to generate names for its component links and joints
81 (e.g., base_link). The included origin block is also an argument to the macro. By convention,
82 the origin block defines where the component is w.r.t its parent (in this case the parent
83 is the world frame). For more, see http://www.ros.org/wiki/xacro -->
84 <link name="base_link">
85 <inertial>
86 <mass value="116.0"/>
87 <origin xyz="-0.061 0.0 0.293"/>
88 <inertia ixx="5.652232699207" ixy="-0.009719934438" ixz="1.293988226423" iyy="5.669473158652" iyz="-0.007379583694" izz="3.683196351726"/>
89 </inertial>
90 <visual>
91 <origin rpy="0 0 0" xyz="0 0 0"/>
92 <geometry>
93 <mesh filename="package://pr2_description/meshes/base_v0/base.dae"/>
94 </geometry>
95 <material name="White"/>
96 </visual>
97 <collision>
98 <origin rpy="0 0 0" xyz="0 0 0"/>
99 <geometry>
100 <mesh filename="package://pr2_description/meshes/base_v0/base_L.stl"/>
101 </geometry>
102 </collision>
103 </link>
104 <link name="base_footprint">
105 <inertial>
106 <mass value="1.0"/>
107 <origin xyz="0 0 0"/>
108 <inertia ixx="0.01" ixy="0.0" ixz="0.0" iyy="0.01" iyz="0.0" izz="0.01"/>
109 </inertial>
110 <visual>
111 <origin rpy="0 0 0" xyz="0 0 0"/>
112 <geometry>
113 <box size="0.01 0.01 0.01"/>
114 </geometry>
115 <material name="White"/>
116 </visual>
117 <collision>
118 <!-- represent base collision with a simple rectangular model, positioned by base_size_z s.t. top
119 surface of the collision box matches the top surface of the PR2 base -->
120 <origin rpy="0 0 0" xyz="0 0 0.071"/>
121 <geometry>
122 <box size="0.001 0.001 0.001"/>
123 </geometry>
124 </collision>
125 </link>
126 <joint name="base_footprint_joint" type="fixed">
127 <origin rpy="0 0 0" xyz="0 0 0.051"/>
128 <child link="base_link"/>
129 <parent link="base_footprint"/>
130 </joint>
131 <link name="base_bellow_link">
132 <inertial>
133 <mass value="1.0"/>
134 <origin xyz="0 0 0"/>
135 <inertia ixx="0.01" ixy="0.0" ixz="0.0" iyy="0.01" iyz="0.0" izz="0.01"/>
136 </inertial>
137 <visual>
138 <origin rpy="0 0 0" xyz="0 0 0"/>
139 <geometry>
140 <box size="0.05 0.37 0.3"/>
141 </geometry>
142 <material name="Black"/>
143 </visual>
144 <collision>
145 <origin rpy="0 0 0" xyz="0 0 0"/>
146 <geometry>
147 <box size="0.05 0.37 0.3"/>
148 </geometry>
149 <material name="Black"/>
150 </collision>
151 </link>
152 <joint name="base_bellow_joint" type="fixed">
153 <origin rpy="0 0 0" xyz="-0.29 0 0.8"/>
154 <parent link="base_link"/>
155 <child link="base_bellow_link"/>
156 </joint>
157 <joint name="base_laser_joint" type="fixed">
158 <axis xyz="0 1 0"/>
159 <origin rpy="0 0 0" xyz="0.275 0.0 0.252"/>
160 <parent link="base_link"/>
161 <child link="base_laser_link"/>
162 </joint>
163 <link name="base_laser_link" type="laser">
164 <inertial>
165 <mass value="0.001"/>
166 <origin rpy="0 0 0" xyz="0 0 0"/>
167 <inertia ixx="0.0001" ixy="0" ixz="0" iyy="0.000001" iyz="0" izz="0.0001"/>
168 </inertial>
169 <visual>
170 <origin rpy="0 0 0" xyz="0 0 0"/>
171 <geometry>
172 <box size="0.001 0.001 0.001"/>
173 </geometry>
174 <material name="Red"/>
175 </visual>
176 <collision>
177 <origin rpy="0 0 0" xyz="0 0 0"/>
178 <geometry>
179 <box size=".001 .001 .001"/>
180 </geometry>
181 </collision>
182 </link>
183 <gazebo reference="base_laser_link">
184 <sensor:ray name="base_laser">
185 <rayCount>640</rayCount>
186 <rangeCount>640</rangeCount>
187 <laserCount>1</laserCount>
188 <origin>0.0 0.0 0.0</origin>
189 <displayRays>false</displayRays>
190 <minAngle>-129.998394137</minAngle>
191 <maxAngle>129.998394137</maxAngle>
192 <minRange>0.08</minRange>
193 <maxRange>10.0</maxRange>
194 <resRange>0.01</resRange>
195 <updateRate>20</updateRate>
196 <controller:gazebo_ros_laser name="gazebo_ros_base_laser_controller" plugin="libgazebo_ros_laser.so">
197 <gaussianNoise>0.005</gaussianNoise>
198 <alwaysOn>true</alwaysOn>
199 <updateRate>20</updateRate>
200 <topicName>base_scan</topicName>
201 <frameName>base_laser_link</frameName>
202 <interface:laser name="gazebo_ros_base_laser_iface"/>
203 </controller:gazebo_ros_laser>
204 </sensor:ray>
205 </gazebo>
206 <joint name="fl_caster_rotation_joint" type="continuous">
207 <axis xyz="0 0 1"/>
208 <limit effort="100" velocity="100"/>
209 <!-- alpha tested velocity and effort limits -->
210 <safety_controller k_velocity="10"/>
211 <calibration rising="-0.785398163397"/>
212 <dynamics damping="0.0" friction="0.0"/>
213 <origin rpy="0 0 0" xyz="0.2246 0.2246 0.0282"/>
214 <parent link="base_link"/>
215 <child link="fl_caster_rotation_link"/>
216 </joint>
217 <link name="fl_caster_rotation_link">
218 <inertial>
219 <mass value="3.473082"/>
220 <origin xyz="0 0 0.07"/>
221 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
222 </inertial>
223 <visual>
224 <origin rpy="0 0 0" xyz="0 0 0"/>
225 <geometry>
226 <mesh filename="package://pr2_description/meshes/base_v0/caster.stl"/>
227 </geometry>
228 <material name="Caster"/>
229 </visual>
230 <collision>
231 <origin rpy="0 0 0" xyz="0 0 0"/>
232 <geometry>
233 <mesh filename="package://pr2_description/meshes/base_v0/caster_L.stl"/>
234 </geometry>
235 </collision>
236 </link>
237 <transmission name="fl_caster_rotation_trans" type="pr2_mechanism_model/SimpleTransmission">
238 <actuator name="fl_caster_rotation_motor"/>
239 <joint name="fl_caster_rotation_joint"/>
240 <mechanicalReduction>-79.2380952381</mechanicalReduction>
241 </transmission>
242 <joint name="fl_caster_l_wheel_joint" type="continuous">
243 <axis xyz="0 1 0"/>
244 <limit effort="100" velocity="100"/>
245 <!-- alpha tested effort and velocity limits -->
246 <safety_controller k_velocity="10"/>
247 <dynamics damping="0.0" friction="0.0"/>
248 <origin rpy="0 0 0" xyz="0 0.049 0"/>
249 <parent link="fl_caster_rotation_link"/>
250 <child link="fl_caster_l_wheel_link"/>
251 </joint>
252 <link name="fl_caster_l_wheel_link">
253 <inertial>
254 <mass value="0.44036"/>
255 <origin xyz="0 0 0"/>
256 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
257 </inertial>
258 <visual>
259 <origin rpy="0 0 0" xyz="0 0 0"/>
260 <geometry>
261 <mesh filename="package://pr2_description/meshes/base_v0/wheel.dae"/>
262 </geometry>
263 <material name="Wheel_l"/>
264 </visual>
265 <collision>
266 <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
267 <!-- rotation because cyl. geom primitive has symmetry axis in +x direction -->
268 <geometry>
269 <cylinder length="0.034" radius="0.074792"/>
270 </geometry>
271 </collision>
272 </link>
273 <gazebo reference="fl_caster_l_wheel_link">
274 <mu1 value="100.0"/>
275 <mu2 value="100.0"/>
276 <kp value="1000000.0"/>
277 <kd value="1.0"/>
278 </gazebo>
279 <transmission name="fl_caster_l_wheel_trans" type="pr2_mechanism_model/SimpleTransmission">
280 <actuator name="fl_caster_l_wheel_motor"/>
281 <joint name="fl_caster_l_wheel_joint"/>
282 <mechanicalReduction>79.2380952381</mechanicalReduction>
283 </transmission>
284 <joint name="fl_caster_r_wheel_joint" type="continuous">
285 <axis xyz="0 1 0"/>
286 <limit effort="100" velocity="100"/>
287 <!-- alpha tested effort and velocity limits -->
288 <safety_controller k_velocity="10"/>
289 <dynamics damping="0.0" friction="0.0"/>
290 <origin rpy="0 0 0" xyz="0 -0.049 0"/>
291 <parent link="fl_caster_rotation_link"/>
292 <child link="fl_caster_r_wheel_link"/>
293 </joint>
294 <link name="fl_caster_r_wheel_link">
295 <inertial>
296 <mass value="0.44036"/>
297 <origin xyz="0 0 0"/>
298 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
299 </inertial>
300 <visual>
301 <origin rpy="0 0 0" xyz="0 0 0"/>
302 <geometry>
303 <mesh filename="package://pr2_description/meshes/base_v0/wheel.dae"/>
304 </geometry>
305 <material name="Wheel_r"/>
306 </visual>
307 <collision>
308 <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
309 <!-- rotation because cyl. geom primitive has symmetry axis in +x direction -->
310 <geometry>
311 <cylinder length="0.034" radius="0.074792"/>
312 </geometry>
313 </collision>
314 </link>
315 <gazebo reference="fl_caster_r_wheel_link">
316 <mu1 value="100.0"/>
317 <mu2 value="100.0"/>
318 <kp value="1000000.0"/>
319 <kd value="1.0"/>
320 </gazebo>
321 <transmission name="fl_caster_r_wheel_trans" type="pr2_mechanism_model/SimpleTransmission">
322 <actuator name="fl_caster_r_wheel_motor"/>
323 <joint name="fl_caster_r_wheel_joint"/>
324 <mechanicalReduction>-79.2380952381</mechanicalReduction>
325 </transmission>
326 <gazebo reference="fl_caster_rotation_link">
327 <material value="PR2/caster_texture"/>
328 </gazebo>
329 <joint name="fr_caster_rotation_joint" type="continuous">
330 <axis xyz="0 0 1"/>
331 <limit effort="100" velocity="100"/>
332 <!-- alpha tested velocity and effort limits -->
333 <safety_controller k_velocity="10"/>
334 <calibration rising="-0.785398163397"/>
335 <dynamics damping="0.0" friction="0.0"/>
336 <origin rpy="0 0 0" xyz="0.2246 -0.2246 0.0282"/>
337 <parent link="base_link"/>
338 <child link="fr_caster_rotation_link"/>
339 </joint>
340 <link name="fr_caster_rotation_link">
341 <inertial>
342 <mass value="3.473082"/>
343 <origin xyz="0 0 0.07"/>
344 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
345 </inertial>
346 <visual>
347 <origin rpy="0 0 0" xyz="0 0 0"/>
348 <geometry>
349 <mesh filename="package://pr2_description/meshes/base_v0/caster.stl"/>
350 </geometry>
351 <material name="Caster"/>
352 </visual>
353 <collision>
354 <origin rpy="0 0 0" xyz="0 0 0"/>
355 <geometry>
356 <mesh filename="package://pr2_description/meshes/base_v0/caster_L.stl"/>
357 </geometry>
358 </collision>
359 </link>
360 <transmission name="fr_caster_rotation_trans" type="pr2_mechanism_model/SimpleTransmission">
361 <actuator name="fr_caster_rotation_motor"/>
362 <joint name="fr_caster_rotation_joint"/>
363 <mechanicalReduction>-79.2380952381</mechanicalReduction>
364 </transmission>
365 <joint name="fr_caster_l_wheel_joint" type="continuous">
366 <axis xyz="0 1 0"/>
367 <limit effort="100" velocity="100"/>
368 <!-- alpha tested effort and velocity limits -->
369 <safety_controller k_velocity="10"/>
370 <dynamics damping="0.0" friction="0.0"/>
371 <origin rpy="0 0 0" xyz="0 0.049 0"/>
372 <parent link="fr_caster_rotation_link"/>
373 <child link="fr_caster_l_wheel_link"/>
374 </joint>
375 <link name="fr_caster_l_wheel_link">
376 <inertial>
377 <mass value="0.44036"/>
378 <origin xyz="0 0 0"/>
379 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
380 </inertial>
381 <visual>
382 <origin rpy="0 0 0" xyz="0 0 0"/>
383 <geometry>
384 <mesh filename="package://pr2_description/meshes/base_v0/wheel.dae"/>
385 </geometry>
386 <material name="Wheel_l"/>
387 </visual>
388 <collision>
389 <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
390 <!-- rotation because cyl. geom primitive has symmetry axis in +x direction -->
391 <geometry>
392 <cylinder length="0.034" radius="0.074792"/>
393 </geometry>
394 </collision>
395 </link>
396 <gazebo reference="fr_caster_l_wheel_link">
397 <mu1 value="100.0"/>
398 <mu2 value="100.0"/>
399 <kp value="1000000.0"/>
400 <kd value="1.0"/>
401 </gazebo>
402 <transmission name="fr_caster_l_wheel_trans" type="pr2_mechanism_model/SimpleTransmission">
403 <actuator name="fr_caster_l_wheel_motor"/>
404 <joint name="fr_caster_l_wheel_joint"/>
405 <mechanicalReduction>79.2380952381</mechanicalReduction>
406 </transmission>
407 <joint name="fr_caster_r_wheel_joint" type="continuous">
408 <axis xyz="0 1 0"/>
409 <limit effort="100" velocity="100"/>
410 <!-- alpha tested effort and velocity limits -->
411 <safety_controller k_velocity="10"/>
412 <dynamics damping="0.0" friction="0.0"/>
413 <origin rpy="0 0 0" xyz="0 -0.049 0"/>
414 <parent link="fr_caster_rotation_link"/>
415 <child link="fr_caster_r_wheel_link"/>
416 </joint>
417 <link name="fr_caster_r_wheel_link">
418 <inertial>
419 <mass value="0.44036"/>
420 <origin xyz="0 0 0"/>
421 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
422 </inertial>
423 <visual>
424 <origin rpy="0 0 0" xyz="0 0 0"/>
425 <geometry>
426 <mesh filename="package://pr2_description/meshes/base_v0/wheel.dae"/>
427 </geometry>
428 <material name="Wheel_r"/>
429 </visual>
430 <collision>
431 <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
432 <!-- rotation because cyl. geom primitive has symmetry axis in +x direction -->
433 <geometry>
434 <cylinder length="0.034" radius="0.074792"/>
435 </geometry>
436 </collision>
437 </link>
438 <gazebo reference="fr_caster_r_wheel_link">
439 <mu1 value="100.0"/>
440 <mu2 value="100.0"/>
441 <kp value="1000000.0"/>
442 <kd value="1.0"/>
443 </gazebo>
444 <transmission name="fr_caster_r_wheel_trans" type="pr2_mechanism_model/SimpleTransmission">
445 <actuator name="fr_caster_r_wheel_motor"/>
446 <joint name="fr_caster_r_wheel_joint"/>
447 <mechanicalReduction>-79.2380952381</mechanicalReduction>
448 </transmission>
449 <gazebo reference="fr_caster_rotation_link">
450 <material value="PR2/caster_texture"/>
451 </gazebo>
452 <joint name="bl_caster_rotation_joint" type="continuous">
453 <axis xyz="0 0 1"/>
454 <limit effort="100" velocity="100"/>
455 <!-- alpha tested velocity and effort limits -->
456 <safety_controller k_velocity="10"/>
457 <calibration rising="2.35619449019"/>
458 <dynamics damping="0.0" friction="0.0"/>
459 <origin rpy="0 0 0" xyz="-0.2246 0.2246 0.0282"/>
460 <parent link="base_link"/>
461 <child link="bl_caster_rotation_link"/>
462 </joint>
463 <link name="bl_caster_rotation_link">
464 <inertial>
465 <mass value="3.473082"/>
466 <origin xyz="0 0 0.07"/>
467 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
468 </inertial>
469 <visual>
470 <origin rpy="0 0 0" xyz="0 0 0"/>
471 <geometry>
472 <mesh filename="package://pr2_description/meshes/base_v0/caster.stl"/>
473 </geometry>
474 <material name="Caster"/>
475 </visual>
476 <collision>
477 <origin rpy="0 0 0" xyz="0 0 0"/>
478 <geometry>
479 <mesh filename="package://pr2_description/meshes/base_v0/caster_L.stl"/>
480 </geometry>
481 </collision>
482 </link>
483 <transmission name="bl_caster_rotation_trans" type="pr2_mechanism_model/SimpleTransmission">
484 <actuator name="bl_caster_rotation_motor"/>
485 <joint name="bl_caster_rotation_joint"/>
486 <mechanicalReduction>-79.2380952381</mechanicalReduction>
487 </transmission>
488 <joint name="bl_caster_l_wheel_joint" type="continuous">
489 <axis xyz="0 1 0"/>
490 <limit effort="100" velocity="100"/>
491 <!-- alpha tested effort and velocity limits -->
492 <safety_controller k_velocity="10"/>
493 <dynamics damping="0.0" friction="0.0"/>
494 <origin rpy="0 0 0" xyz="0 0.049 0"/>
495 <parent link="bl_caster_rotation_link"/>
496 <child link="bl_caster_l_wheel_link"/>
497 </joint>
498 <link name="bl_caster_l_wheel_link">
499 <inertial>
500 <mass value="0.44036"/>
501 <origin xyz="0 0 0"/>
502 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
503 </inertial>
504 <visual>
505 <origin rpy="0 0 0" xyz="0 0 0"/>
506 <geometry>
507 <mesh filename="package://pr2_description/meshes/base_v0/wheel.dae"/>
508 </geometry>
509 <material name="Wheel_l"/>
510 </visual>
511 <collision>
512 <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
513 <!-- rotation because cyl. geom primitive has symmetry axis in +x direction -->
514 <geometry>
515 <cylinder length="0.034" radius="0.074792"/>
516 </geometry>
517 </collision>
518 </link>
519 <gazebo reference="bl_caster_l_wheel_link">
520 <mu1 value="100.0"/>
521 <mu2 value="100.0"/>
522 <kp value="1000000.0"/>
523 <kd value="1.0"/>
524 </gazebo>
525 <transmission name="bl_caster_l_wheel_trans" type="pr2_mechanism_model/SimpleTransmission">
526 <actuator name="bl_caster_l_wheel_motor"/>
527 <joint name="bl_caster_l_wheel_joint"/>
528 <mechanicalReduction>79.2380952381</mechanicalReduction>
529 </transmission>
530 <joint name="bl_caster_r_wheel_joint" type="continuous">
531 <axis xyz="0 1 0"/>
532 <limit effort="100" velocity="100"/>
533 <!-- alpha tested effort and velocity limits -->
534 <safety_controller k_velocity="10"/>
535 <dynamics damping="0.0" friction="0.0"/>
536 <origin rpy="0 0 0" xyz="0 -0.049 0"/>
537 <parent link="bl_caster_rotation_link"/>
538 <child link="bl_caster_r_wheel_link"/>
539 </joint>
540 <link name="bl_caster_r_wheel_link">
541 <inertial>
542 <mass value="0.44036"/>
543 <origin xyz="0 0 0"/>
544 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
545 </inertial>
546 <visual>
547 <origin rpy="0 0 0" xyz="0 0 0"/>
548 <geometry>
549 <mesh filename="package://pr2_description/meshes/base_v0/wheel.dae"/>
550 </geometry>
551 <material name="Wheel_r"/>
552 </visual>
553 <collision>
554 <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
555 <!-- rotation because cyl. geom primitive has symmetry axis in +x direction -->
556 <geometry>
557 <cylinder length="0.034" radius="0.074792"/>
558 </geometry>
559 </collision>
560 </link>
561 <gazebo reference="bl_caster_r_wheel_link">
562 <mu1 value="100.0"/>
563 <mu2 value="100.0"/>
564 <kp value="1000000.0"/>
565 <kd value="1.0"/>
566 </gazebo>
567 <transmission name="bl_caster_r_wheel_trans" type="pr2_mechanism_model/SimpleTransmission">
568 <actuator name="bl_caster_r_wheel_motor"/>
569 <joint name="bl_caster_r_wheel_joint"/>
570 <mechanicalReduction>-79.2380952381</mechanicalReduction>
571 </transmission>
572 <gazebo reference="bl_caster_rotation_link">
573 <material value="PR2/caster_texture"/>
574 </gazebo>
575 <joint name="br_caster_rotation_joint" type="continuous">
576 <axis xyz="0 0 1"/>
577 <limit effort="100" velocity="100"/>
578 <!-- alpha tested velocity and effort limits -->
579 <safety_controller k_velocity="10"/>
580 <calibration rising="2.35619449019"/>
581 <dynamics damping="0.0" friction="0.0"/>
582 <origin rpy="0 0 0" xyz="-0.2246 -0.2246 0.0282"/>
583 <parent link="base_link"/>
584 <child link="br_caster_rotation_link"/>
585 </joint>
586 <link name="br_caster_rotation_link">
587 <inertial>
588 <mass value="3.473082"/>
589 <origin xyz="0 0 0.07"/>
590 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
591 </inertial>
592 <visual>
593 <origin rpy="0 0 0" xyz="0 0 0"/>
594 <geometry>
595 <mesh filename="package://pr2_description/meshes/base_v0/caster.stl"/>
596 </geometry>
597 <material name="Caster"/>
598 </visual>
599 <collision>
600 <origin rpy="0 0 0" xyz="0 0 0"/>
601 <geometry>
602 <mesh filename="package://pr2_description/meshes/base_v0/caster_L.stl"/>
603 </geometry>
604 </collision>
605 </link>
606 <transmission name="br_caster_rotation_trans" type="pr2_mechanism_model/SimpleTransmission">
607 <actuator name="br_caster_rotation_motor"/>
608 <joint name="br_caster_rotation_joint"/>
609 <mechanicalReduction>-79.2380952381</mechanicalReduction>
610 </transmission>
611 <joint name="br_caster_l_wheel_joint" type="continuous">
612 <axis xyz="0 1 0"/>
613 <limit effort="100" velocity="100"/>
614 <!-- alpha tested effort and velocity limits -->
615 <safety_controller k_velocity="10"/>
616 <dynamics damping="0.0" friction="0.0"/>
617 <origin rpy="0 0 0" xyz="0 0.049 0"/>
618 <parent link="br_caster_rotation_link"/>
619 <child link="br_caster_l_wheel_link"/>
620 </joint>
621 <link name="br_caster_l_wheel_link">
622 <inertial>
623 <mass value="0.44036"/>
624 <origin xyz="0 0 0"/>
625 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
626 </inertial>
627 <visual>
628 <origin rpy="0 0 0" xyz="0 0 0"/>
629 <geometry>
630 <mesh filename="package://pr2_description/meshes/base_v0/wheel.dae"/>
631 </geometry>
632 <material name="Wheel_l"/>
633 </visual>
634 <collision>
635 <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
636 <!-- rotation because cyl. geom primitive has symmetry axis in +x direction -->
637 <geometry>
638 <cylinder length="0.034" radius="0.074792"/>
639 </geometry>
640 </collision>
641 </link>
642 <gazebo reference="br_caster_l_wheel_link">
643 <mu1 value="100.0"/>
644 <mu2 value="100.0"/>
645 <kp value="1000000.0"/>
646 <kd value="1.0"/>
647 </gazebo>
648 <transmission name="br_caster_l_wheel_trans" type="pr2_mechanism_model/SimpleTransmission">
649 <actuator name="br_caster_l_wheel_motor"/>
650 <joint name="br_caster_l_wheel_joint"/>
651 <mechanicalReduction>79.2380952381</mechanicalReduction>
652 </transmission>
653 <joint name="br_caster_r_wheel_joint" type="continuous">
654 <axis xyz="0 1 0"/>
655 <limit effort="100" velocity="100"/>
656 <!-- alpha tested effort and velocity limits -->
657 <safety_controller k_velocity="10"/>
658 <dynamics damping="0.0" friction="0.0"/>
659 <origin rpy="0 0 0" xyz="0 -0.049 0"/>
660 <parent link="br_caster_rotation_link"/>
661 <child link="br_caster_r_wheel_link"/>
662 </joint>
663 <link name="br_caster_r_wheel_link">
664 <inertial>
665 <mass value="0.44036"/>
666 <origin xyz="0 0 0"/>
667 <inertia ixx="0.012411765597" ixy="-0.000711733678" ixz="0.00050272983" iyy="0.015218160428" iyz="-0.000004273467" izz="0.011763977943"/>
668 </inertial>
669 <visual>
670 <origin rpy="0 0 0" xyz="0 0 0"/>
671 <geometry>
672 <mesh filename="package://pr2_description/meshes/base_v0/wheel.dae"/>
673 </geometry>
674 <material name="Wheel_r"/>
675 </visual>
676 <collision>
677 <origin rpy="1.57079632679 0 0" xyz="0 0 0"/>
678 <!-- rotation because cyl. geom primitive has symmetry axis in +x direction -->
679 <geometry>
680 <cylinder length="0.034" radius="0.074792"/>
681 </geometry>
682 </collision>
683 </link>
684 <gazebo reference="br_caster_r_wheel_link">
685 <mu1 value="100.0"/>
686 <mu2 value="100.0"/>
687 <kp value="1000000.0"/>
688 <kd value="1.0"/>
689 </gazebo>
690 <transmission name="br_caster_r_wheel_trans" type="pr2_mechanism_model/SimpleTransmission">
691 <actuator name="br_caster_r_wheel_motor"/>
692 <joint name="br_caster_r_wheel_joint"/>
693 <mechanicalReduction>-79.2380952381</mechanicalReduction>
694 </transmission>
695 <gazebo reference="br_caster_rotation_link">
696 <material value="PR2/caster_texture"/>
697 </gazebo>
698 <gazebo reference="base_link">
699 <selfCollide>false</selfCollide>
700 <sensor:contact name="base_contact_sensor">
701 <geom>base_link_geom</geom>
702 <updateRate>100.0</updateRate>
703 <controller:gazebo_ros_bumper name="base_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
704 <alwaysOn>true</alwaysOn>
705 <updateRate>100.0</updateRate>
706 <bumperTopicName>base_bumper</bumperTopicName>
707 <interface:bumper name="base_bumper_iface"/>
708 </controller:gazebo_ros_bumper>
709 </sensor:contact>
710 </gazebo>
711 <gazebo reference="base_bellow_link">
712 <material value="PR2/Black"/>
713 </gazebo>
714 <gazebo>
715 <controller:gazebo_ros_p3d name="p3d_base_controller" plugin="libgazebo_ros_p3d.so">
716 <alwaysOn>true</alwaysOn>
717 <updateRate>100.0</updateRate>
718 <bodyName>base_link</bodyName>
719 <topicName>base_pose_ground_truth</topicName>
720 <gaussianNoise>0.01</gaussianNoise>
721 <frameName>map</frameName>
722 <xyzOffsets>25.7 25.7 0</xyzOffsets>
723 <!-- initialize odometry for fake localization-->
724 <rpyOffsets>0 0 0</rpyOffsets>
725 <interface:position name="p3d_base_position"/>
726 </controller:gazebo_ros_p3d>
727 <canonicalBody>base_footprint</canonicalBody>
728 </gazebo>
729 <joint name="torso_lift_joint" type="prismatic">
730 <axis xyz="0 0 1"/>
731 <limit effort="10000" lower="0.0" upper="0.31" velocity="0.013"/>
732 <!-- alpha tested velocity and effort limits -->
733 <safety_controller k_position="100" k_velocity="2000000" soft_lower_limit="0.0115" soft_upper_limit="0.305"/>
734 <calibration falling="0.00536"/>
735 <dynamics damping="20000.0"/>
736 <!-- strictly tuned for sim only right now -->
737 <origin rpy="0 0 0" xyz="-0.05 0 0.739675"/>
738 <parent link="base_link"/>
739 <child link="torso_lift_link"/>
740 </joint>
741 <link name="torso_lift_link">
742 <inertial>
743 <mass value="36.248046"/>
744 <origin xyz="-0.1 0 -0.0885"/>
745 <inertia ixx="2.771653750257" ixy="0.004284522609" ixz="-0.160418504506" iyy="2.510019507959" iyz="0.029664468704" izz="0.526432355569"/>
746 </inertial>
747 <visual>
748 <origin rpy="0 0 0" xyz="0 0 0"/>
749 <geometry>
750 <mesh filename="package://pr2_description/meshes/torso_v0/torso_lift.dae"/>
751 </geometry>
752 <material name="Grey2"/>
753 </visual>
754 <collision name="torso_lift_collision">
755 <origin rpy="0 0 0" xyz="0 0 0"/>
756 <geometry>
757 <mesh filename="package://pr2_description/meshes/torso_v0/torso_lift_L.stl"/>
758 </geometry>
759 </collision>
760 </link>
761 <gazebo reference="torso_lift_link">
762 <sensor:contact name="torso_lift_contact_sensor">
763 <geom>torso_lift_link_geom</geom>
764 <updateRate>100.0</updateRate>
765 <controller:gazebo_ros_bumper name="torso_lift_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
766 <alwaysOn>true</alwaysOn>
767 <updateRate>100.0</updateRate>
768 <bumperTopicName>torso_lift_bumper</bumperTopicName>
769 <interface:bumper name="torso_lift_gazebo_ros_bumper_iface"/>
770 </controller:gazebo_ros_bumper>
771 </sensor:contact>
772 </gazebo>
773 <transmission name="torso_lift_trans" type="pr2_mechanism_model/SimpleTransmission">
774 <actuator name="torso_lift_motor"/>
775 <joint name="torso_lift_joint"/>
776 <mechanicalReduction>-52143.33</mechanicalReduction>
777 </transmission>
778 <joint name="imu_joint" type="fixed">
779 <axis xyz="0 1 0"/>
780 <origin rpy="0 3.14159265359 0" xyz="-0.02977 -0.1497 0.164"/>
781 <parent link="torso_lift_link"/>
782 <child link="imu_link"/>
783 </joint>
784 <link name="imu_link">
785 <inertial>
786 <mass value="0.001"/>
787 <origin rpy="0 0 0" xyz="0 0 0"/>
788 <inertia ixx="0.0001" ixy="0" ixz="0" iyy="0.000001" iyz="0" izz="0.0001"/>
789 </inertial>
790 <visual>
791 <origin rpy="0 0 0" xyz="0 0 0"/>
792 <geometry>
793 <box size="0.001 0.001 0.001"/>
794 </geometry>
795 <material name="Red"/>
796 </visual>
797 <collision>
798 <origin rpy="0 0 0" xyz="0 0 0"/>
799 <geometry>
800 <box size=".001 .001 .001"/>
801 </geometry>
802 </collision>
803 </link>
804 <gazebo>
805 <controller:gazebo_ros_imu name="imu_controller" plugin="libgazebo_ros_imu.so">
806 <alwaysOn>true</alwaysOn>
807 <updateRate>100.0</updateRate>
808 <bodyName>imu_link</bodyName>
809 <topicName>torso_lift_imu/data</topicName>
810 <gaussianNoise>2.89e-08</gaussianNoise>
811 <xyzOffsets>0 0 0</xyzOffsets>
812 <rpyOffsets>0 0 0</rpyOffsets>
813 <interface:position name="imu_position"/>
814 </controller:gazebo_ros_imu>
815 </gazebo>
816 <!-- The xacro preprocesser will replace the parameters below, such as ${cal_head_x}, with
817 numerical values that were specified in common.xacro which was included above -->
818 <joint name="head_pan_joint" type="revolute">
819 <axis xyz="0 0 1"/>
820 <limit effort="2.645" lower="-3.007" upper="3.007" velocity="6"/>
821 <!-- alpha tested velocity and effort limits -->
822 <safety_controller k_position="100" k_velocity="1.5" soft_lower_limit="-2.857" soft_upper_limit="2.857"/>
823 <calibration rising="-0.0030066220"/>
824 <dynamics damping="1.0"/>
825 <origin rpy="0.0000000000 0.0000000000 0.0000000000" xyz="-0.0170700000 0.0000000000 0.3814500000"/>
826 <parent link="torso_lift_link"/>
827 <child link="head_pan_link"/>
828 </joint>
829 <link name="head_pan_link">
830 <inertial>
831 <mass value="6.339"/>
832 <!-- mass/cog/moi updated per 100505_link_data.xls -->
833 <origin rpy="0 0 0" xyz="0.010907 0.031693 0.090507"/>
834 <inertia ixx="0.032497592" ixy="0.00063604088" ixz="0.0025851534" iyy="0.046545627" iyz="-0.0024534295" izz="0.057652724"/>
835 </inertial>
836 <visual>
837 <origin rpy="0 0 0 " xyz="0 0 0.0"/>
838 <geometry>
839 <mesh filename="package://pr2_description/meshes/head_v0/head_pan.dae"/>
840 </geometry>
841 <material name="Blue"/>
842 </visual>
843 <collision>
844 <geometry>
845 <mesh filename="package://pr2_description/meshes/head_v0/head_pan_L.stl"/>
846 </geometry>
847 </collision>
848 </link>
849 <xacro:pr2_head_pan_gazebo_v0 name="head_pan"/>
850 <transmission name="head_pan_trans" type="pr2_mechanism_model/SimpleTransmission">
851 <actuator name="head_pan_motor"/>
852 <joint name="head_pan_joint"/>
853 <mechanicalReduction>6.0</mechanicalReduction>
854 </transmission>
855 <joint name="head_tilt_joint" type="revolute">
856 <axis xyz="0 1 0"/>
857 <limit effort="15" lower="-0.471238" upper="1.39626" velocity="5"/>
858 <!-- alpha tested velocity and effort limits -->
859 <safety_controller k_position="100" k_velocity="1.5" soft_lower_limit="-0.3712" soft_upper_limit="1.29626"/>
860 <calibration falling="0.0"/>
861 <dynamics damping="1.0"/>
862 <origin rpy="0 0 0" xyz="0.068 0 0"/>
863 <parent link="head_pan_link"/>
864 <child link="head_tilt_link"/>
865 </joint>
866 <link name="head_tilt_link">
867 <inertial>
868 <mass value="4.479"/>
869 <!-- mass/cog/moi updated per 100505_link_data.xls -->
870 <origin rpy="0 0 0" xyz="0.001716 -0.019556 0.055002"/>
871 <inertia ixx="0.024223222" ixy="0.00062063507" ixz="-0.000096909696" iyy="0.054723086" iyz="0.00279702400" izz="0.067306377"/>
872 </inertial>
873 <visual>
874 <origin rpy="0.0 0.0 0.0" xyz="0 0 0"/>
875 <geometry>
876 <mesh filename="package://pr2_description/meshes/head_v0/head_tilt.dae"/>
877 </geometry>
878 <material name="Green"/>
879 </visual>
880 <collision>
881 <origin rpy="0.0 0.0 0.0" xyz="0 0 0"/>
882 <geometry>
883 <mesh filename="package://pr2_description/meshes/head_v0/head_tilt_L.stl"/>
884 </geometry>
885 </collision>
886 </link>
887 <xacro:pr2_head_tilt_gazebo_v0 name="head_tilt"/>
888 <transmission name="head_tilt_trans" type="pr2_mechanism_model/SimpleTransmission">
889 <actuator name="head_tilt_motor"/>
890 <joint name="head_tilt_joint"/>
891 <mechanicalReduction>6.0</mechanicalReduction>
892 </transmission>
893 <joint name="head_plate_frame_joint" type="fixed">
894 <origin rpy="0.0000000000 0.0000000000 0.0000000000" xyz="0.0232000000 0.0000000000 0.0645000000"/>
895 <parent link="head_tilt_link"/>
896 <child link="head_plate_frame"/>
897 </joint>
898 <link name="head_plate_frame">
899 <inertial>
900 <mass value="0.01"/>
901 <origin rpy="0 0 0" xyz="0 0 0"/>
902 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
903 </inertial>
904 <visual>
905 <origin rpy="0 0 0" xyz="0 0 0"/>
906 <geometry>
907 <box size="0.01 0.01 0.01"/>
908 </geometry>
909 <material name="Blue"/>
910 </visual>
911 <collision>
912 <origin rpy="0 0 0" xyz="0 0 0"/>
913 <geometry>
914 <box size="0.01 0.01 0.01"/>
915 </geometry>
916 </collision>
917 </link>
918 <gazebo reference="head_plate_frame">
919 <material value="Gazebo/Grey"/>
920 </gazebo>
921 <!-- Camera package: double stereo, prosilica -->
922 <joint name="sensor_mount_frame_joint" type="fixed">
923 <origin rpy="0 0 0" xyz="0.0 0.0 0.0"/>
924 <parent link="head_plate_frame"/>
925 <child link="sensor_mount_link"/>
926 </joint>
927 <link name="sensor_mount_link">
928 <inertial>
929 <!-- Needs verification with CAD -->
930 <mass value="0.05"/>
931 <origin rpy="0 0 0" xyz="0 0 0"/>
932 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.01"/>
933 </inertial>
934 <!-- Should probably get real visuals here at some point -->
935 <visual>
936 <origin rpy="0 0 0" xyz="0 0 0"/>
937 <geometry>
938 <box size="0.01 0.01 0.01"/>
939 </geometry>
940 <material name="Blue"/>
941 </visual>
942 <collision name="sensor_mount_sensor_collision">
943 <origin rpy="0 0 0" xyz="0 0 0"/>
944 <geometry>
945 <box size="0.01 0.01 0.01"/>
946 </geometry>
947 </collision>
948 </link>
949 <joint name="high_def_frame_joint" type="fixed">
950 <origin rpy="0.0034749658 -0.0111072730 -0.0001664935" xyz="0.0372404905 -0.1077927001 0.0531484491"/>
951 <parent link="sensor_mount_link"/>
952 <child link="high_def_frame"/>
953 </joint>
954 <link name="high_def_frame">
955 <inertial>
956 <mass value="0.01"/>
957 <origin rpy="0 0 0" xyz="0 0 0"/>
958 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
959 </inertial>
960 <visual>
961 <!-- bogus values for visual aesthetics -->
962 <origin rpy="0 0 0" xyz="-0.02 0 0"/>
963 <geometry>
964 <box size="0.04 0.04 0.04"/>
965 </geometry>
966 <material name="Blue"/>
967 </visual>
968 </link>
969 <joint name="high_def_optical_frame_joint" type="fixed">
970 <origin rpy="-1.5707963268 -0.0000000000 -1.5707963268" xyz="0.0000000000 0.0000000000 0.0000000000"/>
971 <parent link="high_def_frame"/>
972 <child link="high_def_optical_frame"/>
973 </joint>
974 <link name="high_def_optical_frame">
975 <inertial>
976 <mass value="0.01"/>
977 <origin rpy="0 0 0" xyz="0 0 0"/>
978 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
979 </inertial>
980 <visual>
981 <!-- bogus values for visual aesthetics -->
982 <origin rpy="0 0 1.57079632679" xyz="0 0 0"/>
983 <geometry>
984 <cylinder length="0.05" radius="0.02"/>
985 </geometry>
986 <material name="Blue"/>
987 </visual>
988 </link>
989 <gazebo reference="high_def_frame">
990 <sensor:camera name="high_def_sensor">
991 <imageFormat>R8G8B8</imageFormat>
992 <imageSize>2448 2050</imageSize>
993 <hfov>45</hfov>
994 <nearClip>0.1</nearClip>
995 <farClip>100</farClip>
996 <updateRate>20.0</updateRate>
997 <controller:gazebo_ros_prosilica name="high_def_controller" plugin="libgazebo_ros_prosilica.so">
998 <alwaysOn>true</alwaysOn>
999 <updateRate>20.0</updateRate>
1000 <imageTopicName>/prosilica/image_raw</imageTopicName>
1001 <cameraInfoTopicName>/prosilica/camera_info</cameraInfoTopicName>
1002 <pollServiceName>/prosilica/request_image</pollServiceName>
1003 <frameName>high_def_frame</frameName>
1004 <CxPrime>1224.5</CxPrime>
1005 <Cx>1224.5</Cx>
1006 <Cy>1025.5</Cy>
1007 <focal_length>2955</focal_length>
1008 <!-- image_width / (2*tan(hfov_radian /2)) -->
1009 <distortion_k1>0.00000001</distortion_k1>
1010 <distortion_k2>0.00000001</distortion_k2>
1011 <distortion_k3>0.00000001</distortion_k3>
1012 <distortion_t1>0.00000001</distortion_t1>
1013 <distortion_t2>0.00000001</distortion_t2>
1014 <interface:camera name="high_def_iface"/>
1015 </controller:gazebo_ros_prosilica>
1016 </sensor:camera>
1017 <material value="Gazebo/Black"/>
1018 </gazebo>
1019 <joint name="openni_rgb_frame_joint" type="fixed">
1020 <origin rpy="0.0074253744 0.0418016634 -0.0065419807" xyz="0.0440562178 -0.0135760086 0.1129906398"/>
1021 <parent link="head_plate_frame"/>
1022 <child link="openni_rgb_frame"/>
1023 </joint>
1024 <link name="openni_rgb_frame">
1025 <inertial>
1026 <mass value="0.01"/>
1027 <origin xyz="0 0 0"/>
1028 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
1029 </inertial>
1030 <visual>
1031 <origin rpy="0 0 0" xyz="0 0 0"/>
1032 <geometry>
1033 <box size="0.01 0.01 0.01"/>
1034 </geometry>
1035 </visual>
1036 </link>
1037 <joint name="openni_rgb_optical_frame_joint" type="fixed">
1038 <origin rpy="-1.5707963268 -0.0000000000 -1.5707963268" xyz="0.0000000000 0.0000000000 0.0000000000"/>
1039 <parent link="openni_rgb_frame"/>
1040 <child link="openni_rgb_optical_frame"/>
1041 </joint>
1042 <link name="openni_rgb_optical_frame"/>
1043 <joint name="double_stereo_frame_joint" type="fixed">
1044 <origin rpy="0.0000000000 0.0000000000 0.0000000000" xyz="0.0000000000 0.0000000000 0.0030000000"/>
1045 <parent link="sensor_mount_link"/>
1046 <child link="double_stereo_link"/>
1047 </joint>
1048 <link name="double_stereo_link">
1049 <inertial>
1050 <!-- Needs verification with CAD -->
1051 <mass value="0.1"/>
1052 <origin rpy="0 0 0" xyz="0 0 0"/>
1053 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.01"/>
1054 </inertial>
1055 <!-- Should probably get real visuals here at some point -->
1056 <visual>
1057 <origin rpy="0 0 0" xyz="-0.01 0 0.025"/>
1058 <geometry>
1059 <box size="0.02 0.12 0.05"/>
1060 </geometry>
1061 <material name="Blue"/>
1062 </visual>
1063 </link>
1064 <joint name="wide_stereo_frame_joint" type="fixed">
1065 <origin rpy="-0.0053478589 -0.0087286297 0.0354971987" xyz="0.0322454930 0.0293881417 0.0450685898"/>
1066 <parent link="double_stereo_link"/>
1067 <child link="wide_stereo_link"/>
1068 </joint>
1069 <link name="wide_stereo_link">
1070 <inertial>
1071 <mass value="0.1"/>
1072 <origin rpy="0 0 0" xyz="0 0 0"/>
1073 <inertia ixx="0.01" ixy="0" ixz="0" iyy="0.01" iyz="0" izz="0.01"/>
1074 <!-- this inertia is made up for now. -->
1075 </inertial>
1076 <visual>
1077 <origin rpy="0 0 0" xyz="0 0 0"/>
1078 <geometry>
1079 <box size="0.001 0.001 0.001"/>
1080 </geometry>
1081 <material name="Blue"/>
1082 </visual>
1083 <collision>
1084 <origin rpy="0 0 0" xyz="0 0 0"/>
1085 <geometry>
1086 <box size="0.001 0.001 0.001"/>
1087 </geometry>
1088 </collision>
1089 </link>
1090 <joint name="wide_stereo_optical_frame_joint" type="fixed">
1091 <origin rpy="-1.5707963268 -0.0000000000 -1.5707963268" xyz="0.0000000000 0.0000000000 0.0000000000"/>
1092 <!-- rotate frame from x-forward to z-forward camera coords -->
1093 <parent link="wide_stereo_link"/>
1094 <child link="wide_stereo_optical_frame"/>
1095 </joint>
1096 <link name="wide_stereo_optical_frame" type="camera"/>
1097 <joint name="wide_stereo_gazebo_l_stereo_camera_frame_joint" type="fixed">
1098 <origin rpy="0 0 0" xyz="0 0 0"/>
1099 <parent link="wide_stereo_link"/>
1100 <child link="wide_stereo_gazebo_l_stereo_camera_frame"/>
1101 </joint>
1102 <link name="wide_stereo_gazebo_l_stereo_camera_frame">
1103 <inertial>
1104 <mass value="0.01"/>
1105 <origin xyz="0 0 0"/>
1106 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
1107 </inertial>
1108 <visual>
1109 <origin rpy="0 0 0" xyz="0 0 0"/>
1110 <geometry>
1111 <box size="0.01 0.01 0.01"/>
1112 </geometry>
1113 </visual>
1114 </link>
1115 <joint name="wide_stereo_gazebo_l_stereo_camera_optical_frame_joint" type="fixed">
1116 <origin rpy="-1.57079632679 0.0 -1.57079632679" xyz="0 0 0"/>
1117 <parent link="wide_stereo_gazebo_l_stereo_camera_frame"/>
1118 <child link="wide_stereo_gazebo_l_stereo_camera_optical_frame"/>
1119 </joint>
1120 <link name="wide_stereo_gazebo_l_stereo_camera_optical_frame"/>
1121 <gazebo reference="wide_stereo_gazebo_l_stereo_camera_frame">
1122 <sensor:camera name="wide_stereo_gazebo_l_stereo_camera_sensor">
1123 <imageSize>640 480</imageSize>
1124 <imageFormat>BAYER_BGGR8</imageFormat>
1125 <hfov>90</hfov>
1126 <nearClip>0.1</nearClip>
1127 <farClip>100</farClip>
1128 <updateRate>25.0</updateRate>
1129 <controller:gazebo_ros_camera name="wide_stereo_gazebo_l_stereo_camera_controller" plugin="libgazebo_ros_camera.so">
1130 <alwaysOn>true</alwaysOn>
1131 <updateRate>25.0</updateRate>
1132 <imageTopicName>wide_stereo/left/image_raw</imageTopicName>
1133 <cameraInfoTopicName>wide_stereo/left/camera_info</cameraInfoTopicName>
1134 <frameName>wide_stereo_optical_frame</frameName>
1135 <hackBaseline>0</hackBaseline>
1136 <CxPrime>320.5</CxPrime>
1137 <Cx>320.5</Cx>
1138 <Cy>240.5</Cy>
1139 <!-- image_width / (2*tan(hfov_radian /2)) -->
1140 <!-- 320 for wide and 772.55 for narrow stereo camera -->
1141 <focal_length>320</focal_length>
1142 <distortion_k1>0.00000001</distortion_k1>
1143 <distortion_k2>0.00000001</distortion_k2>
1144 <distortion_k3>0.00000001</distortion_k3>
1145 <distortion_t1>0.00000001</distortion_t1>
1146 <distortion_t2>0.00000001</distortion_t2>
1147 <interface:camera name="wide_stereo_gazebo_l_stereo_camera_iface"/>
1148 </controller:gazebo_ros_camera>
1149 </sensor:camera>
1150 <turnGravityOff>true</turnGravityOff>
1151 <material>PR2/Blue</material>
1152 </gazebo>
1153 <joint name="wide_stereo_gazebo_r_stereo_camera_frame_joint" type="fixed">
1154 <origin rpy="0.0 0.0 0.0" xyz="0.0 -0.09 0.0"/>
1155 <parent link="wide_stereo_gazebo_l_stereo_camera_frame"/>
1156 <child link="wide_stereo_gazebo_r_stereo_camera_frame"/>
1157 </joint>
1158 <link name="wide_stereo_gazebo_r_stereo_camera_frame">
1159 <inertial>
1160 <mass value="0.01"/>
1161 <origin xyz="0 0 0"/>
1162 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
1163 </inertial>
1164 <visual>
1165 <origin rpy="0 0 0" xyz="0 0 0"/>
1166 <geometry>
1167 <box size="0.01 0.01 0.01"/>
1168 </geometry>
1169 </visual>
1170 </link>
1171 <joint name="wide_stereo_gazebo_r_stereo_camera_optical_frame_joint" type="fixed">
1172 <origin rpy="-1.57079632679 0.0 -1.57079632679" xyz="0 0 0"/>
1173 <parent link="wide_stereo_gazebo_r_stereo_camera_frame"/>
1174 <child link="wide_stereo_gazebo_r_stereo_camera_optical_frame"/>
1175 </joint>
1176 <link name="wide_stereo_gazebo_r_stereo_camera_optical_frame"/>
1177 <gazebo reference="wide_stereo_gazebo_r_stereo_camera_frame">
1178 <sensor:camera name="wide_stereo_gazebo_r_stereo_camera_sensor">
1179 <imageSize>640 480</imageSize>
1180 <imageFormat>BAYER_BGGR8</imageFormat>
1181 <hfov>90</hfov>
1182 <nearClip>0.1</nearClip>
1183 <farClip>100</farClip>
1184 <updateRate>25.0</updateRate>
1185 <controller:gazebo_ros_camera name="wide_stereo_gazebo_r_stereo_camera_controller" plugin="libgazebo_ros_camera.so">
1186 <alwaysOn>true</alwaysOn>
1187 <updateRate>25.0</updateRate>
1188 <imageTopicName>wide_stereo/right/image_raw</imageTopicName>
1189 <cameraInfoTopicName>wide_stereo/right/camera_info</cameraInfoTopicName>
1190 <frameName>wide_stereo_optical_frame</frameName>
1191 <hackBaseline>0.09</hackBaseline>
1192 <CxPrime>320.5</CxPrime>
1193 <Cx>320.5</Cx>
1194 <Cy>240.5</Cy>
1195 <!-- image_width / (2*tan(hfov_radian /2)) -->
1196 <!-- 320 for wide and 772.55 for narrow stereo camera -->
1197 <focal_length>320</focal_length>
1198 <distortion_k1>0.00000001</distortion_k1>
1199 <distortion_k2>0.00000001</distortion_k2>
1200 <distortion_k3>0.00000001</distortion_k3>
1201 <distortion_t1>0.00000001</distortion_t1>
1202 <distortion_t2>0.00000001</distortion_t2>
1203 <interface:camera name="wide_stereo_gazebo_r_stereo_camera_iface"/>
1204 </controller:gazebo_ros_camera>
1205 </sensor:camera>
1206 <turnGravityOff>true</turnGravityOff>
1207 <material>PR2/Blue</material>
1208 </gazebo>
1209 <gazebo reference="wide_stereo_link">
1210 <material value="PR2/Blue"/>
1211 <turnGravityOff value="true"/>
1212 </gazebo>
1213 <gazebo reference="wide_stereo_optical_frame">
1214 <material value="Gazebo/White"/>
1215 <turnGravityOff value="true"/>
1216 </gazebo>
1217 <joint name="narrow_stereo_frame_joint" type="fixed">
1218 <origin rpy="0.0038639279 -0.0037974656 -0.0052984489" xyz="0.0322626816 0.0594697245 0.0459636645"/>
1219 <parent link="double_stereo_link"/>
1220 <child link="narrow_stereo_link"/>
1221 </joint>
1222 <link name="narrow_stereo_link">
1223 <inertial>
1224 <mass value="0.1"/>
1225 <origin rpy="0 0 0" xyz="0 0 0"/>
1226 <inertia ixx="0.01" ixy="0" ixz="0" iyy="0.01" iyz="0" izz="0.01"/>
1227 <!-- this inertia is made up for now. -->
1228 </inertial>
1229 <visual>
1230 <origin rpy="0 0 0" xyz="0 0 0"/>
1231 <geometry>
1232 <box size="0.001 0.001 0.001"/>
1233 </geometry>
1234 <material name="Blue"/>
1235 </visual>
1236 <collision>
1237 <origin rpy="0 0 0" xyz="0 0 0"/>
1238 <geometry>
1239 <box size="0.001 0.001 0.001"/>
1240 </geometry>
1241 </collision>
1242 </link>
1243 <joint name="narrow_stereo_optical_frame_joint" type="fixed">
1244 <origin rpy="-1.5707963268 -0.0000000000 -1.5707963268" xyz="0.0000000000 0.0000000000 0.0000000000"/>
1245 <!-- rotate frame from x-forward to z-forward camera coords -->
1246 <parent link="narrow_stereo_link"/>
1247 <child link="narrow_stereo_optical_frame"/>
1248 </joint>
1249 <link name="narrow_stereo_optical_frame" type="camera"/>
1250 <joint name="narrow_stereo_gazebo_l_stereo_camera_frame_joint" type="fixed">
1251 <origin rpy="0 0 0" xyz="0 0 0"/>
1252 <parent link="narrow_stereo_link"/>
1253 <child link="narrow_stereo_gazebo_l_stereo_camera_frame"/>
1254 </joint>
1255 <link name="narrow_stereo_gazebo_l_stereo_camera_frame">
1256 <inertial>
1257 <mass value="0.01"/>
1258 <origin xyz="0 0 0"/>
1259 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
1260 </inertial>
1261 <visual>
1262 <origin rpy="0 0 0" xyz="0 0 0"/>
1263 <geometry>
1264 <box size="0.01 0.01 0.01"/>
1265 </geometry>
1266 </visual>
1267 </link>
1268 <joint name="narrow_stereo_gazebo_l_stereo_camera_optical_frame_joint" type="fixed">
1269 <origin rpy="-1.57079632679 0.0 -1.57079632679" xyz="0 0 0"/>
1270 <parent link="narrow_stereo_gazebo_l_stereo_camera_frame"/>
1271 <child link="narrow_stereo_gazebo_l_stereo_camera_optical_frame"/>
1272 </joint>
1273 <link name="narrow_stereo_gazebo_l_stereo_camera_optical_frame"/>
1274 <gazebo reference="narrow_stereo_gazebo_l_stereo_camera_frame">
1275 <sensor:camera name="narrow_stereo_gazebo_l_stereo_camera_sensor">
1276 <imageSize>640 480</imageSize>
1277 <imageFormat>L8</imageFormat>
1278 <hfov>45</hfov>
1279 <nearClip>0.1</nearClip>
1280 <farClip>100</farClip>
1281 <updateRate>25.0</updateRate>
1282 <controller:gazebo_ros_camera name="narrow_stereo_gazebo_l_stereo_camera_controller" plugin="libgazebo_ros_camera.so">
1283 <alwaysOn>true</alwaysOn>
1284 <updateRate>25.0</updateRate>
1285 <imageTopicName>narrow_stereo/left/image_raw</imageTopicName>
1286 <cameraInfoTopicName>narrow_stereo/left/camera_info</cameraInfoTopicName>
1287 <frameName>narrow_stereo_optical_frame</frameName>
1288 <hackBaseline>0</hackBaseline>
1289 <CxPrime>320.5</CxPrime>
1290 <Cx>320.5</Cx>
1291 <Cy>240.5</Cy>
1292 <!-- image_width / (2*tan(hfov_radian /2)) -->
1293 <!-- 320 for wide and 772.55 for narrow stereo camera -->
1294 <focal_length>772.55</focal_length>
1295 <distortion_k1>0.00000001</distortion_k1>
1296 <distortion_k2>0.00000001</distortion_k2>
1297 <distortion_k3>0.00000001</distortion_k3>
1298 <distortion_t1>0.00000001</distortion_t1>
1299 <distortion_t2>0.00000001</distortion_t2>
1300 <interface:camera name="narrow_stereo_gazebo_l_stereo_camera_iface"/>
1301 </controller:gazebo_ros_camera>
1302 </sensor:camera>
1303 <turnGravityOff>true</turnGravityOff>
1304 <material>PR2/Blue</material>
1305 </gazebo>
1306 <joint name="narrow_stereo_gazebo_r_stereo_camera_frame_joint" type="fixed">
1307 <origin rpy="0.0 0.0 0.0" xyz="0.0 -0.09 0.0"/>
1308 <parent link="narrow_stereo_gazebo_l_stereo_camera_frame"/>
1309 <child link="narrow_stereo_gazebo_r_stereo_camera_frame"/>
1310 </joint>
1311 <link name="narrow_stereo_gazebo_r_stereo_camera_frame">
1312 <inertial>
1313 <mass value="0.01"/>
1314 <origin xyz="0 0 0"/>
1315 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
1316 </inertial>
1317 <visual>
1318 <origin rpy="0 0 0" xyz="0 0 0"/>
1319 <geometry>
1320 <box size="0.01 0.01 0.01"/>
1321 </geometry>
1322 </visual>
1323 </link>
1324 <joint name="narrow_stereo_gazebo_r_stereo_camera_optical_frame_joint" type="fixed">
1325 <origin rpy="-1.57079632679 0.0 -1.57079632679" xyz="0 0 0"/>
1326 <parent link="narrow_stereo_gazebo_r_stereo_camera_frame"/>
1327 <child link="narrow_stereo_gazebo_r_stereo_camera_optical_frame"/>
1328 </joint>
1329 <link name="narrow_stereo_gazebo_r_stereo_camera_optical_frame"/>
1330 <gazebo reference="narrow_stereo_gazebo_r_stereo_camera_frame">
1331 <sensor:camera name="narrow_stereo_gazebo_r_stereo_camera_sensor">
1332 <imageSize>640 480</imageSize>
1333 <imageFormat>L8</imageFormat>
1334 <hfov>45</hfov>
1335 <nearClip>0.1</nearClip>
1336 <farClip>100</farClip>
1337 <updateRate>25.0</updateRate>
1338 <controller:gazebo_ros_camera name="narrow_stereo_gazebo_r_stereo_camera_controller" plugin="libgazebo_ros_camera.so">
1339 <alwaysOn>true</alwaysOn>
1340 <updateRate>25.0</updateRate>
1341 <imageTopicName>narrow_stereo/right/image_raw</imageTopicName>
1342 <cameraInfoTopicName>narrow_stereo/right/camera_info</cameraInfoTopicName>
1343 <frameName>narrow_stereo_optical_frame</frameName>
1344 <hackBaseline>0.09</hackBaseline>
1345 <CxPrime>320.5</CxPrime>
1346 <Cx>320.5</Cx>
1347 <Cy>240.5</Cy>
1348 <!-- image_width / (2*tan(hfov_radian /2)) -->
1349 <!-- 320 for wide and 772.55 for narrow stereo camera -->
1350 <focal_length>772.55</focal_length>
1351 <distortion_k1>0.00000001</distortion_k1>
1352 <distortion_k2>0.00000001</distortion_k2>
1353 <distortion_k3>0.00000001</distortion_k3>
1354 <distortion_t1>0.00000001</distortion_t1>
1355 <distortion_t2>0.00000001</distortion_t2>
1356 <interface:camera name="narrow_stereo_gazebo_r_stereo_camera_iface"/>
1357 </controller:gazebo_ros_camera>
1358 </sensor:camera>
1359 <turnGravityOff>true</turnGravityOff>
1360 <material>PR2/Blue</material>
1361 </gazebo>
1362 <gazebo reference="narrow_stereo_link">
1363 <material value="PR2/Blue"/>
1364 <turnGravityOff value="true"/>
1365 </gazebo>
1366 <gazebo reference="narrow_stereo_optical_frame">
1367 <material value="Gazebo/White"/>
1368 <turnGravityOff value="true"/>
1369 </gazebo>
1370 <gazebo reference="double_stereo_double_stereo_link">
1371 <material value="PR2/Blue"/>
1372 </gazebo>
1373 <gazebo reference="sensor_mount_sensor_link">
1374 <material value="PR2/Blue"/>
1375 </gazebo>
1376 <!-- Projector -->
1377 <joint name="projector_wg6802418_frame_joint" type="fixed">
1378 <origin rpy="0 0 0" xyz="0 0.109 0.035"/>
1379 <parent link="head_plate_frame"/>
1380 <child link="projector_wg6802418_frame"/>
1381 </joint>
1382 <link name="projector_wg6802418_frame">
1383 <inertial>
1384 <mass value="0.01"/>
1385 <origin rpy="0 0 0" xyz="0 0 0"/>
1386 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
1387 </inertial>
1388 <visual>
1389 <!-- bogus values for visual aesthetics -->
1390 <origin rpy="0 0 0" xyz="-0.02 0 0"/>
1391 <geometry>
1392 <box size="0.04 0.04 0.04"/>
1393 </geometry>
1394 <material name="Blue"/>
1395 </visual>
1396 <collision>
1397 <origin rpy="0 0 0" xyz="0 0 0"/>
1398 <geometry>
1399 <box size="0.01 0.01 0.01"/>
1400 </geometry>
1401 </collision>
1402 </link>
1403 <joint name="projector_wg6802418_child_frame_joint" type="fixed">
1404 <origin rpy="0 -1.57079632679 0" xyz="0 0 0"/>
1405 <parent link="projector_wg6802418_frame"/>
1406 <child link="projector_wg6802418_child_frame"/>
1407 </joint>
1408 <link name="projector_wg6802418_child_frame">
1409 <inertial>
1410 <mass value="0.01"/>
1411 <origin rpy="0 0 0" xyz="0 0 0"/>
1412 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
1413 </inertial>
1414 <visual>
1415 <origin rpy="0 0 1.57079632679" xyz="0 0 0"/>
1416 <geometry>
1417 <cylinder length="0.05" radius="0.02"/>
1418 </geometry>
1419 <material name="Red"/>
1420 </visual>
1421 <collision>
1422 <origin rpy="0 0 0" xyz="0 0 0"/>
1423 <geometry>
1424 <box size="0.01 0.01 0.01"/>
1425 </geometry>
1426 </collision>
1427 </link>
1428 <gazebo>
1429 <controller:gazebo_ros_projector name="projector_wg6802418_controller" plugin="libgazebo_ros_projector.so">
1430 <alwaysOn>true</alwaysOn>
1431 <updateRate>15.0</updateRate>
1432 <textureName>stereo_projection_pattern_high_res_red.png</textureName>
1433 <bodyName>projector_wg6802418_child_frame</bodyName>
1434 <filterTextureName>stereo_projection_pattern_filter.png</filterTextureName>
1435 <textureTopicName>projector_wg6802418_controller/image</textureTopicName>
1436 <projectorTopicName>projector_wg6802418_controller/projector</projectorTopicName>
1437 <fov>0.785398163397</fov>
1438 <nearClipDist>0.4</nearClipDist>
1439 <farClipDist>10</farClipDist>
1440 </controller:gazebo_ros_projector>
1441 </gazebo>
1442 <joint name="laser_tilt_mount_joint" type="revolute">
1443 <axis xyz="0 1 0"/>
1444 <limit effort="0.65" lower="-0.7854" upper="1.48353" velocity="10.0"/>
1445 <!-- alpha tested velocity and effort limits -->
1446 <safety_controller k_position="100" k_velocity="0.05" soft_lower_limit="-0.7354" soft_upper_limit="1.43353"/>
1447 <calibration falling="0.0"/>
1448 <dynamics damping="0.008"/>
1449 <origin rpy="0.0000000000 -0.0138076772 0.0000000000" xyz="0.0989300000 0.0000000000 0.2270000000"/>
1450 <parent link="torso_lift_link"/>
1451 <child link="laser_tilt_mount_link"/>
1452 </joint>
1453 <link name="laser_tilt_mount_link">
1454 <inertial>
1455 <mass value="0.05"/>
1456 <origin rpy="0 0 0" xyz="-0.03 0 -0.03"/>
1457 <inertia ixx="0.0001" ixy="0" ixz="0" iyy="0.00001" iyz="0" izz="0.0001"/>
1458 </inertial>
1459 <visual>
1460 <origin rpy="0 0 0" xyz="0 0 0"/>
1461 <geometry>
1462 <mesh filename="package://pr2_description/meshes/tilting_laser_v0/tilting_hokuyo.dae"/>
1463 </geometry>
1464 <material name="Red"/>
1465 </visual>
1466 <collision>
1467 <origin rpy="0 0 0" xyz="0 0 0"/>
1468 <geometry>
1469 <mesh filename="package://pr2_description/meshes/tilting_laser_v0/tilting_hokuyo_L.stl"/>
1470 </geometry>
1471 </collision>
1472 </link>
1473 <joint name="laser_tilt_joint" type="fixed">
1474 <axis xyz="0 1 0"/>
1475 <origin rpy="0.0000000000 0.0000000000 -0.0061921883" xyz="0.0000000000 0.0000000000 0.0314703166"/>
1476 <parent link="laser_tilt_mount_link"/>
1477 <child link="laser_tilt_link"/>
1478 </joint>
1479 <link name="laser_tilt_link" type="laser">
1480 <inertial>
1481 <mass value="0.001"/>
1482 <origin rpy="0 0 0" xyz="0 0 0"/>
1483 <inertia ixx="0.0001" ixy="0" ixz="0" iyy="0.000001" iyz="0" izz="0.0001"/>
1484 </inertial>
1485 <visual>
1486 <origin rpy="0 0 0" xyz="0 0 0"/>
1487 <geometry>
1488 <box size="0.001 0.001 0.001"/>
1489 </geometry>
1490 <material name="Red"/>
1491 </visual>
1492 <collision>
1493 <origin rpy="0 0 0" xyz="0 0 0"/>
1494 <geometry>
1495 <box size=".001 .001 .001"/>
1496 </geometry>
1497 </collision>
1498 </link>
1499 <gazebo reference="laser_tilt_link">
1500 <sensor:ray name="laser_tilt">
1501 <rayCount>640</rayCount>
1502 <rangeCount>640</rangeCount>
1503 <laserCount>1</laserCount>
1504 <origin>0.0 0.0 0.0</origin>
1505 <displayRays>false</displayRays>
1506 <minAngle>-79.9999999086</minAngle>
1507 <maxAngle>79.9999999086</maxAngle>
1508 <minRange>0.08</minRange>
1509 <maxRange>10.0</maxRange>
1510 <resRange>0.01</resRange>
1511 <updateRate>40</updateRate>
1512 <controller:gazebo_ros_laser name="gazebo_ros_laser_tilt_controller" plugin="libgazebo_ros_laser.so">
1513 <gaussianNoise>0.005</gaussianNoise>
1514 <alwaysOn>true</alwaysOn>
1515 <updateRate>40</updateRate>
1516 <topicName>tilt_scan</topicName>
1517 <frameName>laser_tilt_link</frameName>
1518 <interface:laser name="gazebo_ros_laser_tilt_iface"/>
1519 </controller:gazebo_ros_laser>
1520 </sensor:ray>
1521 </gazebo>
1522 <gazebo reference="laser_tilt_mount_link">
1523 </gazebo>
1524 <transmission name="laser_tilt_mount_trans" type="pr2_mechanism_model/SimpleTransmission">
1525 <actuator name="laser_tilt_mount_motor"/>
1526 <joint name="laser_tilt_mount_joint"/>
1527 <mechanicalReduction>-6.050000000000</mechanicalReduction>
1528 </transmission>
1529 <!-- This is a common convention, to use a reflect parameter that equals +-1 to distinguish left from right -->
1530 <joint name="r_shoulder_pan_joint" type="revolute">
1531 <axis xyz="0 0 1"/>
1532 <origin rpy="0.0000000000 0.0000000000 0.0000000000" xyz="0.0000000000 -0.1880000000 0.0000000000"/>
1533 <!-- transform from parent link to this joint frame -->
1534 <parent link="torso_lift_link"/>
1535 <child link="r_shoulder_pan_link"/>
1536 <limit effort="30" lower="-2.2853981634" upper="0.714601836603" velocity="2.088"/>
1537 <!-- alpha tested velocity and effort limits -->
1538 <dynamics damping="10.0"/>
1539 <safety_controller k_position="100" k_velocity="10" soft_lower_limit="-2.1353981634" soft_upper_limit="0.564601836603"/>
1540 <!-- joint angle when the rising or the falling flag is activated on PR2 -->
1541 <calibration rising="-0.7787534066"/>
1542 </joint>
1543 <link name="r_shoulder_pan_link">
1544 <inertial>
1545 <mass value="25.799322"/>
1546 <origin rpy="0 0 0" xyz="-0.001201 0.024513 -0.098231"/>
1547 <inertia ixx="0.866179142480" ixy="-0.06086507933" ixz="-0.12118061183" iyy="0.87421714893" iyz="-0.05886609911" izz="0.27353821674"/>
1548 </inertial>
1549 <visual>
1550 <origin rpy="0 0 0" xyz="0 0 0"/>
1551 <geometry>
1552 <mesh filename="package://pr2_description/meshes/shoulder_v0/shoulder_pan.dae"/>
1553 </geometry>
1554 <material name="Blue"/>
1555 </visual>
1556 <collision>
1557 <origin rpy="0 0 0" xyz="0.0 0 0.0"/>
1558 <geometry>
1559 <mesh filename="package://pr2_description/meshes/shoulder_v0/shoulder_pan.stl"/>
1560 </geometry>
1561 </collision>
1562 </link>
1563 <joint name="r_shoulder_lift_joint" type="revolute">
1564 <axis xyz="0 1 0"/>
1565 <!-- Limits updated from Function's CAD values as of 2009_02_24 (link_data.xls) -->
1566 <limit effort="30" lower="-0.5236" upper="1.3963" velocity="2.082"/>
1567 <!-- alpha tested velocity and effort limits -->
1568 <safety_controller k_position="100" k_velocity="10" soft_lower_limit="-0.3536" soft_upper_limit="1.2963"/>
1569 <calibration falling="-0.0103209931"/>
1570 <dynamics damping="10.0"/>
1571 <origin rpy="0 0 0" xyz="0.1 0 0"/>
1572 <parent link="r_shoulder_pan_link"/>
1573 <child link="r_shoulder_lift_link"/>
1574 </joint>
1575 <link name="r_shoulder_lift_link">
1576 <inertial>
1577 <mass value="2.74988"/>
1578 <origin rpy="0 0 0" xyz="0.02195 -0.02664 -0.03127"/>
1579 <inertia ixx="0.02105584615" ixy="0.00496704022" ixz="-0.00194808955" iyy="0.02127223737" iyz="0.00110425490" izz="0.01975753814"/>
1580 </inertial>
1581 <visual>
1582 <origin rpy="0 0 0" xyz="0 0 0"/>
1583 <geometry>
1584 <mesh filename="package://pr2_description/meshes/shoulder_v0/shoulder_lift.dae"/>
1585 </geometry>
1586 <material name="Grey"/>
1587 </visual>
1588 <collision>
1589 <origin rpy="0 0 0" xyz="0 0 0"/>
1590 <geometry>
1591 <mesh filename="package://pr2_description/meshes/shoulder_v0/shoulder_lift.stl"/>
1592 </geometry>
1593 </collision>
1594 </link>
1595 <joint name="r_upper_arm_roll_joint" type="revolute">
1596 <axis xyz="1 0 0"/>
1597 <origin rpy="0 0 0" xyz="0 0 0"/>
1598 <parent link="r_shoulder_lift_link"/>
1599 <child link="r_upper_arm_roll_link"/>
1600 <limit effort="30" lower="-3.9" upper="0.8" velocity="3.27"/>
1601 <!-- alpha tested velocity and effort limits -->
1602 <safety_controller k_position="100" k_velocity="2" soft_lower_limit="-3.75" soft_upper_limit="0.65"/>
1603 <calibration rising="-1.5542178510"/>
1604 <dynamics damping="0.1"/>
1605 </joint>
1606 <link name="r_upper_arm_roll_link">
1607 <inertial>
1608 <!-- dummy mass, to be removed -->
1609 <mass value="0.1"/>
1610 <origin rpy="0 0 0" xyz="0.0 0 0"/>
1611 <inertia ixx="0.01" ixy="0.00" ixz="0.00" iyy="0.01" iyz="0.00" izz="0.01"/>
1612 </inertial>
1613 <visual>
1614 <!-- TODO: This component doesn't actually have a mesh -->
1615 <origin rpy="0 0 0" xyz="0 0 0"/>
1616 <geometry>
1617 <mesh filename="package://pr2_description/meshes/shoulder_v0/upper_arm_roll.stl"/>
1618 </geometry>
1619 <material name="RollLinks"/>
1620 </visual>
1621 <collision>
1622 <origin rpy="0 0 0" xyz="0 0 0"/>
1623 <geometry>
1624 <mesh filename="package://pr2_description/meshes/shoulder_v0/upper_arm_roll_L.stl"/>
1625 </geometry>
1626 </collision>
1627 </link>
1628 <gazebo reference="r_upper_arm_roll_link">
1629 <material value="PR2/RollLinks"/>
1630 <turnGravityOff>true</turnGravityOff>
1631 </gazebo>
1632 <gazebo reference="r_upper_arm_roll_joint">
1633 <stopKd value="1.0"/>
1634 <stopKp value="1000000.0"/>
1635 <fudgeFactor value="0.5"/>
1636 </gazebo>
1637 <transmission name="r_upper_arm_roll_trans" type="pr2_mechanism_model/SimpleTransmission">
1638 <actuator name="r_upper_arm_roll_motor"/>
1639 <joint name="r_upper_arm_roll_joint"/>
1640 <mechanicalReduction>32.6525111499</mechanicalReduction>
1641 </transmission>
1642 <gazebo reference="r_shoulder_pan_link">
1643 <turnGravityOff>true</turnGravityOff>
1644 </gazebo>
1645 <gazebo reference="r_shoulder_pan_joint">
1646 <stopKd value="1.0"/>
1647 <stopKp value="1000000.0"/>
1648 </gazebo>
1649 <gazebo reference="r_shoulder_lift_link">
1650 <turnGravityOff>true</turnGravityOff>
1651 </gazebo>
1652 <gazebo reference="r_shoulder_lift_joint">
1653 <stopKd value="1.0"/>
1654 <stopKp value="1000000.0"/>
1655 </gazebo>
1656 <transmission name="r_shoulder_pan_trans" type="pr2_mechanism_model/SimpleTransmission">
1657 <actuator name="r_shoulder_pan_motor"/>
1658 <joint name="r_shoulder_pan_joint"/>
1659 <mechanicalReduction>63.1552452977</mechanicalReduction>
1660 </transmission>
1661 <transmission name="r_shoulder_lift_trans" type="pr2_mechanism_model/SimpleTransmission">
1662 <actuator name="r_shoulder_lift_motor"/>
1663 <joint name="r_shoulder_lift_joint"/>
1664 <mechanicalReduction>61.8948225713</mechanicalReduction>
1665 </transmission>
1666 <joint name="r_upper_arm_joint" type="fixed">
1667 <origin rpy="0 0 0" xyz="0 0 0"/>
1668 <parent link="r_upper_arm_roll_link"/>
1669 <child link="r_upper_arm_link"/>
1670 </joint>
1671 <link name="r_upper_arm_link">
1672 <inertial>
1673 <!-- NOTE:reflect==-1 for right side, reflect==1 for the left side -->
1674 <mass value="6.01769"/>
1675 <origin xyz="0.21398 -0.01621 -0.0002"/>
1676 <inertia ixx="0.01537748957" ixy="0.00375711247" ixz="-0.00070852914" iyy="0.0747367044" iyz="-0.0001793645" izz="0.07608763307"/>
1677 </inertial>
1678 <visual>
1679 <origin rpy="0 0 0" xyz="0 0 0"/>
1680 <geometry>
1681 <mesh filename="package://pr2_description/meshes/upper_arm_v0/upper_arm.dae"/>
1682 </geometry>
1683 <material name="Green"/>
1684 </visual>
1685 <collision>
1686 <origin rpy="0 0 0" xyz="0 0 0"/>
1687 <geometry>
1688 <mesh filename="package://pr2_description/meshes/upper_arm_v0/upper_arm.stl"/>
1689 </geometry>
1690 </collision>
1691 </link>
1692 <gazebo reference="r_upper_arm_link">
1693 <turnGravityOff>true</turnGravityOff>
1694 </gazebo>
1695 <joint name="r_forearm_roll_joint" type="continuous">
1696 <axis xyz="1 0 0"/>
1697 <limit effort="30" velocity="3.6"/>
1698 <!-- alpha tested velocity and effort limits -->
1699 <safety_controller k_velocity="1"/>
1700 <calibration rising="-0.0144739489"/>
1701 <dynamics damping="0.1"/>
1702 <origin rpy="0 0 0" xyz="0 0 0"/>
1703 <parent link="r_elbow_flex_link"/>
1704 <child link="r_forearm_roll_link"/>
1705 </joint>
1706 <link name="r_forearm_roll_link">
1707 <inertial>
1708 <!-- dummy masses, to be removed -->
1709 <mass value="0.1"/>
1710 <origin xyz="0 0 0"/>
1711 <inertia ixx="0.01" ixy="0.00" ixz="0.00" iyy="0.01" iyz="0.00" izz="0.01"/>
1712 </inertial>
1713 <visual>
1714 <origin rpy="0 0 0" xyz="0 0 0"/>
1715 <geometry>
1716 <mesh filename="package://pr2_description/meshes/upper_arm_v0/forearm_roll.stl"/>
1717 </geometry>
1718 <material name="RollLinks"/>
1719 </visual>
1720 <!-- TODO: collision tag should be optional -->
1721 <collision>
1722 <origin rpy="0 0 0" xyz="0 0 0"/>
1723 <geometry>
1724 <mesh filename="package://pr2_description/meshes/upper_arm_v0/forearm_roll_L.stl"/>
1725 </geometry>
1726 </collision>
1727 </link>
1728 <gazebo reference="r_forearm_roll_link">
1729 <material value="PR2/RollLinks"/>
1730 <turnGravityOff>true</turnGravityOff>
1731 </gazebo>
1732 <gazebo reference="r_forearm_roll_joint">
1733 <fudgeFactor value="0.5"/>
1734 </gazebo>
1735 <transmission name="r_forearm_roll_trans" type="pr2_mechanism_model/SimpleTransmission">
1736 <actuator name="r_forearm_roll_motor"/>
1737 <joint name="r_forearm_roll_joint"/>
1738 <mechanicalReduction>-90.5142857143</mechanicalReduction>
1739 </transmission>
1740 <joint name="r_elbow_flex_joint" type="revolute">
1741 <axis xyz="0 1 0"/>
1742 <!-- Note: Overtravel limits are 140, -7 degrees instead of 133, 0 -->
1743 <limit effort="30" lower="-2.3213" upper="0.00" velocity="3.3"/>
1744 <!-- alpha tested velocity and effort limits -->
1745 <safety_controller k_position="100" k_velocity="3" soft_lower_limit="-2.1213" soft_upper_limit="-0.15"/>
1746 <calibration falling="-1.1654196832"/>
1747 <dynamics damping="1.0"/>
1748 <origin rpy="0 0 0" xyz="0.4 0 0"/>
1749 <parent link="r_upper_arm_link"/>
1750 <child link="r_elbow_flex_link"/>
1751 </joint>
1752 <link name="r_elbow_flex_link">
1753 <inertial>
1754 <mass value="1.90327"/>
1755 <origin xyz="0.01014 0.00032 -0.01211"/>
1756 <inertia ixx="0.00346541989" ixy="0.00004066825" ixz="0.00043171614" iyy="0.00441606455" iyz="-0.00003968914" izz="0.00359156824"/>
1757 </inertial>
1758 <visual>
1759 <origin rpy="0 0 0" xyz="0 0 0"/>
1760 <geometry>
1761 <mesh filename="package://pr2_description/meshes/upper_arm_v0/elbow_flex.dae"/>
1762 </geometry>
1763 <material name="Grey"/>
1764 </visual>
1765 <collision>
1766 <origin rpy="0 0 0" xyz="0 0 0"/>
1767 <geometry>
1768 <mesh filename="package://pr2_description/meshes/upper_arm_v0/elbow_flex.stl"/>
1769 </geometry>
1770 </collision>
1771 </link>
1772 <gazebo reference="r_elbow_flex_joint">
1773 <initial_joint_position>-1.0</initial_joint_position>
1774 </gazebo>
1775 <gazebo reference="r_elbow_flex_link">
1776 <turnGravityOff>true</turnGravityOff>
1777 </gazebo>
1778 <gazebo reference="r_elbow_flex_joint">
1779 <stopKd value="1.0"/>
1780 <stopKp value="1000000.0"/>
1781 </gazebo>
1782 <transmission name="r_elbow_flex_trans" type="pr2_mechanism_model/SimpleTransmission">
1783 <actuator name="r_elbow_flex_motor"/>
1784 <joint name="r_elbow_flex_joint"/>
1785 <mechanicalReduction>-36.167452007</mechanicalReduction>
1786 </transmission>
1787 <joint name="r_forearm_joint" type="fixed">
1788 <origin rpy="0 0 0" xyz="0 0 0"/>
1789 <!-- transform from parent link to this joint frame -->
1790 <parent link="r_forearm_roll_link"/>
1791 <child link="r_forearm_link"/>
1792 </joint>
1793 <link name="r_forearm_link">
1794 <inertial>
1795 <mass value="2.57968"/>
1796 <origin xyz="0.18791 -0.00017 -0.00912"/>
1797 <inertia ixx="0.00364857222" ixy="0.00005215877" ixz="0.00071534842" iyy="0.01507736897" iyz="-0.00001310770" izz="0.01659310749"/>
1798 </inertial>
1799 <visual>
1800 <origin rpy="0 0 0" xyz="0 0 0"/>
1801 <geometry>
1802 <mesh filename="package://pr2_description/meshes/forearm_v0/forearm.dae"/>
1803 </geometry>
1804 <material name="Grey"/>
1805 </visual>
1806 <collision>
1807 <origin rpy="0 0 0" xyz="0 0 0"/>
1808 <geometry>
1809 <mesh filename="package://pr2_description/meshes/forearm_v0/forearm.stl"/>
1810 </geometry>
1811 </collision>
1812 </link>
1813 <joint name="r_wrist_flex_joint" type="revolute">
1814 <axis xyz="0 1 0"/>
1815 <limit effort="10" lower="-2.18" upper="0.0" velocity="3.078"/>
1816 <!-- alpha tested velocity and effort limits -->
1817 <safety_controller k_position="20" k_velocity="4" soft_lower_limit="-2.0" soft_upper_limit="-0.1"/>
1818 <dynamics damping="0.1"/>
1819 <calibration falling="-0.5143430267"/>
1820 <origin rpy="0 0 0" xyz="0.321 0 0"/>
1821 <parent link="r_forearm_link"/>
1822 <child link="r_wrist_flex_link"/>
1823 </joint>
1824 <link name="r_wrist_flex_link">
1825 <inertial>
1826 <mass value="0.61402"/>
1827 <origin xyz="-0.00157 0.0 -0.00075"/>
1828 <inertia ixx="0.00065165722" ixy="0.00000028864" ixz="0.00000303477" iyy="0.00019824443" iyz="-0.00000022645" izz="0.00064450498"/>
1829 </inertial>
1830 <visual>
1831 <origin rpy="0 0 0" xyz="0 0 0"/>
1832 <geometry>
1833 <mesh filename="package://pr2_description/meshes/forearm_v0/wrist_flex.dae"/>
1834 </geometry>
1835 <material name="Grey"/>
1836 </visual>
1837 <collision>
1838 <origin rpy="0 0 0" xyz="0 0 0"/>
1839 <geometry>
1840 <mesh filename="package://pr2_description/meshes/forearm_v0/wrist_flex.stl"/>
1841 </geometry>
1842 </collision>
1843 </link>
1844 <joint name="r_wrist_roll_joint" type="continuous">
1845 <axis xyz="1 0 0"/>
1846 <limit effort="10" velocity="3.6"/>
1847 <!-- alpha tested velocity and effort limits -->
1848 <safety_controller k_velocity="2"/>
1849 <dynamics damping="0.1"/>
1850 <calibration rising="-1.5041091310"/>
1851 <origin rpy="0 0 0" xyz="0 0 0"/>
1852 <parent link="r_wrist_flex_link"/>
1853 <child link="r_wrist_roll_link"/>
1854 </joint>
1855 <link name="r_wrist_roll_link">
1856 <inertial>
1857 <!-- dummy masses, to be removed. wrist roll masses are on "gripper_palm" -->
1858 <mass value="0.1"/>
1859 <origin xyz="0 0 0"/>
1860 <inertia ixx="0.01" ixy="0" ixz="0" iyy="0.01" iyz="0" izz="0.01"/>
1861 </inertial>
1862 <visual>
1863 <origin rpy="0 0 0" xyz="0 0 0"/>
1864 <geometry>
1865 <mesh filename="package://pr2_description/meshes/forearm_v0/wrist_roll.stl"/>
1866 </geometry>
1867 <material name="RollLinks"/>
1868 </visual>
1869 <collision>
1870 <origin rpy="0 0 0" xyz="0 0 0"/>
1871 <geometry>
1872 <mesh filename="package://pr2_description/meshes/forearm_v0/wrist_roll_L.stl"/>
1873 </geometry>
1874 <verbose value="Yes"/>
1875 </collision>
1876 </link>
1877 <gazebo reference="r_forearm_link">
1878 <turnGravityOff>true</turnGravityOff>
1879 </gazebo>
1880 <gazebo reference="r_wrist_flex_link">
1881 <turnGravityOff>true</turnGravityOff>
1882 </gazebo>
1883 <gazebo reference="r_wrist_flex_joint">
1884 <stopKd value="1.0"/>
1885 <stopKp value="1000000.0"/>
1886 </gazebo>
1887 <gazebo reference="r_wrist_roll_link">
1888 <turnGravityOff>true</turnGravityOff>
1889 <material value="PR2/RollLinks"/>
1890 </gazebo>
1891 <gazebo reference="r_wrist_roll_joint">
1892 <fudgeFactor value="0.5"/>
1893 </gazebo>
1894 <transmission name="r_wrist_trans" type="pr2_mechanism_model/WristTransmission">
1895 <rightActuator mechanicalReduction="60.1714285714" name="r_wrist_r_motor"/>
1896 <leftActuator mechanicalReduction="60.1714285714" name="r_wrist_l_motor"/>
1897 <flexJoint mechanicalReduction="-1.0" name="r_wrist_flex_joint"/>
1898 <rollJoint mechanicalReduction="1.0" name="r_wrist_roll_joint"/>
1899 </transmission>
1900 <joint name="r_gripper_palm_joint" type="fixed">
1901 <origin rpy="0 0 0" xyz="0 0 0"/>
1902 <parent link="r_wrist_roll_link"/>
1903 <child link="r_gripper_palm_link"/>
1904 </joint>
1905 <link name="r_gripper_palm_link">
1906 <inertial>
1907 <mass value="0.58007"/>
1908 <origin rpy="0 0 0" xyz="0.06623 0.00053 -0.00119"/>
1909 <inertia ixx="0.00035223921" ixy="-0.00001580476" ixz="-0.00000091750" iyy="0.00067741312" iyz="-0.00000059554" izz="0.00086563316"/>
1910 </inertial>
1911 <visual>
1912 <origin rpy="0 0 0" xyz="0 0 0"/>
1913 <geometry>
1914 <mesh filename="package://pr2_description/meshes/gripper_v0/gripper_palm.dae"/>
1915 </geometry>
1916 <material name="Red"/>
1917 </visual>
1918 <collision>
1919 <origin rpy="0 0 0" xyz="0 0 0"/>
1920 <geometry>
1921 <mesh filename="package://pr2_description/meshes/gripper_v0/gripper_palm.stl"/>
1922 </geometry>
1923 <verbose value="Yes"/>
1924 </collision>
1925 </link>
1926 <joint name="r_gripper_led_joint" type="fixed">
1927 <!-- Need to check if we need a positive or negative Z term -->
1928 <origin xyz="0.0513 0.0 .0244"/>
1929 <parent link="r_gripper_palm_link"/>
1930 <child link="r_gripper_led_frame"/>
1931 </joint>
1932 <link name="r_gripper_led_frame"/>
1933 <joint name="r_gripper_motor_accelerometer_joint" type="fixed">
1934 <origin rpy="0 0 0" xyz="0 0 0"/>
1935 <parent link="r_gripper_palm_link"/>
1936 <child link="r_gripper_motor_accelerometer_link"/>
1937 </joint>
1938 <link name="r_gripper_motor_accelerometer_link">
1939 <inertial>
1940 <mass value="0.001"/>
1941 <origin rpy="0 0 0" xyz="0 0 0"/>
1942 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
1943 </inertial>
1944 <visual>
1945 <origin rpy="0 0 0" xyz="0 0 0"/>
1946 <geometry>
1947 <box size="0.001 0.001 0.001"/>
1948 </geometry>
1949 </visual>
1950 <collision>
1951 <origin rpy="0 0 0" xyz="0 0 0"/>
1952 <geometry>
1953 <box size="0.001 0.001 0.001"/>
1954 </geometry>
1955 </collision>
1956 </link>
1957 <joint name="r_gripper_tool_joint" type="fixed">
1958 <origin rpy="0 0 0" xyz="0.18 0 0"/>
1959 <parent link="r_gripper_palm_link"/>
1960 <child link="r_gripper_tool_frame"/>
1961 </joint>
1962 <link name="r_gripper_tool_frame"/>
1963 <joint name="r_gripper_l_finger_joint" type="revolute">
1964 <axis xyz="0 0 1"/>
1965 <limit effort="1000.0" lower="0.0" upper="0.548" velocity="0.5"/>
1966 <dynamics damping="0.2"/>
1967 <origin rpy="0 0 0" xyz="0.07691 0.01 0"/>
1968 <parent link="r_gripper_palm_link"/>
1969 <child link="r_gripper_l_finger_link"/>
1970 </joint>
1971 <link name="r_gripper_l_finger_link">
1972 <inertial>
1973 <mass value="0.17126"/>
1974 <origin rpy="0 0 0" xyz="0.03598 0.01730 -0.00164"/>
1975 <inertia ixx="0.00007756198" ixy="0.00000149095" ixz="-0.00000983385" iyy="0.00019708305" iyz="-0.00000306125" izz="0.00018105446"/>
1976 </inertial>
1977 <visual>
1978 <origin rpy="0 0 0" xyz="0 0 0"/>
1979 <geometry>
1980 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.dae"/>
1981 </geometry>
1982 <material name="Grey"/>
1983 </visual>
1984 <collision>
1985 <origin rpy="0 0 0" xyz="0 0 0"/>
1986 <geometry>
1987 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.stl"/>
1988 </geometry>
1989 <verbose value="Yes"/>
1990 </collision>
1991 </link>
1992 <joint name="r_gripper_r_finger_joint" type="revolute">
1993 <axis xyz="0 0 -1"/>
1994 <origin rpy="0 0 0" xyz="0.07691 -0.01 0"/>
1995 <limit effort="1000.0" lower="0.0" upper="0.548" velocity="0.5"/>
1996 <dynamics damping="0.2"/>
1997 <mimic joint="r_gripper_l_finger_joint" multiplier="1" offset="0"/>
1998 <parent link="r_gripper_palm_link"/>
1999 <child link="r_gripper_r_finger_link"/>
2000 </joint>
2001 <link name="r_gripper_r_finger_link">
2002 <inertial>
2003 <mass value="0.17389"/>
2004 <origin rpy="0 0 0" xyz="0.03576 -0.01736 -0.00095"/>
2005 <inertia ixx="0.00007738410" ixy="-0.00000209309" ixz="-0.00000836228" iyy="0.00019847383" iyz="0.00000246110" izz="0.00018106988"/>
2006 </inertial>
2007 <visual>
2008 <origin rpy="3.14159265359 0 0" xyz="0 0 0"/>
2009 <geometry>
2010 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.dae"/>
2011 </geometry>
2012 <material name="Grey"/>
2013 </visual>
2014 <collision>
2015 <origin rpy="3.14159265359 0 0" xyz="0 0 0"/>
2016 <geometry>
2017 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.stl"/>
2018 </geometry>
2019 <verbose value="Yes"/>
2020 </collision>
2021 </link>
2022 <joint name="r_gripper_l_finger_tip_joint" type="revolute">
2023 <axis xyz="0 0 -1"/>
2024 <origin rpy="0 0 0" xyz="0.09137 0.00495 0"/>
2025 <limit effort="1000.0" lower="0.0" upper="0.548" velocity="0.5"/>
2026 <dynamics damping="0.01"/>
2027 <mimic joint="r_gripper_l_finger_joint" multiplier="1" offset="0"/>
2028 <parent link="r_gripper_l_finger_link"/>
2029 <child link="r_gripper_l_finger_tip_link"/>
2030 </joint>
2031 <link name="r_gripper_l_finger_tip_link">
2032 <inertial>
2033 <mass value="0.04419"/>
2034 <origin rpy="0 0 0" xyz="0.00423 0.00284 0.0"/>
2035 <inertia ixx="0.00000837047" ixy="0.00000583632" ixz="0.0" iyy="0.00000987067" iyz="0.0" izz="0.00001541768"/>
2036 </inertial>
2037 <visual>
2038 <origin rpy="0 0 0" xyz="0 0 0"/>
2039 <geometry>
2040 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger_tip.dae"/>
2041 </geometry>
2042 <material name="Green"/>
2043 </visual>
2044 <collision>
2045 <origin rpy="0 0 0" xyz="0 0 0"/>
2046 <geometry>
2047 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger_tip.stl"/>
2048 </geometry>
2049 <verbose value="Yes"/>
2050 </collision>
2051 </link>
2052 <joint name="r_gripper_r_finger_tip_joint" type="revolute">
2053 <axis xyz="0 0 1"/>
2054 <origin rpy="0 0 0" xyz="0.09137 -0.00495 0"/>
2055 <limit effort="1000.0" lower="0.0" upper="0.548" velocity="0.5"/>
2056 <dynamics damping="0.01"/>
2057 <mimic joint="r_gripper_l_finger_joint" multiplier="1" offset="0"/>
2058 <parent link="r_gripper_r_finger_link"/>
2059 <child link="r_gripper_r_finger_tip_link"/>
2060 </joint>
2061 <link name="r_gripper_r_finger_tip_link">
2062 <inertial>
2063 <mass value="0.04419"/>
2064 <origin rpy="0 0 0" xyz="0.00423 -0.00284 0.0"/>
2065 <inertia ixx="0.00000837047" ixy="-0.00000583632" ixz="0.0" iyy="0.00000987067" iyz="0.0" izz="0.00001541768"/>
2066 </inertial>
2067 <visual>
2068 <origin rpy="3.14159265359 0 0" xyz="0 0 0"/>
2069 <geometry>
2070 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger_tip.dae"/>
2071 </geometry>
2072 <material name="Green"/>
2073 </visual>
2074 <collision>
2075 <origin rpy="3.14159265359 0 0" xyz="0 0 0"/>
2076 <geometry>
2077 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger_tip.stl"/>
2078 </geometry>
2079 <verbose value="Yes"/>
2080 </collision>
2081 </link>
2082 <gazebo reference="r_gripper_l_finger_link">
2083 <turnGravityOff>true</turnGravityOff>
2084 <sensor:contact name="r_gripper_l_finger_contact_sensor">
2085 <geom>r_gripper_l_finger_link_geom</geom>
2086 <updateRate>100.0</updateRate>
2087 <controller:gazebo_ros_bumper name="r_gripper_l_finger_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
2088 <alwaysOn>true</alwaysOn>
2089 <updateRate>100.0</updateRate>
2090 <frameName>r_gripper_l_finger_link</frameName>
2091 <bumperTopicName>r_gripper_l_finger_bumper</bumperTopicName>
2092 <interface:bumper name="r_gripper_l_finger_gazebo_ros_bumper_iface"/>
2093 </controller:gazebo_ros_bumper>
2094 </sensor:contact>
2095 <mu1 value="500.0"/>
2096 <mu2 value="500.0"/>
2097 <kp value="1000000.0"/>
2098 <kd value="1.0"/>
2099 <!-- for "${prefix}_l_finger_joint"-->
2100 </gazebo>
2101 <gazebo reference="r_gripper_l_finger_joint">
2102 <stopKd value="1.0"/>
2103 <stopKp value="10000000.0"/>
2104 <fudgeFactor value="1.0"/>
2105 <provideFeedback value="true"/>
2106 </gazebo>
2107 <gazebo reference="r_gripper_r_finger_link">
2108 <turnGravityOff>true</turnGravityOff>
2109 <sensor:contact name="r_gripper_r_finger_contact_sensor">
2110 <geom>r_gripper_r_finger_link_geom</geom>
2111 <updateRate>100.0</updateRate>
2112 <controller:gazebo_ros_bumper name="r_gripper_r_finger_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
2113 <alwaysOn>true</alwaysOn>
2114 <frameName>r_gripper_r_finger_link</frameName>
2115 <updateRate>100.0</updateRate>
2116 <bumperTopicName>r_gripper_r_finger_bumper</bumperTopicName>
2117 <interface:bumper name="r_gripper_r_finger_gazebo_ros_bumper_iface"/>
2118 </controller:gazebo_ros_bumper>
2119 </sensor:contact>
2120 <mu1 value="500.0"/>
2121 <mu2 value="500.0"/>
2122 <kp value="1000000.0"/>
2123 <kd value="1.0"/>
2124 </gazebo>
2125 <gazebo reference="r_gripper_r_finger_joint">
2126 <stopKd value="1.0"/>
2127 <stopKp value="10000000.0"/>
2128 <fudgeFactor value="1.0"/>
2129 <provideFeedback value="true"/>
2130 </gazebo>
2131 <gazebo reference="r_gripper_l_finger_tip_link">
2132 <turnGravityOff>true</turnGravityOff>
2133 <selfCollide>false</selfCollide>
2134 <sensor:contact name="r_gripper_l_finger_tip_contact_sensor">
2135 <geom>r_gripper_l_finger_tip_link_geom</geom>
2136 <updateRate>100.0</updateRate>
2137 <controller:gazebo_ros_bumper name="r_gripper_l_finger_tip_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
2138 <alwaysOn>true</alwaysOn>
2139 <frameName>r_gripper_l_finger_tip_link</frameName>
2140 <updateRate>100.0</updateRate>
2141 <bumperTopicName>r_gripper_l_finger_tip_bumper</bumperTopicName>
2142 <interface:bumper name="r_gripper_l_finger_tip_gazebo_ros_bumper_iface"/>
2143 </controller:gazebo_ros_bumper>
2144 </sensor:contact>
2145 <mu1 value="500.0"/>
2146 <mu2 value="500.0"/>
2147 <kp value="10000000.0"/>
2148 <kd value="1.0"/>
2149 </gazebo>
2150 <gazebo reference="r_gripper_l_finger_tip_joint">
2151 <stopKd value="1.0"/>
2152 <stopKp value="10000000.0"/>
2153 <fudgeFactor value="1.0"/>
2154 <provideFeedback value="true"/>
2155 </gazebo>
2156 <gazebo reference="r_gripper_r_finger_tip_link">
2157 <turnGravityOff>true</turnGravityOff>
2158 <selfCollide>false</selfCollide>
2159 <sensor:contact name="r_gripper_r_finger_tip_contact_sensor">
2160 <geom>r_gripper_r_finger_tip_link_geom</geom>
2161 <updateRate>100.0</updateRate>
2162 <controller:gazebo_ros_bumper name="r_gripper_r_finger_tip_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
2163 <alwaysOn>true</alwaysOn>
2164 <frameName>r_gripper_r_finger_tip_link</frameName>
2165 <updateRate>100.0</updateRate>
2166 <bumperTopicName>r_gripper_r_finger_tip_bumper</bumperTopicName>
2167 <interface:bumper name="r_gripper_r_finger_tip_gazebo_ros_bumper_iface"/>
2168 </controller:gazebo_ros_bumper>
2169 </sensor:contact>
2170 <mu1 value="500.0"/>
2171 <mu2 value="500.0"/>
2172 <kp value="10000000.0"/>
2173 <kd value="1.0"/>
2174 </gazebo>
2175 <gazebo>
2176 <controller:gazebo_ros_p3d name="p3d_r_gripper_l_finger_controller" plugin="libgazebo_ros_p3d.so">
2177 <alwaysOn>true</alwaysOn>
2178 <updateRate>100.0</updateRate>
2179 <bodyName>r_gripper_l_finger_link</bodyName>
2180 <topicName>r_gripper_l_finger_pose_ground_truth</topicName>
2181 <gaussianNoise>0.0</gaussianNoise>
2182 <frameName>base_link</frameName>
2183 <interface:position name="p3d_r_gripper_l_finger_position_iface"/>
2184 </controller:gazebo_ros_p3d>
2185 <controller:gazebo_ros_f3d name="f3d_r_gripper_l_finger_controller" plugin="libgazebo_ros_f3d.so">
2186 <alwaysOn>true</alwaysOn>
2187 <updateRate>100.0</updateRate>
2188 <bodyName>r_gripper_l_finger_link</bodyName>
2189 <topicName>r_gripper_l_finger_force_ground_truth</topicName>
2190 <frameName>r_gripper_l_finger_link</frameName>
2191 <interface:position name="f3d_r_gripper_l_finger_force_iface"/>
2192 </controller:gazebo_ros_f3d>
2193 </gazebo>
2194 <gazebo reference="r_gripper_r_finger_tip_joint">
2195 <stopKd value="1.0"/>
2196 <stopKp value="10000000.0"/>
2197 <fudgeFactor value="1.0"/>
2198 <provideFeedback value="true"/>
2199 </gazebo>
2200 <gazebo>
2201 <body:box name="r_gripper_l_parallel_link">
2202 <massMatrix>true</massMatrix>
2203 <mass>0.17126</mass>
2204 <ixx>7.7562e-05</ixx>
2205 <ixy>1.49095e-06</ixy>
2206 <ixz>-9.83385e-06</ixz>
2207 <iyy>0.000197083</iyy>
2208 <iyz>-3.06125e-06</iyz>
2209 <izz>0.000181054</izz>
2210 <cx>0.03598</cx>
2211 <cy>0.0173</cy>
2212 <cz>-0.00164</cz>
2213 <xyz>0.82991 -0.157 0.790675</xyz>
2214 <rpy>0 -0 0</rpy>
2215 <turnGravityOff>true</turnGravityOff>
2216 <selfCollide>false</selfCollide>
2217 </body:box>
2218 <body:box name="r_gripper_r_parallel_link">
2219 <massMatrix>true</massMatrix>
2220 <mass>0.17389</mass>
2221 <ixx>7.73841e-05</ixx>
2222 <ixy>-2.09309e-06</ixy>
2223 <ixz>-8.36228e-06</ixz>
2224 <iyy>0.000198474</iyy>
2225 <iyz>2.4611e-06</iyz>
2226 <izz>0.00018107</izz>
2227 <cx>0.03576</cx>
2228 <cy>-0.01736</cy>
2229 <cz>-0.00095</cz>
2230 <xyz>0.82991 -0.219 0.790675</xyz>
2231 <rpy>0 -0 0</rpy>
2232 <turnGravityOff>true</turnGravityOff>
2233 <selfCollide>false</selfCollide>
2234 </body:box>
2235 </gazebo>
2236 <gazebo>
2237 <joint:hinge name="r_gripper_r_parallel_root_joint">
2238 <body1>r_gripper_r_parallel_link</body1>
2239 <body2>r_gripper_palm_link</body2>
2240 <anchor>r_gripper_palm_link</anchor>
2241 <axis>0 0 -1</axis>
2242 <damping>0.2</damping>
2243 <anchorOffset>0.05891 -0.031 0</anchorOffset>
2244 </joint:hinge>
2245 <joint:hinge name="r_gripper_l_parallel_root_joint">
2246 <body1>r_gripper_l_parallel_link</body1>
2247 <body2>r_gripper_palm_link</body2>
2248 <anchor>r_gripper_palm_link</anchor>
2249 <axis>0 0 1</axis>
2250 <damping>0.2</damping>
2251 <anchorOffset>0.05891 0.031 0</anchorOffset>
2252 </joint:hinge>
2253 <joint:hinge name="r_gripper_r_parallel_tip_joint">
2254 <body1>r_gripper_r_parallel_link</body1>
2255 <body2>r_gripper_r_finger_tip_link</body2>
2256 <anchor>r_gripper_r_finger_tip_link</anchor>
2257 <axis>0 0 1</axis>
2258 <anchorOffset>-0.018 -0.021 0</anchorOffset>
2259 </joint:hinge>
2260 <joint:hinge name="r_gripper_l_parallel_tip_joint">
2261 <body1>r_gripper_l_parallel_link</body1>
2262 <body2>r_gripper_l_finger_tip_link</body2>
2263 <anchor>r_gripper_l_finger_tip_link</anchor>
2264 <axis>0 0 1</axis>
2265 <anchorOffset>-0.018 0.021 0</anchorOffset>
2266 </joint:hinge>
2267 <joint:slider name="r_gripper_joint">
2268 <body1>r_gripper_l_finger_tip_link</body1>
2269 <body2>r_gripper_r_finger_tip_link</body2>
2270 <anchor>r_gripper_r_finger_tip_link</anchor>
2271 <axis>0 1 0</axis>
2272 </joint:slider>
2273 </gazebo>
2274 <gazebo reference="r_gripper_l_parallel_link">
2275 <turnGravityOff>true</turnGravityOff>
2276 <material value="PR2/Red"/>
2277 </gazebo>
2278 <gazebo reference="r_gripper_r_parallel_link">
2279 <turnGravityOff>true</turnGravityOff>
2280 <material value="PR2/Red"/>
2281 </gazebo>
2282 <joint name="r_gripper_joint" type="prismatic">
2283 <parent link="r_gripper_r_finger_tip_link"/>
2284 <child link="r_gripper_l_finger_tip_frame"/>
2285 <axis xyz="0 1 0"/>
2286 <dynamics damping="100.0"/>
2287 <limit effort="1000.0" lower="0.0" upper="0.09" velocity="0.2"/>
2288 <safety_controller k_position="20.0" k_velocity="5000.0" soft_lower_limit="-0.01" soft_upper_limit="0.088"/>
2289 </joint>
2290 <link name="r_gripper_l_finger_tip_frame"/>
2291 <gazebo reference="r_gripper_palm_link">
2292 <turnGravityOff>true</turnGravityOff>
2293 <sensor:contact name="r_gripper_palm_contact_sensor">
2294 <geom>r_gripper_palm_link_geom</geom>
2295 <updateRate>100.0</updateRate>
2296 <controller:gazebo_ros_bumper name="r_gripper_palm_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
2297 <alwaysOn>true</alwaysOn>
2298 <updateRate>100.0</updateRate>
2299 <frameName>r_gripper_palm_link</frameName>
2300 <bumperTopicName>r_gripper_palm_bumper</bumperTopicName>
2301 <interface:bumper name="r_gripper_palm_gazebo_ros_bumper_iface"/>
2302 </controller:gazebo_ros_bumper>
2303 </sensor:contact>
2304 </gazebo>
2305 <gazebo>
2306 <controller:gazebo_ros_p3d name="p3d_r_gripper_palm_controller" plugin="libgazebo_ros_p3d.so">
2307 <alwaysOn>true</alwaysOn>
2308 <updateRate>100.0</updateRate>
2309 <bodyName>r_gripper_palm_link</bodyName>
2310 <topicName>r_gripper_palm_pose_ground_truth</topicName>
2311 <xyzOffsets>0 0 0</xyzOffsets>
2312 <rpyOffsets>0 0 0</rpyOffsets>
2313 <gaussianNoise>0.0</gaussianNoise>
2314 <frameName>map</frameName>
2315 <interface:position name="p3d_r_gripper_palm_position_iface"/>
2316 </controller:gazebo_ros_p3d>
2317 </gazebo>
2318 <transmission name="r_gripper_trans" type="pr2_mechanism_model/PR2GripperTransmission">
2319 <actuator name="r_gripper_motor"/>
2320 <gap_joint L0="0.0375528" a="0.0683698" b="0.0433849" gear_ratio="40.095" h="0.0" mechanical_reduction="1.0" name="r_gripper_joint" phi0="0.518518122146" r="0.0915" screw_reduction="0.004" t0="-0.0001914" theta0="0.0628824676201"/>
2321 <!-- if a gazebo joint exists as [l|r]_gripper_joint, use this tag to have
2322 gripper transmission apply torque directly to prismatic joint -->
2323 <use_simulated_gripper_joint/>
2324 <passive_joint name="r_gripper_l_finger_joint"/>
2325 <passive_joint name="r_gripper_r_finger_joint"/>
2326 <passive_joint name="r_gripper_r_finger_tip_joint"/>
2327 <passive_joint name="r_gripper_l_finger_tip_joint"/>
2328 </transmission>
2329 <joint name="l_shoulder_pan_joint" type="revolute">
2330 <axis xyz="0 0 1"/>
2331 <origin rpy="0.0000000000 0.0000000000 0.0000000000" xyz="0.0000000000 0.1880000000 0.0000000000"/>
2332 <!-- transform from parent link to this joint frame -->
2333 <parent link="torso_lift_link"/>
2334 <child link="l_shoulder_pan_link"/>
2335 <limit effort="30" lower="-0.714601836603" upper="2.2853981634" velocity="2.088"/>
2336 <!-- alpha tested velocity and effort limits -->
2337 <dynamics damping="10.0"/>
2338 <safety_controller k_position="100" k_velocity="10" soft_lower_limit="-0.564601836603" soft_upper_limit="2.1353981634"/>
2339 <!-- joint angle when the rising or the falling flag is activated on PR2 -->
2340 <calibration rising="0.7921239770"/>
2341 </joint>
2342 <link name="l_shoulder_pan_link">
2343 <inertial>
2344 <mass value="25.799322"/>
2345 <origin rpy="0 0 0" xyz="-0.001201 0.024513 -0.098231"/>
2346 <inertia ixx="0.866179142480" ixy="-0.06086507933" ixz="-0.12118061183" iyy="0.87421714893" iyz="-0.05886609911" izz="0.27353821674"/>
2347 </inertial>
2348 <visual>
2349 <origin rpy="0 0 0" xyz="0 0 0"/>
2350 <geometry>
2351 <mesh filename="package://pr2_description/meshes/shoulder_v0/shoulder_pan.dae"/>
2352 </geometry>
2353 <material name="Blue"/>
2354 </visual>
2355 <collision>
2356 <origin rpy="0 0 0" xyz="0.0 0 0.0"/>
2357 <geometry>
2358 <mesh filename="package://pr2_description/meshes/shoulder_v0/shoulder_pan.stl"/>
2359 </geometry>
2360 </collision>
2361 </link>
2362 <joint name="l_shoulder_lift_joint" type="revolute">
2363 <axis xyz="0 1 0"/>
2364 <!-- Limits updated from Function's CAD values as of 2009_02_24 (link_data.xls) -->
2365 <limit effort="30" lower="-0.5236" upper="1.3963" velocity="2.082"/>
2366 <!-- alpha tested velocity and effort limits -->
2367 <safety_controller k_position="100" k_velocity="10" soft_lower_limit="-0.3536" soft_upper_limit="1.2963"/>
2368 <calibration falling="-0.0087515369"/>
2369 <dynamics damping="10.0"/>
2370 <origin rpy="0 0 0" xyz="0.1 0 0"/>
2371 <parent link="l_shoulder_pan_link"/>
2372 <child link="l_shoulder_lift_link"/>
2373 </joint>
2374 <link name="l_shoulder_lift_link">
2375 <inertial>
2376 <mass value="2.74988"/>
2377 <origin rpy="0 0 0" xyz="0.02195 -0.02664 -0.03127"/>
2378 <inertia ixx="0.02105584615" ixy="0.00496704022" ixz="-0.00194808955" iyy="0.02127223737" iyz="0.00110425490" izz="0.01975753814"/>
2379 </inertial>
2380 <visual>
2381 <origin rpy="0 0 0" xyz="0 0 0"/>
2382 <geometry>
2383 <mesh filename="package://pr2_description/meshes/shoulder_v0/shoulder_lift.dae"/>
2384 </geometry>
2385 <material name="Grey"/>
2386 </visual>
2387 <collision>
2388 <origin rpy="0 0 0" xyz="0 0 0"/>
2389 <geometry>
2390 <mesh filename="package://pr2_description/meshes/shoulder_v0/shoulder_lift.stl"/>
2391 </geometry>
2392 </collision>
2393 </link>
2394 <joint name="l_upper_arm_roll_joint" type="revolute">
2395 <axis xyz="1 0 0"/>
2396 <origin rpy="0 0 0" xyz="0 0 0"/>
2397 <parent link="l_shoulder_lift_link"/>
2398 <child link="l_upper_arm_roll_link"/>
2399 <limit effort="30" lower="-0.8" upper="3.9" velocity="3.27"/>
2400 <!-- alpha tested velocity and effort limits -->
2401 <safety_controller k_position="100" k_velocity="2" soft_lower_limit="-0.65" soft_upper_limit="3.75"/>
2402 <calibration rising="1.5818929474"/>
2403 <dynamics damping="0.1"/>
2404 </joint>
2405 <link name="l_upper_arm_roll_link">
2406 <inertial>
2407 <!-- dummy mass, to be removed -->
2408 <mass value="0.1"/>
2409 <origin rpy="0 0 0" xyz="0.0 0 0"/>
2410 <inertia ixx="0.01" ixy="0.00" ixz="0.00" iyy="0.01" iyz="0.00" izz="0.01"/>
2411 </inertial>
2412 <visual>
2413 <!-- TODO: This component doesn't actually have a mesh -->
2414 <origin rpy="0 0 0" xyz="0 0 0"/>
2415 <geometry>
2416 <mesh filename="package://pr2_description/meshes/shoulder_v0/upper_arm_roll.stl"/>
2417 </geometry>
2418 <material name="RollLinks"/>
2419 </visual>
2420 <collision>
2421 <origin rpy="0 0 0" xyz="0 0 0"/>
2422 <geometry>
2423 <mesh filename="package://pr2_description/meshes/shoulder_v0/upper_arm_roll_L.stl"/>
2424 </geometry>
2425 </collision>
2426 </link>
2427 <gazebo reference="l_upper_arm_roll_link">
2428 <material value="PR2/RollLinks"/>
2429 <turnGravityOff>true</turnGravityOff>
2430 </gazebo>
2431 <gazebo reference="l_upper_arm_roll_joint">
2432 <stopKd value="1.0"/>
2433 <stopKp value="1000000.0"/>
2434 <fudgeFactor value="0.5"/>
2435 </gazebo>
2436 <transmission name="l_upper_arm_roll_trans" type="pr2_mechanism_model/SimpleTransmission">
2437 <actuator name="l_upper_arm_roll_motor"/>
2438 <joint name="l_upper_arm_roll_joint"/>
2439 <mechanicalReduction>32.6525111499</mechanicalReduction>
2440 </transmission>
2441 <gazebo reference="l_shoulder_pan_link">
2442 <turnGravityOff>true</turnGravityOff>
2443 </gazebo>
2444 <gazebo reference="l_shoulder_pan_joint">
2445 <stopKd value="1.0"/>
2446 <stopKp value="1000000.0"/>
2447 </gazebo>
2448 <gazebo reference="l_shoulder_lift_link">
2449 <turnGravityOff>true</turnGravityOff>
2450 </gazebo>
2451 <gazebo reference="l_shoulder_lift_joint">
2452 <stopKd value="1.0"/>
2453 <stopKp value="1000000.0"/>
2454 </gazebo>
2455 <transmission name="l_shoulder_pan_trans" type="pr2_mechanism_model/SimpleTransmission">
2456 <actuator name="l_shoulder_pan_motor"/>
2457 <joint name="l_shoulder_pan_joint"/>
2458 <mechanicalReduction>63.1552452977</mechanicalReduction>
2459 </transmission>
2460 <transmission name="l_shoulder_lift_trans" type="pr2_mechanism_model/SimpleTransmission">
2461 <actuator name="l_shoulder_lift_motor"/>
2462 <joint name="l_shoulder_lift_joint"/>
2463 <mechanicalReduction>61.8948225713</mechanicalReduction>
2464 </transmission>
2465 <joint name="l_upper_arm_joint" type="fixed">
2466 <origin rpy="0 0 0" xyz="0 0 0"/>
2467 <parent link="l_upper_arm_roll_link"/>
2468 <child link="l_upper_arm_link"/>
2469 </joint>
2470 <link name="l_upper_arm_link">
2471 <inertial>
2472 <!-- NOTE:reflect==-1 for right side, reflect==1 for the left side -->
2473 <mass value="6.01769"/>
2474 <origin xyz="0.21405 0.01658 -0.00057"/>
2475 <inertia ixx="0.01530603856" ixy="-0.00339324862" ixz="0.00060765455" iyy="0.07473694455" iyz="-0.00019953729" izz="0.07601594191"/>
2476 </inertial>
2477 <visual>
2478 <origin rpy="0 0 0" xyz="0 0 0"/>
2479 <geometry>
2480 <mesh filename="package://pr2_description/meshes/upper_arm_v0/upper_arm.dae"/>
2481 </geometry>
2482 <material name="Green"/>
2483 </visual>
2484 <collision>
2485 <origin rpy="0 0 0" xyz="0 0 0"/>
2486 <geometry>
2487 <mesh filename="package://pr2_description/meshes/upper_arm_v0/upper_arm.stl"/>
2488 </geometry>
2489 </collision>
2490 </link>
2491 <gazebo reference="l_upper_arm_link">
2492 <turnGravityOff>true</turnGravityOff>
2493 </gazebo>
2494 <joint name="l_forearm_roll_joint" type="continuous">
2495 <axis xyz="1 0 0"/>
2496 <limit effort="30" velocity="3.6"/>
2497 <!-- alpha tested velocity and effort limits -->
2498 <safety_controller k_velocity="1"/>
2499 <calibration rising="0.0308617628"/>
2500 <dynamics damping="0.1"/>
2501 <origin rpy="0 0 0" xyz="0 0 0"/>
2502 <parent link="l_elbow_flex_link"/>
2503 <child link="l_forearm_roll_link"/>
2504 </joint>
2505 <link name="l_forearm_roll_link">
2506 <inertial>
2507 <!-- dummy masses, to be removed -->
2508 <mass value="0.1"/>
2509 <origin xyz="0 0 0"/>
2510 <inertia ixx="0.01" ixy="0.00" ixz="0.00" iyy="0.01" iyz="0.00" izz="0.01"/>
2511 </inertial>
2512 <visual>
2513 <origin rpy="0 0 0" xyz="0 0 0"/>
2514 <geometry>
2515 <mesh filename="package://pr2_description/meshes/upper_arm_v0/forearm_roll.stl"/>
2516 </geometry>
2517 <material name="RollLinks"/>
2518 </visual>
2519 <!-- TODO: collision tag should be optional -->
2520 <collision>
2521 <origin rpy="0 0 0" xyz="0 0 0"/>
2522 <geometry>
2523 <mesh filename="package://pr2_description/meshes/upper_arm_v0/forearm_roll_L.stl"/>
2524 </geometry>
2525 </collision>
2526 </link>
2527 <gazebo reference="l_forearm_roll_link">
2528 <material value="PR2/RollLinks"/>
2529 <turnGravityOff>true</turnGravityOff>
2530 </gazebo>
2531 <gazebo reference="l_forearm_roll_joint">
2532 <fudgeFactor value="0.5"/>
2533 </gazebo>
2534 <transmission name="l_forearm_roll_trans" type="pr2_mechanism_model/SimpleTransmission">
2535 <actuator name="l_forearm_roll_motor"/>
2536 <joint name="l_forearm_roll_joint"/>
2537 <mechanicalReduction>-90.5142857143</mechanicalReduction>
2538 </transmission>
2539 <joint name="l_elbow_flex_joint" type="revolute">
2540 <axis xyz="0 1 0"/>
2541 <!-- Note: Overtravel limits are 140, -7 degrees instead of 133, 0 -->
2542 <limit effort="30" lower="-2.3213" upper="0.00" velocity="3.3"/>
2543 <!-- alpha tested velocity and effort limits -->
2544 <safety_controller k_position="100" k_velocity="3" soft_lower_limit="-2.1213" soft_upper_limit="-0.15"/>
2545 <calibration falling="-1.1785264492"/>
2546 <dynamics damping="1.0"/>
2547 <origin rpy="0 0 0" xyz="0.4 0 0"/>
2548 <parent link="l_upper_arm_link"/>
2549 <child link="l_elbow_flex_link"/>
2550 </joint>
2551 <link name="l_elbow_flex_link">
2552 <inertial>
2553 <mass value="1.90327"/>
2554 <origin xyz="0.01014 0.00032 -0.01211"/>
2555 <inertia ixx="0.00346541989" ixy="0.00004066825" ixz="0.00043171614" iyy="0.00441606455" iyz="-0.00003968914" izz="0.00359156824"/>
2556 </inertial>
2557 <visual>
2558 <origin rpy="0 0 0" xyz="0 0 0"/>
2559 <geometry>
2560 <mesh filename="package://pr2_description/meshes/upper_arm_v0/elbow_flex.dae"/>
2561 </geometry>
2562 <material name="Grey"/>
2563 </visual>
2564 <collision>
2565 <origin rpy="0 0 0" xyz="0 0 0"/>
2566 <geometry>
2567 <mesh filename="package://pr2_description/meshes/upper_arm_v0/elbow_flex.stl"/>
2568 </geometry>
2569 </collision>
2570 </link>
2571 <gazebo reference="l_elbow_flex_joint">
2572 <initial_joint_position>-1.0</initial_joint_position>
2573 </gazebo>
2574 <gazebo reference="l_elbow_flex_link">
2575 <turnGravityOff>true</turnGravityOff>
2576 </gazebo>
2577 <gazebo reference="l_elbow_flex_joint">
2578 <stopKd value="1.0"/>
2579 <stopKp value="1000000.0"/>
2580 </gazebo>
2581 <transmission name="l_elbow_flex_trans" type="pr2_mechanism_model/SimpleTransmission">
2582 <actuator name="l_elbow_flex_motor"/>
2583 <joint name="l_elbow_flex_joint"/>
2584 <mechanicalReduction>-36.167452007</mechanicalReduction>
2585 </transmission>
2586 <joint name="l_forearm_joint" type="fixed">
2587 <origin rpy="0 0 0" xyz="0 0 0"/>
2588 <!-- transform from parent link to this joint frame -->
2589 <parent link="l_forearm_roll_link"/>
2590 <child link="l_forearm_link"/>
2591 </joint>
2592 <link name="l_forearm_link">
2593 <inertial>
2594 <mass value="2.57968"/>
2595 <origin xyz="0.18791 -0.00017 -0.00912"/>
2596 <inertia ixx="0.00364857222" ixy="0.00005215877" ixz="0.00071534842" iyy="0.01507736897" iyz="-0.00001310770" izz="0.01659310749"/>
2597 </inertial>
2598 <visual>
2599 <origin rpy="0 0 0" xyz="0 0 0"/>
2600 <geometry>
2601 <mesh filename="package://pr2_description/meshes/forearm_v0/forearm.dae"/>
2602 </geometry>
2603 <material name="Grey"/>
2604 </visual>
2605 <collision>
2606 <origin rpy="0 0 0" xyz="0 0 0"/>
2607 <geometry>
2608 <mesh filename="package://pr2_description/meshes/forearm_v0/forearm.stl"/>
2609 </geometry>
2610 </collision>
2611 </link>
2612 <joint name="l_wrist_flex_joint" type="revolute">
2613 <axis xyz="0 1 0"/>
2614 <limit effort="10" lower="-2.18" upper="0.0" velocity="3.078"/>
2615 <!-- alpha tested velocity and effort limits -->
2616 <safety_controller k_position="20" k_velocity="4" soft_lower_limit="-2.0" soft_upper_limit="-0.1"/>
2617 <dynamics damping="0.1"/>
2618 <calibration falling="-0.5161681376"/>
2619 <origin rpy="0 0 0" xyz="0.321 0 0"/>
2620 <parent link="l_forearm_link"/>
2621 <child link="l_wrist_flex_link"/>
2622 </joint>
2623 <link name="l_wrist_flex_link">
2624 <inertial>
2625 <mass value="0.61402"/>
2626 <origin xyz="-0.00157 0.0 -0.00075"/>
2627 <inertia ixx="0.00065165722" ixy="0.00000028864" ixz="0.00000303477" iyy="0.00019824443" iyz="-0.00000022645" izz="0.00064450498"/>
2628 </inertial>
2629 <visual>
2630 <origin rpy="0 0 0" xyz="0 0 0"/>
2631 <geometry>
2632 <mesh filename="package://pr2_description/meshes/forearm_v0/wrist_flex.dae"/>
2633 </geometry>
2634 <material name="Grey"/>
2635 </visual>
2636 <collision>
2637 <origin rpy="0 0 0" xyz="0 0 0"/>
2638 <geometry>
2639 <mesh filename="package://pr2_description/meshes/forearm_v0/wrist_flex.stl"/>
2640 </geometry>
2641 </collision>
2642 </link>
2643 <joint name="l_wrist_roll_joint" type="continuous">
2644 <axis xyz="1 0 0"/>
2645 <limit effort="10" velocity="3.6"/>
2646 <!-- alpha tested velocity and effort limits -->
2647 <safety_controller k_velocity="2"/>
2648 <dynamics damping="0.1"/>
2649 <calibration rising="-1.5232015708"/>
2650 <origin rpy="0 0 0" xyz="0 0 0"/>
2651 <parent link="l_wrist_flex_link"/>
2652 <child link="l_wrist_roll_link"/>
2653 </joint>
2654 <link name="l_wrist_roll_link">
2655 <inertial>
2656 <!-- dummy masses, to be removed. wrist roll masses are on "gripper_palm" -->
2657 <mass value="0.1"/>
2658 <origin xyz="0 0 0"/>
2659 <inertia ixx="0.01" ixy="0" ixz="0" iyy="0.01" iyz="0" izz="0.01"/>
2660 </inertial>
2661 <visual>
2662 <origin rpy="0 0 0" xyz="0 0 0"/>
2663 <geometry>
2664 <mesh filename="package://pr2_description/meshes/forearm_v0/wrist_roll.stl"/>
2665 </geometry>
2666 <material name="RollLinks"/>
2667 </visual>
2668 <collision>
2669 <origin rpy="0 0 0" xyz="0 0 0"/>
2670 <geometry>
2671 <mesh filename="package://pr2_description/meshes/forearm_v0/wrist_roll_L.stl"/>
2672 </geometry>
2673 <verbose value="Yes"/>
2674 </collision>
2675 </link>
2676 <gazebo reference="l_forearm_link">
2677 <turnGravityOff>true</turnGravityOff>
2678 </gazebo>
2679 <gazebo reference="l_wrist_flex_link">
2680 <turnGravityOff>true</turnGravityOff>
2681 </gazebo>
2682 <gazebo reference="l_wrist_flex_joint">
2683 <stopKd value="1.0"/>
2684 <stopKp value="1000000.0"/>
2685 </gazebo>
2686 <gazebo reference="l_wrist_roll_link">
2687 <turnGravityOff>true</turnGravityOff>
2688 <material value="PR2/RollLinks"/>
2689 </gazebo>
2690 <gazebo reference="l_wrist_roll_joint">
2691 <fudgeFactor value="0.5"/>
2692 </gazebo>
2693 <transmission name="l_wrist_trans" type="pr2_mechanism_model/WristTransmission">
2694 <rightActuator mechanicalReduction="60.1714285714" name="l_wrist_r_motor"/>
2695 <leftActuator mechanicalReduction="60.1714285714" name="l_wrist_l_motor"/>
2696 <flexJoint mechanicalReduction="-1.0" name="l_wrist_flex_joint"/>
2697 <rollJoint mechanicalReduction="1.0" name="l_wrist_roll_joint"/>
2698 </transmission>
2699 <joint name="l_gripper_palm_joint" type="fixed">
2700 <origin rpy="0 0 0" xyz="0 0 0"/>
2701 <parent link="l_wrist_roll_link"/>
2702 <child link="l_gripper_palm_link"/>
2703 </joint>
2704 <link name="l_gripper_palm_link">
2705 <inertial>
2706 <mass value="0.58007"/>
2707 <origin rpy="0 0 0" xyz="0.06623 0.00053 -0.00119"/>
2708 <inertia ixx="0.00035223921" ixy="-0.00001580476" ixz="-0.00000091750" iyy="0.00067741312" iyz="-0.00000059554" izz="0.00086563316"/>
2709 </inertial>
2710 <visual>
2711 <origin rpy="0 0 0" xyz="0 0 0"/>
2712 <geometry>
2713 <mesh filename="package://pr2_description/meshes/gripper_v0/gripper_palm.dae"/>
2714 </geometry>
2715 <material name="Red"/>
2716 </visual>
2717 <collision>
2718 <origin rpy="0 0 0" xyz="0 0 0"/>
2719 <geometry>
2720 <mesh filename="package://pr2_description/meshes/gripper_v0/gripper_palm.stl"/>
2721 </geometry>
2722 <verbose value="Yes"/>
2723 </collision>
2724 </link>
2725 <joint name="l_gripper_led_joint" type="fixed">
2726 <!-- Need to check if we need a positive or negative Z term -->
2727 <origin xyz="0.0513 0.0 .0244"/>
2728 <parent link="l_gripper_palm_link"/>
2729 <child link="l_gripper_led_frame"/>
2730 </joint>
2731 <link name="l_gripper_led_frame"/>
2732 <joint name="l_gripper_motor_accelerometer_joint" type="fixed">
2733 <origin rpy="0 0 0" xyz="0 0 0"/>
2734 <parent link="l_gripper_palm_link"/>
2735 <child link="l_gripper_motor_accelerometer_link"/>
2736 </joint>
2737 <link name="l_gripper_motor_accelerometer_link">
2738 <inertial>
2739 <mass value="0.001"/>
2740 <origin rpy="0 0 0" xyz="0 0 0"/>
2741 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
2742 </inertial>
2743 <visual>
2744 <origin rpy="0 0 0" xyz="0 0 0"/>
2745 <geometry>
2746 <box size="0.001 0.001 0.001"/>
2747 </geometry>
2748 </visual>
2749 <collision>
2750 <origin rpy="0 0 0" xyz="0 0 0"/>
2751 <geometry>
2752 <box size="0.001 0.001 0.001"/>
2753 </geometry>
2754 </collision>
2755 </link>
2756 <joint name="l_gripper_tool_joint" type="fixed">
2757 <origin rpy="0 0 0" xyz="0.18 0 0"/>
2758 <parent link="l_gripper_palm_link"/>
2759 <child link="l_gripper_tool_frame"/>
2760 </joint>
2761 <link name="l_gripper_tool_frame"/>
2762 <joint name="l_gripper_l_finger_joint" type="revolute">
2763 <axis xyz="0 0 1"/>
2764 <limit effort="1000.0" lower="0.0" upper="0.548" velocity="0.5"/>
2765 <dynamics damping="0.2"/>
2766 <origin rpy="0 0 0" xyz="0.07691 0.01 0"/>
2767 <parent link="l_gripper_palm_link"/>
2768 <child link="l_gripper_l_finger_link"/>
2769 </joint>
2770 <link name="l_gripper_l_finger_link">
2771 <inertial>
2772 <mass value="0.17126"/>
2773 <origin rpy="0 0 0" xyz="0.03598 0.01730 -0.00164"/>
2774 <inertia ixx="0.00007756198" ixy="0.00000149095" ixz="-0.00000983385" iyy="0.00019708305" iyz="-0.00000306125" izz="0.00018105446"/>
2775 </inertial>
2776 <visual>
2777 <origin rpy="0 0 0" xyz="0 0 0"/>
2778 <geometry>
2779 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.dae"/>
2780 </geometry>
2781 <material name="Grey"/>
2782 </visual>
2783 <collision>
2784 <origin rpy="0 0 0" xyz="0 0 0"/>
2785 <geometry>
2786 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.stl"/>
2787 </geometry>
2788 <verbose value="Yes"/>
2789 </collision>
2790 </link>
2791 <joint name="l_gripper_r_finger_joint" type="revolute">
2792 <axis xyz="0 0 -1"/>
2793 <origin rpy="0 0 0" xyz="0.07691 -0.01 0"/>
2794 <limit effort="1000.0" lower="0.0" upper="0.548" velocity="0.5"/>
2795 <dynamics damping="0.2"/>
2796 <mimic joint="l_gripper_l_finger_joint" multiplier="1" offset="0"/>
2797 <parent link="l_gripper_palm_link"/>
2798 <child link="l_gripper_r_finger_link"/>
2799 </joint>
2800 <link name="l_gripper_r_finger_link">
2801 <inertial>
2802 <mass value="0.17389"/>
2803 <origin rpy="0 0 0" xyz="0.03576 -0.01736 -0.00095"/>
2804 <inertia ixx="0.00007738410" ixy="-0.00000209309" ixz="-0.00000836228" iyy="0.00019847383" iyz="0.00000246110" izz="0.00018106988"/>
2805 </inertial>
2806 <visual>
2807 <origin rpy="3.14159265359 0 0" xyz="0 0 0"/>
2808 <geometry>
2809 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.dae"/>
2810 </geometry>
2811 <material name="Grey"/>
2812 </visual>
2813 <collision>
2814 <origin rpy="3.14159265359 0 0" xyz="0 0 0"/>
2815 <geometry>
2816 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger.stl"/>
2817 </geometry>
2818 <verbose value="Yes"/>
2819 </collision>
2820 </link>
2821 <joint name="l_gripper_l_finger_tip_joint" type="revolute">
2822 <axis xyz="0 0 -1"/>
2823 <origin rpy="0 0 0" xyz="0.09137 0.00495 0"/>
2824 <limit effort="1000.0" lower="0.0" upper="0.548" velocity="0.5"/>
2825 <dynamics damping="0.01"/>
2826 <mimic joint="l_gripper_l_finger_joint" multiplier="1" offset="0"/>
2827 <parent link="l_gripper_l_finger_link"/>
2828 <child link="l_gripper_l_finger_tip_link"/>
2829 </joint>
2830 <link name="l_gripper_l_finger_tip_link">
2831 <inertial>
2832 <mass value="0.04419"/>
2833 <origin rpy="0 0 0" xyz="0.00423 0.00284 0.0"/>
2834 <inertia ixx="0.00000837047" ixy="0.00000583632" ixz="0.0" iyy="0.00000987067" iyz="0.0" izz="0.00001541768"/>
2835 </inertial>
2836 <visual>
2837 <origin rpy="0 0 0" xyz="0 0 0"/>
2838 <geometry>
2839 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger_tip.dae"/>
2840 </geometry>
2841 <material name="Green"/>
2842 </visual>
2843 <collision>
2844 <origin rpy="0 0 0" xyz="0 0 0"/>
2845 <geometry>
2846 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger_tip.stl"/>
2847 </geometry>
2848 <verbose value="Yes"/>
2849 </collision>
2850 </link>
2851 <joint name="l_gripper_r_finger_tip_joint" type="revolute">
2852 <axis xyz="0 0 1"/>
2853 <origin rpy="0 0 0" xyz="0.09137 -0.00495 0"/>
2854 <limit effort="1000.0" lower="0.0" upper="0.548" velocity="0.5"/>
2855 <dynamics damping="0.01"/>
2856 <mimic joint="l_gripper_l_finger_joint" multiplier="1" offset="0"/>
2857 <parent link="l_gripper_r_finger_link"/>
2858 <child link="l_gripper_r_finger_tip_link"/>
2859 </joint>
2860 <link name="l_gripper_r_finger_tip_link">
2861 <inertial>
2862 <mass value="0.04419"/>
2863 <origin rpy="0 0 0" xyz="0.00423 -0.00284 0.0"/>
2864 <inertia ixx="0.00000837047" ixy="-0.00000583632" ixz="0.0" iyy="0.00000987067" iyz="0.0" izz="0.00001541768"/>
2865 </inertial>
2866 <visual>
2867 <origin rpy="3.14159265359 0 0" xyz="0 0 0"/>
2868 <geometry>
2869 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger_tip.dae"/>
2870 </geometry>
2871 <material name="Green"/>
2872 </visual>
2873 <collision>
2874 <origin rpy="3.14159265359 0 0" xyz="0 0 0"/>
2875 <geometry>
2876 <mesh filename="package://pr2_description/meshes/gripper_v0/l_finger_tip.stl"/>
2877 </geometry>
2878 <verbose value="Yes"/>
2879 </collision>
2880 </link>
2881 <gazebo reference="l_gripper_l_finger_link">
2882 <turnGravityOff>true</turnGravityOff>
2883 <sensor:contact name="l_gripper_l_finger_contact_sensor">
2884 <geom>l_gripper_l_finger_link_geom</geom>
2885 <updateRate>100.0</updateRate>
2886 <controller:gazebo_ros_bumper name="l_gripper_l_finger_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
2887 <alwaysOn>true</alwaysOn>
2888 <updateRate>100.0</updateRate>
2889 <frameName>l_gripper_l_finger_link</frameName>
2890 <bumperTopicName>l_gripper_l_finger_bumper</bumperTopicName>
2891 <interface:bumper name="l_gripper_l_finger_gazebo_ros_bumper_iface"/>
2892 </controller:gazebo_ros_bumper>
2893 </sensor:contact>
2894 <mu1 value="500.0"/>
2895 <mu2 value="500.0"/>
2896 <kp value="1000000.0"/>
2897 <kd value="1.0"/>
2898 <!-- for "${prefix}_l_finger_joint"-->
2899 </gazebo>
2900 <gazebo reference="l_gripper_l_finger_joint">
2901 <stopKd value="1.0"/>
2902 <stopKp value="10000000.0"/>
2903 <fudgeFactor value="1.0"/>
2904 <provideFeedback value="true"/>
2905 </gazebo>
2906 <gazebo reference="l_gripper_r_finger_link">
2907 <turnGravityOff>true</turnGravityOff>
2908 <sensor:contact name="l_gripper_r_finger_contact_sensor">
2909 <geom>l_gripper_r_finger_link_geom</geom>
2910 <updateRate>100.0</updateRate>
2911 <controller:gazebo_ros_bumper name="l_gripper_r_finger_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
2912 <alwaysOn>true</alwaysOn>
2913 <frameName>l_gripper_r_finger_link</frameName>
2914 <updateRate>100.0</updateRate>
2915 <bumperTopicName>l_gripper_r_finger_bumper</bumperTopicName>
2916 <interface:bumper name="l_gripper_r_finger_gazebo_ros_bumper_iface"/>
2917 </controller:gazebo_ros_bumper>
2918 </sensor:contact>
2919 <mu1 value="500.0"/>
2920 <mu2 value="500.0"/>
2921 <kp value="1000000.0"/>
2922 <kd value="1.0"/>
2923 </gazebo>
2924 <gazebo reference="l_gripper_r_finger_joint">
2925 <stopKd value="1.0"/>
2926 <stopKp value="10000000.0"/>
2927 <fudgeFactor value="1.0"/>
2928 <provideFeedback value="true"/>
2929 </gazebo>
2930 <gazebo reference="l_gripper_l_finger_tip_link">
2931 <turnGravityOff>true</turnGravityOff>
2932 <selfCollide>false</selfCollide>
2933 <sensor:contact name="l_gripper_l_finger_tip_contact_sensor">
2934 <geom>l_gripper_l_finger_tip_link_geom</geom>
2935 <updateRate>100.0</updateRate>
2936 <controller:gazebo_ros_bumper name="l_gripper_l_finger_tip_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
2937 <alwaysOn>true</alwaysOn>
2938 <frameName>l_gripper_l_finger_tip_link</frameName>
2939 <updateRate>100.0</updateRate>
2940 <bumperTopicName>l_gripper_l_finger_tip_bumper</bumperTopicName>
2941 <interface:bumper name="l_gripper_l_finger_tip_gazebo_ros_bumper_iface"/>
2942 </controller:gazebo_ros_bumper>
2943 </sensor:contact>
2944 <mu1 value="500.0"/>
2945 <mu2 value="500.0"/>
2946 <kp value="10000000.0"/>
2947 <kd value="1.0"/>
2948 </gazebo>
2949 <gazebo reference="l_gripper_l_finger_tip_joint">
2950 <stopKd value="1.0"/>
2951 <stopKp value="10000000.0"/>
2952 <fudgeFactor value="1.0"/>
2953 <provideFeedback value="true"/>
2954 </gazebo>
2955 <gazebo reference="l_gripper_r_finger_tip_link">
2956 <turnGravityOff>true</turnGravityOff>
2957 <selfCollide>false</selfCollide>
2958 <sensor:contact name="l_gripper_r_finger_tip_contact_sensor">
2959 <geom>l_gripper_r_finger_tip_link_geom</geom>
2960 <updateRate>100.0</updateRate>
2961 <controller:gazebo_ros_bumper name="l_gripper_r_finger_tip_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
2962 <alwaysOn>true</alwaysOn>
2963 <frameName>l_gripper_r_finger_tip_link</frameName>
2964 <updateRate>100.0</updateRate>
2965 <bumperTopicName>l_gripper_r_finger_tip_bumper</bumperTopicName>
2966 <interface:bumper name="l_gripper_r_finger_tip_gazebo_ros_bumper_iface"/>
2967 </controller:gazebo_ros_bumper>
2968 </sensor:contact>
2969 <mu1 value="500.0"/>
2970 <mu2 value="500.0"/>
2971 <kp value="10000000.0"/>
2972 <kd value="1.0"/>
2973 </gazebo>
2974 <gazebo>
2975 <controller:gazebo_ros_p3d name="p3d_l_gripper_l_finger_controller" plugin="libgazebo_ros_p3d.so">
2976 <alwaysOn>true</alwaysOn>
2977 <updateRate>100.0</updateRate>
2978 <bodyName>l_gripper_l_finger_link</bodyName>
2979 <topicName>l_gripper_l_finger_pose_ground_truth</topicName>
2980 <gaussianNoise>0.0</gaussianNoise>
2981 <frameName>base_link</frameName>
2982 <interface:position name="p3d_l_gripper_l_finger_position_iface"/>
2983 </controller:gazebo_ros_p3d>
2984 <controller:gazebo_ros_f3d name="f3d_l_gripper_l_finger_controller" plugin="libgazebo_ros_f3d.so">
2985 <alwaysOn>true</alwaysOn>
2986 <updateRate>100.0</updateRate>
2987 <bodyName>l_gripper_l_finger_link</bodyName>
2988 <topicName>l_gripper_l_finger_force_ground_truth</topicName>
2989 <frameName>l_gripper_l_finger_link</frameName>
2990 <interface:position name="f3d_l_gripper_l_finger_force_iface"/>
2991 </controller:gazebo_ros_f3d>
2992 </gazebo>
2993 <gazebo reference="l_gripper_r_finger_tip_joint">
2994 <stopKd value="1.0"/>
2995 <stopKp value="10000000.0"/>
2996 <fudgeFactor value="1.0"/>
2997 <provideFeedback value="true"/>
2998 </gazebo>
2999 <gazebo>
3000 <body:box name="l_gripper_l_parallel_link">
3001 <massMatrix>true</massMatrix>
3002 <mass>0.17126</mass>
3003 <ixx>7.7562e-05</ixx>
3004 <ixy>1.49095e-06</ixy>
3005 <ixz>-9.83385e-06</ixz>
3006 <iyy>0.000197083</iyy>
3007 <iyz>-3.06125e-06</iyz>
3008 <izz>0.000181054</izz>
3009 <cx>0.03598</cx>
3010 <cy>0.0173</cy>
3011 <cz>-0.00164</cz>
3012 <xyz>0.82991 0.219 0.790675</xyz>
3013 <rpy>0 -0 0</rpy>
3014 <turnGravityOff>true</turnGravityOff>
3015 <selfCollide>false</selfCollide>
3016 </body:box>
3017 <body:box name="l_gripper_r_parallel_link">
3018 <massMatrix>true</massMatrix>
3019 <mass>0.17389</mass>
3020 <ixx>7.73841e-05</ixx>
3021 <ixy>-2.09309e-06</ixy>
3022 <ixz>-8.36228e-06</ixz>
3023 <iyy>0.000198474</iyy>
3024 <iyz>2.4611e-06</iyz>
3025 <izz>0.00018107</izz>
3026 <cx>0.03576</cx>
3027 <cy>-0.01736</cy>
3028 <cz>-0.00095</cz>
3029 <xyz>0.82991 0.157 0.790675</xyz>
3030 <rpy>0 -0 0</rpy>
3031 <turnGravityOff>true</turnGravityOff>
3032 <selfCollide>false</selfCollide>
3033 </body:box>
3034 </gazebo>
3035 <gazebo>
3036 <joint:hinge name="l_gripper_r_parallel_root_joint">
3037 <body1>l_gripper_r_parallel_link</body1>
3038 <body2>l_gripper_palm_link</body2>
3039 <anchor>l_gripper_palm_link</anchor>
3040 <axis>0 0 -1</axis>
3041 <damping>0.2</damping>
3042 <anchorOffset>0.05891 -0.031 0</anchorOffset>
3043 </joint:hinge>
3044 <joint:hinge name="l_gripper_l_parallel_root_joint">
3045 <body1>l_gripper_l_parallel_link</body1>
3046 <body2>l_gripper_palm_link</body2>
3047 <anchor>l_gripper_palm_link</anchor>
3048 <axis>0 0 1</axis>
3049 <damping>0.2</damping>
3050 <anchorOffset>0.05891 0.031 0</anchorOffset>
3051 </joint:hinge>
3052 <joint:hinge name="l_gripper_r_parallel_tip_joint">
3053 <body1>l_gripper_r_parallel_link</body1>
3054 <body2>l_gripper_r_finger_tip_link</body2>
3055 <anchor>l_gripper_r_finger_tip_link</anchor>
3056 <axis>0 0 1</axis>
3057 <anchorOffset>-0.018 -0.021 0</anchorOffset>
3058 </joint:hinge>
3059 <joint:hinge name="l_gripper_l_parallel_tip_joint">
3060 <body1>l_gripper_l_parallel_link</body1>
3061 <body2>l_gripper_l_finger_tip_link</body2>
3062 <anchor>l_gripper_l_finger_tip_link</anchor>
3063 <axis>0 0 1</axis>
3064 <anchorOffset>-0.018 0.021 0</anchorOffset>
3065 </joint:hinge>
3066 <joint:slider name="l_gripper_joint">
3067 <body1>l_gripper_l_finger_tip_link</body1>
3068 <body2>l_gripper_r_finger_tip_link</body2>
3069 <anchor>l_gripper_r_finger_tip_link</anchor>
3070 <axis>0 1 0</axis>
3071 </joint:slider>
3072 </gazebo>
3073 <gazebo reference="l_gripper_l_parallel_link">
3074 <turnGravityOff>true</turnGravityOff>
3075 <material value="PR2/Red"/>
3076 </gazebo>
3077 <gazebo reference="l_gripper_r_parallel_link">
3078 <turnGravityOff>true</turnGravityOff>
3079 <material value="PR2/Red"/>
3080 </gazebo>
3081 <joint name="l_gripper_joint" type="prismatic">
3082 <parent link="l_gripper_r_finger_tip_link"/>
3083 <child link="l_gripper_l_finger_tip_frame"/>
3084 <axis xyz="0 1 0"/>
3085 <dynamics damping="100.0"/>
3086 <limit effort="1000.0" lower="0.0" upper="0.09" velocity="0.2"/>
3087 <safety_controller k_position="20.0" k_velocity="5000.0" soft_lower_limit="-0.01" soft_upper_limit="0.088"/>
3088 </joint>
3089 <link name="l_gripper_l_finger_tip_frame"/>
3090 <gazebo reference="l_gripper_palm_link">
3091 <turnGravityOff>true</turnGravityOff>
3092 <sensor:contact name="l_gripper_palm_contact_sensor">
3093 <geom>l_gripper_palm_link_geom</geom>
3094 <updateRate>100.0</updateRate>
3095 <controller:gazebo_ros_bumper name="l_gripper_palm_gazebo_ros_bumper_controller" plugin="libgazebo_ros_bumper.so">
3096 <alwaysOn>true</alwaysOn>
3097 <updateRate>100.0</updateRate>
3098 <frameName>l_gripper_palm_link</frameName>
3099 <bumperTopicName>l_gripper_palm_bumper</bumperTopicName>
3100 <interface:bumper name="l_gripper_palm_gazebo_ros_bumper_iface"/>
3101 </controller:gazebo_ros_bumper>
3102 </sensor:contact>
3103 </gazebo>
3104 <gazebo>
3105 <controller:gazebo_ros_p3d name="p3d_l_gripper_palm_controller" plugin="libgazebo_ros_p3d.so">
3106 <alwaysOn>true</alwaysOn>
3107 <updateRate>100.0</updateRate>
3108 <bodyName>l_gripper_palm_link</bodyName>
3109 <topicName>l_gripper_palm_pose_ground_truth</topicName>
3110 <xyzOffsets>0 0 0</xyzOffsets>
3111 <rpyOffsets>0 0 0</rpyOffsets>
3112 <gaussianNoise>0.0</gaussianNoise>
3113 <frameName>map</frameName>
3114 <interface:position name="p3d_l_gripper_palm_position_iface"/>
3115 </controller:gazebo_ros_p3d>
3116 </gazebo>
3117 <transmission name="l_gripper_trans" type="pr2_mechanism_model/PR2GripperTransmission">
3118 <actuator name="l_gripper_motor"/>
3119 <gap_joint L0="0.0375528" a="0.0683698" b="0.0433849" gear_ratio="40.095" h="0.0" mechanical_reduction="1.0" name="l_gripper_joint" phi0="0.518518122146" r="0.0915" screw_reduction="0.004" t0="-0.0001914" theta0="0.0628824676201"/>
3120 <!-- if a gazebo joint exists as [l|r]_gripper_joint, use this tag to have
3121 gripper transmission apply torque directly to prismatic joint -->
3122 <use_simulated_gripper_joint/>
3123 <passive_joint name="l_gripper_l_finger_joint"/>
3124 <passive_joint name="l_gripper_r_finger_joint"/>
3125 <passive_joint name="l_gripper_r_finger_tip_joint"/>
3126 <passive_joint name="l_gripper_l_finger_tip_joint"/>
3127 </transmission>
3128 <!-- Forearm cam Position is a guess, based on full robot calibration -->
3129 <!-- Forearm cam Orientation is from Function -->
3130 <joint name="l_forearm_cam_frame_joint" type="fixed">
3131 <origin rpy="-1.5420500156 -0.5127563345 -0.0185289324" xyz="0.1528717872 0.0065560690 0.0494621346"/>
3132 <parent link="l_forearm_roll_link"/>
3133 <child link="l_forearm_cam_frame"/>
3134 </joint>
3135 <link name="l_forearm_cam_frame">
3136 <inertial>
3137 <mass value="0.01"/>
3138 <origin xyz="0 0 0"/>
3139 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
3140 </inertial>
3141 <visual>
3142 <origin rpy="0 0 0" xyz="0 0 0"/>
3143 <geometry>
3144 <box size="0.01 0.01 0.01"/>
3145 </geometry>
3146 </visual>
3147 </link>
3148 <joint name="l_forearm_cam_optical_frame_joint" type="fixed">
3149 <origin rpy="-1.5707963268 -0.0000000000 -1.5707963268" xyz="0.0000000000 0.0000000000 0.0000000000"/>
3150 <parent link="l_forearm_cam_frame"/>
3151 <child link="l_forearm_cam_optical_frame"/>
3152 </joint>
3153 <link name="l_forearm_cam_optical_frame"/>
3154 <gazebo reference="l_forearm_cam_frame">
3155 <sensor:camera name="l_forearm_cam_sensor">
3156 <imageSize>640 480</imageSize>
3157 <imageFormat>L8</imageFormat>
3158 <hfov>90</hfov>
3159 <nearClip>0.1</nearClip>
3160 <farClip>100</farClip>
3161 <updateRate>25.0</updateRate>
3162 <controller:gazebo_ros_camera name="l_forearm_cam_controller" plugin="libgazebo_ros_camera.so">
3163 <alwaysOn>true</alwaysOn>
3164 <updateRate>25.0</updateRate>
3165 <imageTopicName>l_forearm_cam/image_raw</imageTopicName>
3166 <cameraInfoTopicName>l_forearm_cam/camera_info</cameraInfoTopicName>
3167 <frameName>l_forearm_cam_optical_frame</frameName>
3168 <hackBaseline>0</hackBaseline>
3169 <CxPrime>320.5</CxPrime>
3170 <Cx>320.5</Cx>
3171 <Cy>240.5</Cy>
3172 <!-- image_width / (2*tan(hfov_radian /2)) -->
3173 <!-- 320 for wide and 772.55 for narrow stereo camera -->
3174 <focal_length>320</focal_length>
3175 <distortion_k1>0.00000001</distortion_k1>
3176 <distortion_k2>0.00000001</distortion_k2>
3177 <distortion_k3>0.00000001</distortion_k3>
3178 <distortion_t1>0.00000001</distortion_t1>
3179 <distortion_t2>0.00000001</distortion_t2>
3180 <interface:camera name="l_forearm_cam_iface"/>
3181 </controller:gazebo_ros_camera>
3182 </sensor:camera>
3183 <turnGravityOff>true</turnGravityOff>
3184 <material>PR2/Blue</material>
3185 </gazebo>
3186 <joint name="r_forearm_cam_frame_joint" type="fixed">
3187 <origin rpy="1.5649270715 -0.5956534650 -0.0104211267" xyz="0.1526436534 -0.0076824487 0.0442557750"/>
3188 <parent link="r_forearm_roll_link"/>
3189 <child link="r_forearm_cam_frame"/>
3190 </joint>
3191 <link name="r_forearm_cam_frame">
3192 <inertial>
3193 <mass value="0.01"/>
3194 <origin xyz="0 0 0"/>
3195 <inertia ixx="0.001" ixy="0.0" ixz="0.0" iyy="0.001" iyz="0.0" izz="0.001"/>
3196 </inertial>
3197 <visual>
3198 <origin rpy="0 0 0" xyz="0 0 0"/>
3199 <geometry>
3200 <box size="0.01 0.01 0.01"/>
3201 </geometry>
3202 </visual>
3203 </link>
3204 <joint name="r_forearm_cam_optical_frame_joint" type="fixed">
3205 <origin rpy="-1.5707963268 -0.0000000000 -1.5707963268" xyz="0.0000000000 0.0000000000 0.0000000000"/>
3206 <parent link="r_forearm_cam_frame"/>
3207 <child link="r_forearm_cam_optical_frame"/>
3208 </joint>
3209 <link name="r_forearm_cam_optical_frame"/>
3210 <gazebo reference="r_forearm_cam_frame">
3211 <sensor:camera name="r_forearm_cam_sensor">
3212 <imageSize>640 480</imageSize>
3213 <imageFormat>L8</imageFormat>
3214 <hfov>90</hfov>
3215 <nearClip>0.1</nearClip>
3216 <farClip>100</farClip>
3217 <updateRate>25.0</updateRate>
3218 <controller:gazebo_ros_camera name="r_forearm_cam_controller" plugin="libgazebo_ros_camera.so">
3219 <alwaysOn>true</alwaysOn>
3220 <updateRate>25.0</updateRate>
3221 <imageTopicName>r_forearm_cam/image_raw</imageTopicName>
3222 <cameraInfoTopicName>r_forearm_cam/camera_info</cameraInfoTopicName>
3223 <frameName>r_forearm_cam_optical_frame</frameName>
3224 <hackBaseline>0</hackBaseline>
3225 <CxPrime>320.5</CxPrime>
3226 <Cx>320.5</Cx>
3227 <Cy>240.5</Cy>
3228 <!-- image_width / (2*tan(hfov_radian /2)) -->
3229 <!-- 320 for wide and 772.55 for narrow stereo camera -->
3230 <focal_length>320</focal_length>
3231 <distortion_k1>0.00000001</distortion_k1>
3232 <distortion_k2>0.00000001</distortion_k2>
3233 <distortion_k3>0.00000001</distortion_k3>
3234 <distortion_t1>0.00000001</distortion_t1>
3235 <distortion_t2>0.00000001</distortion_t2>
3236 <interface:camera name="r_forearm_cam_iface"/>
3237 </controller:gazebo_ros_camera>
3238 </sensor:camera>
3239 <turnGravityOff>true</turnGravityOff>
3240 <material>PR2/Blue</material>
3241 </gazebo>
3242 </robot>
3243
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.