twins.srdf 10.7 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" ?>
<!--This does not replace URDF, and is not an extension of URDF.
    This is a format for representing semantic information about the robot structure.
    A URDF file must exist for this robot as well, where the joints and the links that are referenced are defined
-->
<robot name="twins">
    <!--GROUPS: Representation of a set of joints and links. This can be useful for specifying DOF to plan for, defining arms, end effectors, etc-->
    <!--LINKS: When a link is specified, the parent joint of that link (if it exists) is automatically included-->
    <!--JOINTS: When a joint is specified, the child link of that joint (which will always exist) is automatically included-->
    <!--CHAINS: When a chain is specified, all the links along the chain (including endpoints) are included in the group. Additionally, all the joints that are parents to included links are also included. This means that joints along the chain and the parent joint of the base link are included in the group-->
    <!--SUBGROUPS: Groups can also be formed by referencing to already defined group names-->
    <group name="r1">
13
        <chain base_link="robot1_base_link" tip_link="robot1_ee_link" />
14
15
    </group>
    <group name="r2">
16
        <chain base_link="robot2_base_link" tip_link="robot2_ee_link" />
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
    </group>
    <!--GROUP STATES: Purpose: Define a named state for a particular group, in terms of joint values. This is useful to define states like 'folded arms'-->
    <group_state name="home" group="r1">
        <joint name="robot1_elbow_joint" value="0.785398" />
        <joint name="robot1_shoulder_lift_joint" value="-1.5708" />
        <joint name="robot1_shoulder_pan_joint" value="-1.5708" />
        <joint name="robot1_wrist_1_joint" value="-0.785398" />
        <joint name="robot1_wrist_2_joint" value="-1.5707" />
        <joint name="robot1_wrist_3_joint" value="-0.785398" />
    </group_state>
    <group_state name="home" group="r2">
        <joint name="robot2_elbow_joint" value="0.785398" />
        <joint name="robot2_shoulder_lift_joint" value="-1.5708" />
        <joint name="robot2_shoulder_pan_joint" value="-1.5708" />
        <joint name="robot2_wrist_1_joint" value="-0.785398" />
        <joint name="robot2_wrist_2_joint" value="-1.5707" />
        <joint name="robot2_wrist_3_joint" value="-0.785398" />
    </group_state>
    <!--DISABLE COLLISIONS: By default it is assumed that any link of the robot could potentially come into collision with any other link in the robot. This tag disables collision checking between a specified pair of links. -->
    <disable_collisions link1="robot1_base_link" link2="robot1_shoulder_link" reason="Adjacent" />
    <disable_collisions link1="robot1_base_link" link2="robot2_base_link" reason="Adjacent" />
    <disable_collisions link1="robot1_base_link" link2="robot2_ee_link" reason="Never" />
    <disable_collisions link1="robot1_base_link" link2="robot2_forearm_link" reason="Never" />
    <disable_collisions link1="robot1_base_link" link2="robot2_shoulder_link" reason="Never" />
    <disable_collisions link1="robot1_base_link" link2="robot2_upper_arm_link" reason="Never" />
    <disable_collisions link1="robot1_base_link" link2="robot2_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot1_base_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_base_link" link2="robot2_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot1_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot1_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot1_wrist_3_link" reason="Adjacent" />
    <disable_collisions link1="robot1_ee_link" link2="robot2_base_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot2_ee_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot2_forearm_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot2_shoulder_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot2_upper_arm_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot2_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_ee_link" link2="robot2_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot1_forearm_link" link2="robot1_upper_arm_link" reason="Adjacent" />
    <disable_collisions link1="robot1_forearm_link" link2="robot1_wrist_1_link" reason="Adjacent" />
    <disable_collisions link1="robot1_forearm_link" link2="robot1_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_forearm_link" link2="robot2_base_link" reason="Never" />
    <disable_collisions link1="robot1_forearm_link" link2="robot2_ee_link" reason="Never" />
    <disable_collisions link1="robot1_forearm_link" link2="robot2_forearm_link" reason="Never" />
    <disable_collisions link1="robot1_forearm_link" link2="robot2_shoulder_link" reason="Never" />
    <disable_collisions link1="robot1_forearm_link" link2="robot2_upper_arm_link" reason="Never" />
    <disable_collisions link1="robot1_forearm_link" link2="robot2_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot1_forearm_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_forearm_link" link2="robot2_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot1_shoulder_link" link2="robot1_upper_arm_link" reason="Adjacent" />
    <disable_collisions link1="robot1_shoulder_link" link2="robot2_base_link" reason="Never" />
    <disable_collisions link1="robot1_shoulder_link" link2="robot2_ee_link" reason="Never" />
    <disable_collisions link1="robot1_shoulder_link" link2="robot2_forearm_link" reason="Never" />
    <disable_collisions link1="robot1_shoulder_link" link2="robot2_shoulder_link" reason="Never" />
    <disable_collisions link1="robot1_shoulder_link" link2="robot2_upper_arm_link" reason="Never" />
    <disable_collisions link1="robot1_shoulder_link" link2="robot2_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot1_shoulder_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_shoulder_link" link2="robot2_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot1_upper_arm_link" link2="robot2_base_link" reason="Never" />
    <disable_collisions link1="robot1_upper_arm_link" link2="robot2_ee_link" reason="Never" />
    <disable_collisions link1="robot1_upper_arm_link" link2="robot2_forearm_link" reason="Never" />
    <disable_collisions link1="robot1_upper_arm_link" link2="robot2_shoulder_link" reason="Never" />
    <disable_collisions link1="robot1_upper_arm_link" link2="robot2_upper_arm_link" reason="Never" />
    <disable_collisions link1="robot1_upper_arm_link" link2="robot2_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot1_upper_arm_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_upper_arm_link" link2="robot2_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot1_wrist_2_link" reason="Adjacent" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot1_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot2_base_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot2_ee_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot2_forearm_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot2_shoulder_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot2_upper_arm_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot2_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_1_link" link2="robot2_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_2_link" link2="robot1_wrist_3_link" reason="Adjacent" />
    <disable_collisions link1="robot1_wrist_2_link" link2="robot2_base_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_2_link" link2="robot2_ee_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_2_link" link2="robot2_forearm_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_2_link" link2="robot2_shoulder_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_2_link" link2="robot2_upper_arm_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_2_link" link2="robot2_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_2_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_2_link" link2="robot2_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_3_link" link2="robot2_base_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_3_link" link2="robot2_ee_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_3_link" link2="robot2_forearm_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_3_link" link2="robot2_shoulder_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_3_link" link2="robot2_upper_arm_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_3_link" link2="robot2_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_3_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot1_wrist_3_link" link2="robot2_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot2_base_link" link2="robot2_shoulder_link" reason="Adjacent" />
    <disable_collisions link1="robot2_ee_link" link2="robot2_wrist_1_link" reason="Never" />
    <disable_collisions link1="robot2_ee_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot2_ee_link" link2="robot2_wrist_3_link" reason="Adjacent" />
    <disable_collisions link1="robot2_forearm_link" link2="robot2_upper_arm_link" reason="Adjacent" />
    <disable_collisions link1="robot2_forearm_link" link2="robot2_wrist_1_link" reason="Adjacent" />
    <disable_collisions link1="robot2_forearm_link" link2="robot2_wrist_2_link" reason="Never" />
    <disable_collisions link1="robot2_shoulder_link" link2="robot2_upper_arm_link" reason="Adjacent" />
    <disable_collisions link1="robot2_wrist_1_link" link2="robot2_wrist_2_link" reason="Adjacent" />
    <disable_collisions link1="robot2_wrist_1_link" link2="robot2_wrist_3_link" reason="Never" />
    <disable_collisions link1="robot2_wrist_2_link" link2="robot2_wrist_3_link" reason="Adjacent" />
</robot>