-
Notifications
You must be signed in to change notification settings - Fork 0
/
egu_50.xacro
59 lines (48 loc) · 2.35 KB
/
egu_50.xacro
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
<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">
<!--degrees to radians-->
<xacro:macro name="egu_50" params="prefix_1 prefix_2 meshType">
<!-- imports -->
<xacro:include filename="$(find egu_description)/urdf/egu_50_base_link.urdf.xacro" />
<xacro:include filename="$(find egu_description)/urdf/egu_50_fingers_link.urdf.xacro" />
<xacro:include filename="$(find egu_description)/urdf/egu_50_fingers_version2_link.urdf.xacro" />
<!--xacro:include filename="$(find egu_description)/urdf/egu_50.gazebo.xacro" /-->
<xacro:include filename="$(find egu_description)/urdf/egu_50.transmission.xacro" />
<xacro:egu_50_base_link prefix="${prefix_1}_" meshType="${meshType}" />
<!--xacro:egu_50_fingers_link prefix="${prefix_2}_" meshType="${meshType}" /-->
<xacro:egu_50_fingers_link prefix="${prefix_2}_" meshType="${meshType}" />
<xacro:egu_50_transmission prefix="${prefix_2}_" />
<!-- links -->
<!--link name="world" /-->
<!--
<joint name="fixed" type="fixed">
<parent link="world" />
<child link="${prefix}base_link" />
</joint>
-->
<!-- <joint name="fixed_joint_gripper_base_link_right" type="fixed">
<origin xyz="0.018 0 0.01" rpy="1.5708 0 -1.5708" />
<parent link="${prefix_1}_translational_right" />
<child link="${prefix_2}_base_link_right" />
<axis xyz="0 0 0" />
</joint>
<joint name="fixed_joint_gripper_base_link_left" type="fixed">
<origin xyz="-0.018 0 0.01" rpy="1.5708 0 1.5708" />
<parent link="${prefix_1}_translational_left" />
<child link="${prefix_2}_base_link_left" />
<axis xyz="0 0 0" />
</joint> -->
<joint name="fixed_joint_gripper_base_link_right" type="fixed">
<origin xyz="0.018 0 0.01" rpy="0 0 0" />
<parent link="${prefix_1}_translational_right" />
<child link="${prefix_2}_base_link_right" />
<axis xyz="0 0 0" />
</joint>
<joint name="fixed_joint_gripper_base_link_left" type="fixed">
<origin xyz="-0.018 0 0.01" rpy="0 0 0" />
<parent link="${prefix_1}_translational_left" />
<child link="${prefix_2}_base_link_left" />
<axis xyz="0 0 0" />
</joint>
</xacro:macro>
</robot>