-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtinker_display.urdf
1168 lines (1155 loc) · 45.6 KB
/
tinker_display.urdf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" ?>
<!-- =================================================================================== -->
<!-- | This document was autogenerated by xacro from tinker_display.urdf.xacro | -->
<!-- | EDITING THIS FILE BY HAND IS NOT RECOMMENDED | -->
<!-- =================================================================================== -->
<robot name="tinker">
<!-- Define Color-->
<material name="white">
<color rgba="1 1 1 1"/>
</material>
<material name="orange">
<color rgba="1 0.3 0.1 1"/>
</material>
<material name="blue">
<color rgba="0.2 0.2 1 1"/>
</material>
<material name="black">
<color rgba="0 0 0 1"/>
</material>
<material name="silver">
<color rgba="0.6 0.6 0.6 0 1"/>
</material>
<!-- Tinker Robot Base -->
<link name="base_link">
<visual>
<origin rpy="0. 0. 3.1415926" xyz="0.32 0.3 -0.23"/>
<geometry>
<mesh filename="package://tinker_description/meshes/tinker_base_coarse.stl" scale="1 1 1"/>
</geometry>
<material name="">
<color rgba="0.6 0.6 0.6 1"/>
</material>
</visual>
<collision>
<origin rpy="0. 0. 3.1415926" xyz="0.32 0.3 -0.23"/>
<geometry>
<mesh filename="package://tinker_description/meshes/tinker_base_coarse.stl" scale="1 1 1"/>
</geometry>
</collision>
</link>
<link name="base_link_inertial">
<inertial>
<origin rpy="0 0 0" xyz="0 0 0.4"/>
<mass value="15"/>
<inertia ixx="0.3" ixy="0" ixz="0" iyy="0.3" iyz="0" izz="0.3"/>
</inertial>
</link>
<joint name="base_to_base" type="fixed">
<parent link="base_link"/>
<child link="base_link_inertial"/>
<origin xyz="0.02 0 0"/>
</joint>
<link name="laser"/>
<joint name="base_to_urg_front" type="fixed">
<parent link="base_link"/>
<child link="laser"/>
<origin xyz="0.25 0. 0.25"/>
</joint>
<!-- Model used for real control, no wheel inertia needed -->
<joint name="fl_steering_joint" type="revolute">
<origin xyz="0.22 0.17 0.16"/>
<parent link="base_link"/>
<child link="fl_steering_link"/>
<limit effort="5" lower="-2.1" upper="2.1" velocity="6.28"/>
<axis xyz="0 0 1"/>
</joint>
<link name="fl_steering_link">
<visual>
<geometry>
<mesh filename="package://tinker_description/meshes/DAE/suspension/fl_link.dae"/>
</geometry>
</visual>
<collision>
<geometry>
<mesh filename="package://tinker_description/meshes/STL/suspension/sus_link.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0 0 -0.02"/>
<mass value="0.15"/>
<inertia ixx="0.00001" ixy="0" ixz="0" iyy="0.00001" iyz="0" izz="0.000004"/>
</inertial>
</link>
<joint name="fl_wheel_joint" type="continuous">
<origin rpy="0 0 3.141592653589793" xyz="0 0.021 -0.025"/>
<parent link="fl_steering_link"/>
<child link="fl_wheel_link"/>
<limit effort="1.5" velocity="20"/>
<axis xyz="0 -1 0"/>
</joint>
<link name="fl_wheel_link">
<visual>
<geometry>
<mesh filename="package://tinker_description/meshes/DAE/wheel/wheel_link.dae"/>
</geometry>
</visual>
<collision>
<geometry>
<mesh filename="package://tinker_description/meshes/STL/wheel/robot_wheel.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0.0 -0.007 -0.0"/>
<mass value="0.05"/>
<inertia ixx="0.00001" ixy="0" ixz="0" iyy="0.000018" iyz="0" izz="0.00001"/>
</inertial>
</link>
<joint name="fr_steering_joint" type="revolute">
<origin xyz="0.22 -0.17 0.16"/>
<parent link="base_link"/>
<child link="fr_steering_link"/>
<limit effort="5" lower="-2.1" upper="2.1" velocity="6.28"/>
<axis xyz="0 0 1"/>
</joint>
<link name="fr_steering_link">
<visual>
<geometry>
<mesh filename="package://tinker_description/meshes/DAE/suspension/fl_link.dae"/>
</geometry>
</visual>
<collision>
<geometry>
<mesh filename="package://tinker_description/meshes/STL/suspension/sus_link.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0 0 -0.02"/>
<mass value="0.15"/>
<inertia ixx="0.00001" ixy="0" ixz="0" iyy="0.00001" iyz="0" izz="0.000004"/>
</inertial>
</link>
<joint name="fr_wheel_joint" type="continuous">
<origin rpy="0 0 0.0" xyz="0 -0.021 -0.025"/>
<parent link="fr_steering_link"/>
<child link="fr_wheel_link"/>
<limit effort="1.5" velocity="20"/>
<axis xyz="0 1 0"/>
</joint>
<link name="fr_wheel_link">
<visual>
<geometry>
<mesh filename="package://tinker_description/meshes/DAE/wheel/wheel_link.dae"/>
</geometry>
</visual>
<collision>
<geometry>
<mesh filename="package://tinker_description/meshes/STL/wheel/robot_wheel.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0.0 -0.007 -0.0"/>
<mass value="0.05"/>
<inertia ixx="0.00001" ixy="0" ixz="0" iyy="0.000018" iyz="0" izz="0.00001"/>
</inertial>
</link>
<joint name="rl_steering_joint" type="revolute">
<origin xyz="-0.22 0.17 0.16"/>
<parent link="base_link"/>
<child link="rl_steering_link"/>
<limit effort="5" lower="-2.1" upper="2.1" velocity="6.28"/>
<axis xyz="0 0 1"/>
</joint>
<link name="rl_steering_link">
<visual>
<geometry>
<mesh filename="package://tinker_description/meshes/DAE/suspension/fl_link.dae"/>
</geometry>
</visual>
<collision>
<geometry>
<mesh filename="package://tinker_description/meshes/STL/suspension/sus_link.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0 0 -0.02"/>
<mass value="0.15"/>
<inertia ixx="0.00001" ixy="0" ixz="0" iyy="0.00001" iyz="0" izz="0.000004"/>
</inertial>
</link>
<joint name="rl_wheel_joint" type="continuous">
<origin rpy="0 0 3.141592653589793" xyz="0 0.021 -0.025"/>
<parent link="rl_steering_link"/>
<child link="rl_wheel_link"/>
<limit effort="1.5" velocity="20"/>
<axis xyz="0 -1 0"/>
</joint>
<link name="rl_wheel_link">
<visual>
<geometry>
<mesh filename="package://tinker_description/meshes/DAE/wheel/wheel_link.dae"/>
</geometry>
</visual>
<collision>
<geometry>
<mesh filename="package://tinker_description/meshes/STL/wheel/robot_wheel.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0.0 -0.007 -0.0"/>
<mass value="0.05"/>
<inertia ixx="0.00001" ixy="0" ixz="0" iyy="0.000018" iyz="0" izz="0.00001"/>
</inertial>
</link>
<joint name="rr_steering_joint" type="revolute">
<origin xyz="-0.22 -0.17 0.16"/>
<parent link="base_link"/>
<child link="rr_steering_link"/>
<limit effort="5" lower="-2.1" upper="2.1" velocity="6.28"/>
<axis xyz="0 0 1"/>
</joint>
<link name="rr_steering_link">
<visual>
<geometry>
<mesh filename="package://tinker_description/meshes/DAE/suspension/fl_link.dae"/>
</geometry>
</visual>
<collision>
<geometry>
<mesh filename="package://tinker_description/meshes/STL/suspension/sus_link.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0 0 -0.02"/>
<mass value="0.15"/>
<inertia ixx="0.00001" ixy="0" ixz="0" iyy="0.00001" iyz="0" izz="0.000004"/>
</inertial>
</link>
<joint name="rr_wheel_joint" type="continuous">
<origin rpy="0 0 0.0" xyz="0 -0.021 -0.025"/>
<parent link="rr_steering_link"/>
<child link="rr_wheel_link"/>
<limit effort="1.5" velocity="20"/>
<axis xyz="0 1 0"/>
</joint>
<link name="rr_wheel_link">
<visual>
<geometry>
<mesh filename="package://tinker_description/meshes/DAE/wheel/wheel_link.dae"/>
</geometry>
</visual>
<collision>
<geometry>
<mesh filename="package://tinker_description/meshes/STL/wheel/robot_wheel.stl"/>
</geometry>
</collision>
<inertial>
<origin xyz="0.0 -0.007 -0.0"/>
<mass value="0.05"/>
<inertia ixx="0.00001" ixy="0" ixz="0" iyy="0.000018" iyz="0" izz="0.00001"/>
</inertial>
</link>
<!-- <xacro:macro name="wheel_gen" params="name prefix_1 prefix_2">
<joint name="${name}_wheel_joint" type="continuous">
<origin rpy="0 0 ${(prefix_2 + 1) / 2 *pi}" xyz="${prefix_1*0.22} ${prefix_2*0.17} 0.07"/>
<parent link="base_link_inertial"/>
<child link="${name}_wheel_link"/>
<limit effort="1.5" velocity="20"/>
<axis xyz="0 ${-1 * prefix_2} 0"/>
</joint>
<link name="${name}_wheel_link"/>
</xacro:macro>
<xacro:wheel_gen name="fl" prefix_1="1" prefix_2="1" />
<xacro:wheel_gen name="fr" prefix_1="1" prefix_2="-1" />
<xacro:wheel_gen name="rl" prefix_1="-1" prefix_2="1" />
<xacro:wheel_gen name="rr" prefix_1="-1" prefix_2="-1" /> -->
<!-- import main macro -->
<!-- <xacro:include filename="$(find ur_description)/urdf/ur_macro.xacro"/> -->
<!-- Add dynamics tag with damping and friction and implicitSpringDamper for the joints with the gazebo reference
See https://github.com/UniversalRobots/Universal_Robots_ROS2_Gazebo_Simulation/issues/19 -->
<!--
Base UR robot series xacro macro.
NOTE this is NOT a URDF. It cannot directly be loaded by consumers
expecting a flattened '.urdf' file. See the top-level '.xacro' for that
(but note that .xacro must still be processed by the xacro command).
This file models the base kinematic chain of a UR robot, which then gets
parameterised by various configuration files to convert it into a UR3(e),
UR5(e), UR10(e) or UR16e.
NOTE the default kinematic parameters (i.e., link lengths, frame locations,
offsets, etc) do not correspond to any particular robot. They are defaults
only. There WILL be non-zero offsets between the Forward Kinematics results
in TF (i.e., robot_state_publisher) and the values reported by the Teach
Pendant.
For accurate (and robot-specific) transforms, the 'kinematics_parameters_file'
parameter MUST point to a .yaml file containing the appropriate values for
the targeted robot.
If using the UniversalRobots/Universal_Robots_ROS_Driver, follow the steps
described in the readme of that repository to extract the kinematic
calibration from the controller and generate the required .yaml file.
Main author of the migration to yaml configs Ludovic Delval.
Contributors to previous versions (in no particular order)
- Denis Stogl
- Lovro Ivanov
- Felix Messmer
- Kelsey Hawkins
- Wim Meeussen
- Shaun Edwards
- Nadia Hammoudeh Garcia
- Dave Hershberger
- G. vd. Hoorn
- Philip Long
- Dave Coleman
- Miguel Prada
- Mathias Luedtke
- Marcel Schnirring
- Felix von Drigalski
- Felix Exner
- Jimmy Da Silva
- Ajit Krisshna N L
- Muhammad Asif Rana
-->
<!--
NOTE the macro defined in this file is NOT part of the public API of this
package. Users CANNOT rely on this file being available, or stored in
this location. Nor can they rely on the existence of the macro.
-->
<!-- <xacro:include filename="robotiq_arg2f_transmission.xacro" /> -->
<ros2_control name="ur" type="system">
<hardware>
<plugin>ur_robot_driver/URPositionHardwareInterface</plugin>
<param name="robot_ip">0.0.0.0</param>
<param name="script_filename"></param>
<param name="output_recipe_filename"></param>
<param name="input_recipe_filename"></param>
<param name="headless_mode">False</param>
<param name="reverse_port">50001</param>
<param name="script_sender_port">50002</param>
<param name="reverse_ip">0.0.0.0</param>
<param name="script_command_port">50004</param>
<param name="trajectory_port">50003</param>
<param name="tf_prefix">ur_</param>
<param name="non_blocking_read">False</param>
<param name="servoj_gain">2000</param>
<param name="servoj_lookahead_time">0.03</param>
<param name="use_tool_communication">False</param>
<param name="kinematics/hash">calib_209549117540498681</param>
<param name="tool_voltage">0</param>
<param name="tool_parity">0</param>
<param name="tool_baud_rate">115200</param>
<param name="tool_stop_bits">1</param>
<param name="tool_rx_idle_chars">1.5</param>
<param name="tool_tx_idle_chars">3.5</param>
<param name="tool_device_name">/tmp/ttyUR</param>
<param name="tool_tcp_port">54321</param>
<param name="keep_alive_count">2</param>
</hardware>
<joint name="ur_shoulder_pan_joint">
<command_interface name="position">
<param name="min">{-2*pi}</param>
<param name="max">{2*pi}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.15</param>
<param name="max">3.15</param>
</command_interface>
<state_interface name="position">
<!-- initial position for the FakeSystem and simulation -->
<param name="initial_value">0.0</param>
</state_interface>
<state_interface name="velocity"/>
<state_interface name="effort"/>
</joint>
<joint name="ur_shoulder_lift_joint">
<command_interface name="position">
<param name="min">{-2*pi}</param>
<param name="max">{2*pi}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.15</param>
<param name="max">3.15</param>
</command_interface>
<state_interface name="position">
<!-- initial position for the FakeSystem and simulation -->
<param name="initial_value">-1.57</param>
</state_interface>
<state_interface name="velocity"/>
<state_interface name="effort"/>
</joint>
<joint name="ur_elbow_joint">
<command_interface name="position">
<param name="min">{-pi}</param>
<param name="max">{pi}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.15</param>
<param name="max">3.15</param>
</command_interface>
<state_interface name="position">
<!-- initial position for the FakeSystem and simulation -->
<param name="initial_value">0.0</param>
</state_interface>
<state_interface name="velocity"/>
<state_interface name="effort"/>
</joint>
<joint name="ur_wrist_1_joint">
<command_interface name="position">
<param name="min">{-2*pi}</param>
<param name="max">{2*pi}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.2</param>
<param name="max">3.2</param>
</command_interface>
<state_interface name="position">
<!-- initial position for the FakeSystem and simulation -->
<param name="initial_value">-1.57</param>
</state_interface>
<state_interface name="velocity"/>
<state_interface name="effort"/>
</joint>
<joint name="ur_wrist_2_joint">
<command_interface name="position">
<param name="min">{-2*pi}</param>
<param name="max">{2*pi}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.2</param>
<param name="max">3.2</param>
</command_interface>
<state_interface name="position">
<!-- initial position for the FakeSystem and simulation -->
<param name="initial_value">0.0</param>
</state_interface>
<state_interface name="velocity"/>
<state_interface name="effort"/>
</joint>
<joint name="ur_wrist_3_joint">
<command_interface name="position">
<param name="min">{-2*pi}</param>
<param name="max">{2*pi}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.2</param>
<param name="max">3.2</param>
</command_interface>
<state_interface name="position">
<!-- initial position for the FakeSystem and simulation -->
<param name="initial_value">0.0</param>
</state_interface>
<state_interface name="velocity"/>
<state_interface name="effort"/>
</joint>
<sensor name="ur_tcp_fts_sensor">
<state_interface name="force.x"/>
<state_interface name="force.y"/>
<state_interface name="force.z"/>
<state_interface name="torque.x"/>
<state_interface name="torque.y"/>
<state_interface name="torque.z"/>
</sensor>
<!-- NOTE The following are joints used only for testing with fake hardware and will change in the future -->
<gpio name="ur_speed_scaling">
<state_interface name="speed_scaling_factor"/>
<param name="initial_speed_scaling_factor">1</param>
<command_interface name="target_speed_fraction_cmd"/>
<command_interface name="target_speed_fraction_async_success"/>
</gpio>
<gpio name="ur_gpio">
<command_interface name="standard_digital_output_cmd_0"/>
<command_interface name="standard_digital_output_cmd_1"/>
<command_interface name="standard_digital_output_cmd_2"/>
<command_interface name="standard_digital_output_cmd_3"/>
<command_interface name="standard_digital_output_cmd_4"/>
<command_interface name="standard_digital_output_cmd_5"/>
<command_interface name="standard_digital_output_cmd_6"/>
<command_interface name="standard_digital_output_cmd_7"/>
<command_interface name="standard_digital_output_cmd_8"/>
<command_interface name="standard_digital_output_cmd_9"/>
<command_interface name="standard_digital_output_cmd_10"/>
<command_interface name="standard_digital_output_cmd_11"/>
<command_interface name="standard_digital_output_cmd_12"/>
<command_interface name="standard_digital_output_cmd_13"/>
<command_interface name="standard_digital_output_cmd_14"/>
<command_interface name="standard_digital_output_cmd_15"/>
<command_interface name="standard_digital_output_cmd_16"/>
<command_interface name="standard_digital_output_cmd_17"/>
<command_interface name="standard_analog_output_cmd_0"/>
<command_interface name="standard_analog_output_cmd_1"/>
<command_interface name="tool_voltage_cmd"/>
<command_interface name="io_async_success"/>
<state_interface name="digital_output_0"/>
<state_interface name="digital_output_1"/>
<state_interface name="digital_output_2"/>
<state_interface name="digital_output_3"/>
<state_interface name="digital_output_4"/>
<state_interface name="digital_output_5"/>
<state_interface name="digital_output_6"/>
<state_interface name="digital_output_7"/>
<state_interface name="digital_output_8"/>
<state_interface name="digital_output_9"/>
<state_interface name="digital_output_10"/>
<state_interface name="digital_output_11"/>
<state_interface name="digital_output_12"/>
<state_interface name="digital_output_13"/>
<state_interface name="digital_output_14"/>
<state_interface name="digital_output_15"/>
<state_interface name="digital_output_16"/>
<state_interface name="digital_output_17"/>
<state_interface name="digital_input_0"/>
<state_interface name="digital_input_1"/>
<state_interface name="digital_input_2"/>
<state_interface name="digital_input_3"/>
<state_interface name="digital_input_4"/>
<state_interface name="digital_input_5"/>
<state_interface name="digital_input_6"/>
<state_interface name="digital_input_7"/>
<state_interface name="digital_input_8"/>
<state_interface name="digital_input_9"/>
<state_interface name="digital_input_10"/>
<state_interface name="digital_input_11"/>
<state_interface name="digital_input_12"/>
<state_interface name="digital_input_13"/>
<state_interface name="digital_input_14"/>
<state_interface name="digital_input_15"/>
<state_interface name="digital_input_16"/>
<state_interface name="digital_input_17"/>
<state_interface name="standard_analog_output_0"/>
<state_interface name="standard_analog_output_1"/>
<state_interface name="standard_analog_input_0"/>
<state_interface name="standard_analog_input_1"/>
<state_interface name="analog_io_type_0"/>
<state_interface name="analog_io_type_1"/>
<state_interface name="analog_io_type_2"/>
<state_interface name="analog_io_type_3"/>
<state_interface name="tool_mode"/>
<state_interface name="tool_output_voltage"/>
<state_interface name="tool_output_current"/>
<state_interface name="tool_temperature"/>
<state_interface name="tool_analog_input_0"/>
<state_interface name="tool_analog_input_1"/>
<state_interface name="tool_analog_input_type_0"/>
<state_interface name="tool_analog_input_type_1"/>
<state_interface name="robot_mode"/>
<state_interface name="robot_status_bit_0"/>
<state_interface name="robot_status_bit_1"/>
<state_interface name="robot_status_bit_2"/>
<state_interface name="robot_status_bit_3"/>
<state_interface name="safety_mode"/>
<state_interface name="safety_status_bit_0"/>
<state_interface name="safety_status_bit_1"/>
<state_interface name="safety_status_bit_2"/>
<state_interface name="safety_status_bit_3"/>
<state_interface name="safety_status_bit_4"/>
<state_interface name="safety_status_bit_5"/>
<state_interface name="safety_status_bit_6"/>
<state_interface name="safety_status_bit_7"/>
<state_interface name="safety_status_bit_8"/>
<state_interface name="safety_status_bit_9"/>
<state_interface name="safety_status_bit_10"/>
<state_interface name="program_running"/>
</gpio>
<gpio name="ur_payload">
<command_interface name="mass"/>
<command_interface name="cog.x"/>
<command_interface name="cog.y"/>
<command_interface name="cog.z"/>
<command_interface name="payload_async_success"/>
</gpio>
<gpio name="ur_resend_robot_program">
<command_interface name="resend_robot_program_cmd"/>
<command_interface name="resend_robot_program_async_success"/>
</gpio>
<gpio name="ur_hand_back_control">
<command_interface name="hand_back_control_cmd"/>
<command_interface name="hand_back_control_async_success"/>
</gpio>
<gpio name="ur_zero_ftsensor">
<command_interface name="zero_ftsensor_cmd"/>
<command_interface name="zero_ftsensor_async_success"/>
</gpio>
<gpio name="ur_system_interface">
<state_interface name="initialized"/>
</gpio>
</ros2_control>
<!-- Add URDF transmission elements (for ros_control) -->
<!--<xacro:ur_arm_transmission prefix="${prefix}" hw_interface="${transmission_hw_interface}" />-->
<!-- Placeholder for ros2_control transmission which don't yet exist -->
<!-- links - main serial chain -->
<link name="ur_base_link"/>
<link name="ur_base_link_inertia">
<visual>
<origin rpy="0 0 3.141592653589793" xyz="0 0 0"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/visual/base.dae"/>
</geometry>
</visual>
<collision>
<origin rpy="0 0 3.141592653589793" xyz="0 0 0"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/collision/base.stl"/>
</geometry>
</collision>
<inertial>
<mass value="4.0"/>
<origin rpy="0 0 0" xyz="0 0 0"/>
<inertia ixx="0.00443333156" ixy="0.0" ixz="0.0" iyy="0.00443333156" iyz="0.0" izz="0.0072"/>
</inertial>
</link>
<link name="ur_shoulder_link">
<visual>
<origin rpy="0 0 3.141592653589793" xyz="0 0 0"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/visual/shoulder.dae"/>
</geometry>
</visual>
<collision>
<origin rpy="0 0 3.141592653589793" xyz="0 0 0"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/collision/shoulder.stl"/>
</geometry>
</collision>
<inertial>
<mass value="3.7"/>
<origin rpy="0 0 0" xyz="0 0 0"/>
<inertia ixx="0.014972352344389999" ixy="0.0" ixz="0.0" iyy="0.014972352344389999" iyz="0.0" izz="0.01040625"/>
</inertial>
</link>
<link name="ur_upper_arm_link">
<visual>
<origin rpy="1.5707963267948966 0 -1.5707963267948966" xyz="0 0 0.13585"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/visual/upperarm.dae"/>
</geometry>
</visual>
<collision>
<origin rpy="1.5707963267948966 0 -1.5707963267948966" xyz="0 0 0.13585"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/collision/upperarm.stl"/>
</geometry>
</collision>
<inertial>
<mass value="8.393"/>
<origin rpy="0 1.5707963267948966 0" xyz="-0.2125 0.0 0.136"/>
<inertia ixx="0.1338857818623325" ixy="0.0" ixz="0.0" iyy="0.1338857818623325" iyz="0.0" izz="0.0151074"/>
</inertial>
</link>
<link name="ur_forearm_link">
<visual>
<origin rpy="1.5707963267948966 0 -1.5707963267948966" xyz="0 0 0.0165"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/visual/forearm.dae"/>
</geometry>
</visual>
<collision>
<origin rpy="1.5707963267948966 0 -1.5707963267948966" xyz="0 0 0.0165"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/collision/forearm.stl"/>
</geometry>
</collision>
<inertial>
<mass value="2.275"/>
<origin rpy="0 1.5707963267948966 0" xyz="-0.196125 0.0 0.0165"/>
<inertia ixx="0.03121679102890359" ixy="0.0" ixz="0.0" iyy="0.03121679102890359" iyz="0.0" izz="0.004095"/>
</inertial>
</link>
<link name="ur_wrist_1_link">
<visual>
<origin rpy="1.5707963267948966 0 0" xyz="0 0 -0.093"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/visual/wrist1.dae"/>
</geometry>
</visual>
<collision>
<origin rpy="1.5707963267948966 0 0" xyz="0 0 -0.093"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/collision/wrist1.stl"/>
</geometry>
</collision>
<inertial>
<mass value="1.219"/>
<origin rpy="0 0 0" xyz="0 0 0"/>
<inertia ixx="0.0020138887777775" ixy="0.0" ixz="0.0" iyy="0.0020138887777775" iyz="0.0" izz="0.0021942"/>
</inertial>
</link>
<link name="ur_wrist_2_link">
<visual>
<origin rpy="0 0 0" xyz="0 0 -0.095"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/visual/wrist2.dae"/>
</geometry>
</visual>
<collision>
<origin rpy="0 0 0" xyz="0 0 -0.095"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/collision/wrist2.stl"/>
</geometry>
</collision>
<inertial>
<mass value="1.219"/>
<origin rpy="0 0 0" xyz="0 0 0"/>
<inertia ixx="0.0018310388509175" ixy="0.0" ixz="0.0" iyy="0.0018310388509175" iyz="0.0" izz="0.0021942"/>
</inertial>
</link>
<link name="ur_wrist_3_link">
<visual>
<origin rpy="1.5707963267948966 0 0" xyz="0 0 -0.0818"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/visual/wrist3.dae"/>
</geometry>
</visual>
<collision>
<origin rpy="1.5707963267948966 0 0" xyz="0 0 -0.0818"/>
<geometry>
<mesh filename="package://ur_description/meshes/ur5/collision/wrist3.stl"/>
</geometry>
</collision>
<inertial>
<mass value="0.1879"/>
<origin rpy="0 0 0" xyz="0.0 0.0 -0.01525"/>
<inertia ixx="8.062472608343e-05" ixy="0.0" ixz="0.0" iyy="8.062472608343e-05" iyz="0.0" izz="0.0001321171875"/>
</inertial>
</link>
<!-- base_joint fixes base_link to the environment -->
<joint name="ur_base_joint" type="fixed">
<origin rpy="0 0 0" xyz="0.1 0 0.64"/>
<parent link="base_link"/>
<child link="ur_base_link"/>
</joint>
<!-- joints - main serial chain -->
<joint name="ur_base_link-base_link_inertia" type="fixed">
<parent link="ur_base_link"/>
<child link="ur_base_link_inertia"/>
<!-- 'base_link' is REP-103 aligned (so X+ forward), while the internal
frames of the robot/controller have X+ pointing backwards.
Use the joint between 'base_link' and 'base_link_inertia' (a dummy
link/frame) to introduce the necessary rotation over Z (of pi rad).
-->
<origin rpy="0 0 3.141592653589793" xyz="0 0 0"/>
</joint>
<joint name="ur_shoulder_pan_joint" type="revolute">
<parent link="ur_base_link_inertia"/>
<child link="ur_shoulder_link"/>
<origin rpy="0 0 0" xyz="0 0 0.089159"/>
<axis xyz="0 0 1"/>
<limit effort="150.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/>
<safety_controller k_position="20" k_velocity="0.0" soft_lower_limit="-6.133185307179586" soft_upper_limit="6.133185307179586"/>
<dynamics damping="0.7" friction="1.0"/>
</joint>
<joint name="ur_shoulder_lift_joint" type="revolute">
<parent link="ur_shoulder_link"/>
<child link="ur_upper_arm_link"/>
<origin rpy="1.570796327 0 0" xyz="0 0 0"/>
<axis xyz="0 0 1"/>
<limit effort="150.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/>
<safety_controller k_position="20" k_velocity="0.0" soft_lower_limit="-6.133185307179586" soft_upper_limit="6.133185307179586"/>
<dynamics damping="0.7" friction="1.0"/>
</joint>
<joint name="ur_elbow_joint" type="revolute">
<parent link="ur_upper_arm_link"/>
<child link="ur_forearm_link"/>
<origin rpy="0 0 0" xyz="-0.425 0 0"/>
<axis xyz="0 0 1"/>
<limit effort="150.0" lower="-3.141592653589793" upper="3.141592653589793" velocity="3.141592653589793"/>
<safety_controller k_position="20" k_velocity="0.0" soft_lower_limit="-2.991592653589793" soft_upper_limit="2.991592653589793"/>
<dynamics damping="0.7" friction="1.0"/>
</joint>
<joint name="ur_wrist_1_joint" type="revolute">
<parent link="ur_forearm_link"/>
<child link="ur_wrist_1_link"/>
<origin rpy="0 0 0" xyz="-0.39225 0 0.10915"/>
<axis xyz="0 0 1"/>
<limit effort="28.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/>
<safety_controller k_position="20" k_velocity="0.0" soft_lower_limit="-6.133185307179586" soft_upper_limit="6.133185307179586"/>
<dynamics damping="0.7" friction="1.0"/>
</joint>
<joint name="ur_wrist_2_joint" type="revolute">
<parent link="ur_wrist_1_link"/>
<child link="ur_wrist_2_link"/>
<origin rpy="1.570796327 0 0" xyz="0 -0.09465 -1.941303950897609e-11"/>
<axis xyz="0 0 1"/>
<limit effort="28.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/>
<safety_controller k_position="20" k_velocity="0.0" soft_lower_limit="-6.133185307179586" soft_upper_limit="6.133185307179586"/>
<dynamics damping="0.7" friction="1.0"/>
</joint>
<joint name="ur_wrist_3_joint" type="revolute">
<parent link="ur_wrist_2_link"/>
<child link="ur_wrist_3_link"/>
<origin rpy="1.570796326589793 3.141592653589793 3.141592653589793" xyz="0 0.0823 -1.688001216681175e-11"/>
<axis xyz="0 0 1"/>
<limit effort="28.0" lower="-6.283185307179586" upper="6.283185307179586" velocity="3.141592653589793"/>
<safety_controller k_position="20" k_velocity="0.0" soft_lower_limit="-6.133185307179586" soft_upper_limit="6.133185307179586"/>
<dynamics damping="0.7" friction="1.0"/>
</joint>
<gazebo reference="ur_shoulder_pan_joint">
<implicitSpringDamper>true</implicitSpringDamper>
</gazebo>
<gazebo reference="ur_shoulder_lift_joint">
<implicitSpringDamper>true</implicitSpringDamper>
</gazebo>
<gazebo reference="ur_elbow_joint">
<implicitSpringDamper>true</implicitSpringDamper>
</gazebo>
<gazebo reference="ur_wrist_1_joint">
<implicitSpringDamper>true</implicitSpringDamper>
</gazebo>
<gazebo reference="ur_wrist_2_joint">
<implicitSpringDamper>true</implicitSpringDamper>
</gazebo>
<gazebo reference="ur_wrist_3_joint">
<implicitSpringDamper>true</implicitSpringDamper>
</gazebo>
<link name="ur_ft_frame"/>
<joint name="ur_wrist_3_link-ft_frame" type="fixed">
<parent link="ur_wrist_3_link"/>
<child link="ur_ft_frame"/>
<origin rpy="3.141592653589793 0 0" xyz="0 0 0"/>
</joint>
<!-- ROS-Industrial 'base' frame - base_link to UR 'Base' Coordinates transform -->
<link name="ur_base"/>
<joint name="ur_base_link-base_fixed_joint" type="fixed">
<!-- Note the rotation over Z of pi radians - as base_link is REP-103
aligned (i.e., has X+ forward, Y+ left and Z+ up), this is needed
to correctly align 'base' with the 'Base' coordinate system of
the UR controller.
-->
<origin rpy="0 0 3.141592653589793" xyz="0 0 0"/>
<parent link="ur_base_link"/>
<child link="ur_base"/>
</joint>
<!-- ROS-Industrial 'flange' frame - attachment point for EEF models -->
<link name="ur_flange"/>
<joint name="ur_wrist_3-flange" type="fixed">
<parent link="ur_wrist_3_link"/>
<child link="ur_flange"/>
<origin rpy="0 -1.5707963267948966 -1.5707963267948966" xyz="0 0 0"/>
</joint>
<!-- ROS-Industrial 'tool0' frame - all-zeros tool frame -->
<link name="ur_tool0"/>
<joint name="ur_flange-tool0" type="fixed">
<!-- default toolframe - X+ left, Y+ up, Z+ front -->
<origin rpy="1.5707963267948966 0 1.5707963267948966" xyz="0 0 0"/>
<parent link="ur_flange"/>
<child link="ur_tool0"/>
</joint>
<link name="ur_robotiq_arg2f_base_link">
<inertial>
<origin rpy="0 0 0" xyz="8.625E-08 -4.6583E-06 0.03145"/>
<mass value="0.22652"/>
<inertia ixx="0.00020005" ixy="-4.2442E-10" ixz="-2.9069E-10" iyy="0.00017832" iyz="-3.4402E-08" izz="0.00013478"/>
</inertial>
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/visual/robotiq_arg2f_base_link.stl"/>
</geometry>
<material name="">
<color rgba="0.1 0.1 0.1 1"/>
</material>
</visual>
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/collision/robotiq_arg2f_base_link.stl"/>
</geometry>
</collision>
</link>
<link name="ur_left_outer_knuckle">
<inertial>
<origin rpy="0 0 0" xyz="-0.000200000000003065 0.0199435877845359 0.0292245259211331"/>
<mass value="0.00853198276973456"/>
<inertia ixx="2.89328108496468E-06" ixy="-1.57935047237397E-19" ixz="-1.93980378593255E-19" iyy="1.86719750325683E-06" iyz="-1.21858577871576E-06" izz="1.21905238907251E-06"/>
</inertial>
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/visual/robotiq_arg2f_140_outer_knuckle.stl"/>
</geometry>
<material name="">
<color rgba="0.792156862745098 0.819607843137255 0.933333333333333 1"/>
</material>
</visual>
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/collision/robotiq_arg2f_140_outer_knuckle.stl"/>
</geometry>
</collision>
</link>
<link name="ur_left_outer_finger">
<inertial>
<origin rpy="0 0 0" xyz="0.00030115855001899 0.0373907951953854 -0.0208027427000385"/>
<mass value="0.022614240507152"/>
<inertia ixx="1.52518312458174E-05" ixy="9.76583423954399E-10" ixz="-5.43838577022588E-10" iyy="6.17694243867776E-06" iyz="6.78636130740228E-06" izz="1.16494917907219E-05"/>
</inertial>
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/visual/robotiq_arg2f_140_outer_finger.stl"/>
</geometry>
<material name="">
<color rgba="0.1 0.1 0.1 1"/>
</material>
</visual>
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/collision/robotiq_arg2f_140_outer_finger.stl"/>
</geometry>
</collision>
</link>
<link name="ur_left_inner_finger">
<inertial>
<origin rpy="0 0 0" xyz="0.000299999999999317 0.0160078233491243 -0.0136945669206257"/>
<mass value="0.0104003125914103"/>
<inertia ixx="2.71909453810972E-06" ixy="1.35402465472579E-21" ixz="-7.1817349065269E-22" iyy="7.69100314106116E-07" iyz="6.74715432769696E-07" izz="2.30315190420171E-06"/>
</inertial>
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/visual/robotiq_arg2f_140_inner_finger.stl"/>
</geometry>
<material name="">
<color rgba="0.1 0.1 0.1 1"/>
</material>
</visual>
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/collision/robotiq_arg2f_140_inner_finger.stl"/>
</geometry>
</collision>
</link>
<link name="ur_left_inner_finger_pad">
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<box size="0.027 0.065 0.0075"/>
</geometry>
<material name="">
<color rgba="0.9 0.9 0.9 1"/>
</material>
</visual>
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<box size="0.03 0.07 0.0075"/>
</geometry>
<material name="">
<color rgba="0.9 0.0 0.0 1"/>
</material>
</collision>
</link>
<link name="ur_left_inner_knuckle">
<inertial>
<origin rpy="0 0 0" xyz="0.000123011831763771 0.0507850843201817 0.00103968640075166"/>
<mass value="0.0271177346495152"/>
<inertia ixx="2.61910379223783E-05" ixy="-2.43616858946494E-07" ixz="-6.37789906117123E-09" iyy="2.8270243746167E-06" iyz="-5.37200748039765E-07" izz="2.83695868220296E-05"/>
</inertial>
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/visual/robotiq_arg2f_140_inner_knuckle.stl"/>
</geometry>
<material name="">
<color rgba="0.1 0.1 0.1 1"/>
</material>
</visual>
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/collision/robotiq_arg2f_140_inner_knuckle.stl"/>
</geometry>
</collision>
</link>
<link name="ur_right_outer_knuckle">
<inertial>
<origin rpy="0 0 0" xyz="-0.000200000000003065 0.0199435877845359 0.0292245259211331"/>
<mass value="0.00853198276973456"/>
<inertia ixx="2.89328108496468E-06" ixy="-1.57935047237397E-19" ixz="-1.93980378593255E-19" iyy="1.86719750325683E-06" iyz="-1.21858577871576E-06" izz="1.21905238907251E-06"/>
</inertial>
<visual>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/visual/robotiq_arg2f_140_outer_knuckle.stl"/>
</geometry>
<material name="">
<color rgba="0.792156862745098 0.819607843137255 0.933333333333333 1"/>
</material>
</visual>
<collision>
<origin rpy="0 0 0" xyz="0 0 0"/>
<geometry>
<mesh filename="package://tinker_description/meshes/collision/robotiq_arg2f_140_outer_knuckle.stl"/>
</geometry>
</collision>
</link>
<link name="ur_right_outer_finger">
<inertial>