simple_humanoid_classical.srdf 4.45 KB
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
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
<?xml version="1.0"?>
<!--

   This file defines semantics group of joints.

   It is an alternative way of specifying semantics on the robot
   structure.

   It also provides:
   - the half-sitting robot state,
   TODO: - add the grippers
   TODO: - the set of interesting collision pairs

  -->
<robot name="simple_humanoid">
  <!-- groups -->

  <!-- To remove when the grippers will be added
  <group name="r_arm">
    <chain base_link="torso" tip_link="r_gripper"/>
  </group>

  <group name="l_arm">
    <chain base_link="torso" tip_link="l_gripper"/>
  </group>
  -->

  <group name="r_leg">
    <chain base_link="base_link" tip_link="r_foot"/>
  </group>

  <group name="l_leg">
    <chain base_link="base_link" tip_link="l_foot"/>
  </group>

  <!-- To remove when the grippers will be added
  <group name="arms">
    <group name="l_arm"/>
    <group name="r_arm"/>
  </group>

  <group name="all">
    <group name="arms"/>
  </group>
  -->

  <group name="mapURDFToOpenHRP">
    <joint name="RLEG_HIP_R"/>
    <joint name="RLEG_HIP_P"      />
    <joint name="RLEG_HIP_Y"      />
    <joint name="RLEG_KNEE"       />
    <joint name="RLEG_ANKLE_P"    />
    <joint name="RLEG_ANKLE_R"    />
    
    <joint name="LLEG_HIP_R"      />
    <joint name="LLEG_HIP_P"      />
    <joint name="LLEG_HIP_Y"      />
    <joint name="LLEG_KNEE"       />
    <joint name="LLEG_ANKLE_P"    />
    <joint name="LLEG_ANKLE_R"    />

    <joint name="WAIST_P"         />
    <joint name="WAIST_R"         />
    <joint name="CHEST"           />

    <joint name="RARM_SHOULDER_P" />
    <joint name="RARM_SHOULDER_R" />
    <joint name="RARM_SHOULDER_Y" />
    <joint name="RARM_ELBOW"      />
    <joint name="RARM_WRIST_Y"    />
    <joint name="RARM_WRIST_P"    />
    <joint name="RARM_WRIST_R"    />

    <joint name="LARM_SHOULDER_P" />
    <joint name="LARM_SHOULDER_R" />
    <joint name="LARM_SHOULDER_Y" />
    <joint name="LARM_ELBOW"      />
    <joint name="LARM_WRIST_Y"    />
    <joint name="LARM_WRIST_P"    />
    <joint name="LARM_WRIST_R"    />
    
  </group>
  
  <!-- end effector -->
  <!-- To remove when the grippers will be added
  <end_effector name="r_arm" parent_link="r_gripper" group="r_arm"/>
  <end_effector name="l_arm" parent_link="l_gripper" group="l_arm"/>
  -->
  <end_effector name="r_leg" parent_link="r_foot" group="r_leg"/>
  <end_effector name="l_leg" parent_link="l_foot" group="l_leg"/>

  <!-- pre-defined states -->
  <!-- simple_humanoid pre-defined states -->
  <group_state name="half_sitting" group="all">
    <!--  <joint name="waist" value="0 0 0 0 0 0 " /> -->
    <joint name="RLEG_HIP_R"      value="0" />
    <joint name="RLEG_HIP_P"      value="-0.453786" />
    <joint name="RLEG_HIP_Y"      value="0" />
    <joint name="RLEG_KNEE"       value="0.872665" />
    <joint name="RLEG_ANKLE_P"    value="-0.418879" />
    <joint name="RLEG_ANKLE_R"    value="0" />

    <joint name="RARM_SHOULDER_P" value="-0.17453" />
    <joint name="RARM_SHOULDER_R" value="0.261799" />
    <joint name="RARM_SHOULDER_Y" value="0" />
    <joint name="RARM_ELBOW"      value="-0.523599" />
    <joint name="RARM_WRIST_Y"    value="0" />
    <joint name="RARM_WRIST_P"    value="0" />
    <joint name="RARM_WRIST_R"    value="0" />

    <joint name="LLEG_HIP_R"      value="0" />
    <joint name="LLEG_HIP_P"      value="-0.453786" />
    <joint name="LLEG_HIP_Y"      value="0" />
    <joint name="LLEG_KNEE"       value="0.872665" />
    <joint name="LLEG_ANKLE_P"    value="-0.418879" />
    <joint name="LLEG_ANKLE_R"    value="0" />

    <joint name="LARM_SHOULDER_P" value="0.17453" />
    <joint name="LARM_SHOULDER_R" value="0.261799" />
    <joint name="LARM_SHOULDER_Y" value="0" />
    <joint name="LARM_ELBOW"      value="-0.523599" />
    <joint name="LARM_WRIST_Y"    value="0" />
    <joint name="LARM_WRIST_P"    value="0" />
    <joint name="LARM_WRIST_R"    value="0" />

    <joint name="WAIST_P"         value="0" />
    <joint name="WAIST_R"         value="0" />
    <joint name="CHEST"           value="0" />
  </group_state>

  <!--
   Simple Humnaoid Specificities.
     foot height = y axis
     foot width  = x axis
     foot depth  = z axis
  -->
  <specificities>
    <feet>
      <right>
        <size height="0.14" width="0.25" depth="0.10" />
        <anklePosition x="0.0" y="0.0" z="0.105" />
      </right>
      <left>
        <size height="0.14" width="0.25" depth="0.10" />
        <anklePosition x="0.0" y="0.0" z="0.105" />
      </left>
    </feet>
  </specificities>

</robot>