jc-bao commited on
Commit
4d05517
·
1 Parent(s): 6bd96cb

:zap: add get up example

Browse files
processed/lafan/unitree_g1/humanoid/getup/0/trajectory_gmr.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:680bb743a32cae5ef393de1cb4d215cce32e3fa08dd1ca52a126e1ca44289cac
3
+ size 1453581
processed/lafan/unitree_g1/humanoid/getup/0/trajectory_ik.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdd5a2f3ce2e75b3aa3ef81df7b08d8b0cbe076dea66a573e3a061818ec9deba
3
+ size 4036742
processed/lafan/unitree_g1/humanoid/getup/0/trajectory_kinematic.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4069d645c5cef8d990b0e91206dad3bd2f1973d721262a870b582f0e3dc86808
3
+ size 4683002
processed/lafan/unitree_g1/humanoid/getup/0/trajectory_mjwp.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:476c669d7a91b0a7e8ccbadeac91c79a3bc4ce09bebab64dcf29cd7e6bf8454c
3
+ size 10435022
processed/lafan/unitree_g1/humanoid/getup/0/visualization_mjwp.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9995a05449b9aad75eac42ed2adb2d5dbe7a3950b0c9e162fbb038d095a313fc
3
+ size 24628524
processed/lafan/unitree_g1/humanoid/getup/scene.xml ADDED
@@ -0,0 +1,555 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <mujoco model="g1 scene">
2
+ <compiler angle="radian" meshdir="../../../assets/robots/unitree_g1/meshes" autolimits="true" />
3
+
4
+ <!-- performance options -->
5
+ <option timestep="0.02" iterations="2" ls_iterations="10">
6
+ <flag eulerdamp="disable" />
7
+ </option>
8
+
9
+ <visual>
10
+ <global azimuth="135" elevation="-25" offwidth="1920" offheight="1080" />
11
+ <quality shadowsize="8192" />
12
+ <headlight ambient="0.3 0.3 0.3" diffuse="0.6 0.6 0.6" specular="0 0 0" />
13
+ <scale forcewidth="0.25" contactwidth="0.4" contactheight="0.15" framelength="5"
14
+ framewidth="0.3" />
15
+ <rgba haze="0.15 0.25 0.35 1" force="1 0 0 1" />
16
+ </visual>
17
+
18
+ <custom>
19
+ <numeric data="15" name="max_contact_points" />
20
+ <numeric data="15" name="max_geom_pairs" />
21
+ </custom>
22
+
23
+ <default>
24
+ <default class="g1">
25
+ <default class="visual">
26
+ <geom group="2" type="mesh" density="0" material="silver" />
27
+ </default>
28
+ <default class="collision">
29
+ <geom group="3" rgba="0 1 0 1" type="capsule" />
30
+ <default class="hand_collision">
31
+ <geom type="sphere" pos="0.1 0.0 0.0" size="0.05" />
32
+ </default>
33
+ <default class="foot_collision">
34
+ <geom type="sphere" size="0.005" priority="1" friction="2.0" condim="3" />
35
+ </default>
36
+
37
+ </default>
38
+ <site group="5" rgba="1 0 0 1" />
39
+ <!-- Disable all contacts and use explicit contact pairs. -->
40
+ <geom condim="1" contype="0" conaffinity="0" />
41
+ <position kp="500" dampratio="1" inheritrange="1" />
42
+ <joint damping="0.0" armature="1.0" frictionloss="0.0" />
43
+
44
+ <default class="hip">
45
+ <default class="hip_pitch">
46
+ <joint axis="0 1 0" range="-2.5307 2.8798" />
47
+ </default>
48
+ <default class="hip_roll">
49
+ <joint axis="1 0 0" range="-0.5236 2.9671" />
50
+ </default>
51
+ <default class="hip_yaw">
52
+ <joint axis="0 0 1" range="-2.7576 2.7576" />
53
+ </default>
54
+ </default>
55
+ <default class="knee">
56
+ <joint axis="0 1 0" range="-0.087267 2.8798" />
57
+ </default>
58
+ <default class="ankle">
59
+ <position kp="500" dampratio="1" inheritrange="1" />
60
+ <default class="ankle_pitch">
61
+ <joint axis="0 1 0" range="-0.87267 0.5236" />
62
+ </default>
63
+ <default class="ankle_roll">
64
+ <joint axis="1 0 0" range="-0.2618 0.2618" />
65
+ </default>
66
+ </default>
67
+
68
+ <default class="waist_yaw">
69
+ <joint axis="0 0 1" range="-2.618 2.618" />
70
+ </default>
71
+ <default class="waist_pitch">
72
+ <joint axis="0 1 0" range="-0.52 0.52" />
73
+ </default>
74
+ <default class="waist_roll">
75
+ <joint axis="1 0 0" range="-0.52 0.52" />
76
+ </default>
77
+
78
+ <default class="shoulder">
79
+ <default class="shoulder_pitch">
80
+ <joint axis="0 1 0" range="-3.0892 2.6704" />
81
+ </default>
82
+ <default class="shoulder_roll">
83
+ <joint axis="1 0 0" />
84
+ </default>
85
+ <default class="shoulder_yaw">
86
+ <joint axis="0 0 1" range="-2.618 2.618" />
87
+ </default>
88
+ </default>
89
+
90
+ <default class="elbow">
91
+ <joint axis="0 1 0" range="-1.0472 2.0944" />
92
+ </default>
93
+
94
+ <default class="wrist">
95
+ <position kp="500" dampratio="1" inheritrange="1" />
96
+ <default class="wrist_roll">
97
+ <joint axis="1 0 0" range="-1.97222 1.97222" />
98
+ </default>
99
+ <default class="wrist_pitch">
100
+ <joint axis="0 1 0" range="-1.61443 1.61443" />
101
+ </default>
102
+ <default class="wrist_yaw">
103
+ <joint axis="0 0 1" range="-1.61443 1.61443" />
104
+ </default>
105
+ </default>
106
+ </default>
107
+ </default>
108
+
109
+ <asset>
110
+ <texture type="skybox" builtin="flat" rgb1="1 1 1" rgb2="1 1 1" width="3072" height="3072" />
111
+ <texture type="2d" colorspace="auto" name="groundplane" builtin="checker" mark="edge"
112
+ rgb1="1 1 1" rgb2="1.0 1.0 1.0" markrgb="1.0 1.0 1.0" width="300" height="300" />
113
+ <material name="groundplane" texture="groundplane" texuniform="true" texrepeat="4 4" />
114
+
115
+ <material name="silver" rgba="0.7 0.7 0.7 1" />
116
+ <material name="black" rgba="0.2 0.2 0.2 1" />
117
+
118
+ <mesh name="pelvis" file="pelvis.STL" />
119
+ <mesh name="pelvis_contour_link" file="pelvis_contour_link.STL" />
120
+ <mesh name="left_hip_pitch_link" file="left_hip_pitch_link.STL" />
121
+ <mesh name="left_hip_roll_link" file="left_hip_roll_link.STL" />
122
+ <mesh name="left_hip_yaw_link" file="left_hip_yaw_link.STL" />
123
+ <mesh name="left_knee_link" file="left_knee_link.STL" />
124
+ <mesh name="left_ankle_pitch_link" file="left_ankle_pitch_link.STL" />
125
+ <mesh name="left_ankle_roll_link" file="left_ankle_roll_link.STL" />
126
+ <mesh name="right_hip_pitch_link" file="right_hip_pitch_link.STL" />
127
+ <mesh name="right_hip_roll_link" file="right_hip_roll_link.STL" />
128
+ <mesh name="right_hip_yaw_link" file="right_hip_yaw_link.STL" />
129
+ <mesh name="right_knee_link" file="right_knee_link.STL" />
130
+ <mesh name="right_ankle_pitch_link" file="right_ankle_pitch_link.STL" />
131
+ <mesh name="right_ankle_roll_link" file="right_ankle_roll_link.STL" />
132
+ <mesh name="waist_yaw_link" file="waist_yaw_link_rev_1_0.STL" />
133
+ <mesh name="waist_roll_link" file="waist_roll_link_rev_1_0.STL" />
134
+ <mesh name="torso_link" file="torso_link_rev_1_0.STL" />
135
+ <mesh name="logo_link" file="logo_link.STL" />
136
+ <mesh name="head_link" file="head_link.STL" />
137
+ <mesh name="left_shoulder_pitch_link" file="left_shoulder_pitch_link.STL" />
138
+ <mesh name="left_shoulder_roll_link" file="left_shoulder_roll_link.STL" />
139
+ <mesh name="left_shoulder_yaw_link" file="left_shoulder_yaw_link.STL" />
140
+ <mesh name="left_elbow_link" file="left_elbow_link.STL" />
141
+ <mesh name="left_wrist_roll_link" file="left_wrist_roll_link.STL" />
142
+ <mesh name="left_wrist_pitch_link" file="left_wrist_pitch_link.STL" />
143
+ <mesh name="left_wrist_yaw_link" file="left_wrist_yaw_link.STL" />
144
+ <mesh name="left_rubber_hand" file="left_rubber_hand.STL" />
145
+ <mesh name="right_shoulder_pitch_link" file="right_shoulder_pitch_link.STL" />
146
+ <mesh name="right_shoulder_roll_link" file="right_shoulder_roll_link.STL" />
147
+ <mesh name="right_shoulder_yaw_link" file="right_shoulder_yaw_link.STL" />
148
+ <mesh name="right_elbow_link" file="right_elbow_link.STL" />
149
+ <mesh name="right_wrist_roll_link" file="right_wrist_roll_link.STL" />
150
+ <mesh name="right_wrist_pitch_link" file="right_wrist_pitch_link.STL" />
151
+ <mesh name="right_wrist_yaw_link" file="right_wrist_yaw_link.STL" />
152
+ <mesh name="right_rubber_hand" file="right_rubber_hand.STL" />
153
+ </asset>
154
+
155
+ <worldbody>
156
+ <light pos="0 0 5" dir="0 0 -1" type="directional" />
157
+ <geom name="floor" size="0 0 0.01" type="plane" material="groundplane" />
158
+ <body name="pelvis" pos="0 0 0.793" childclass="g1">
159
+ <camera name="track" pos="1.734 -1.135 .35" xyaxes="0.552 0.834 -0.000 -0.170 0.112 0.979"
160
+ mode="trackcom" />
161
+ <camera name="track2" pos="1.489 1.189 1.174" xyaxes="-0.609 0.793 -0.000 -0.221 -0.169 0.961"
162
+ mode="trackcom" />
163
+ <inertial pos="0 0 -0.07605" quat="1 0 -0.000399148 0" mass="3.813"
164
+ diaginertia="0.010549 0.0093089 0.0079184" />
165
+ <freejoint name="floating_base_joint" />
166
+ <geom class="visual" material="black" mesh="pelvis" />
167
+ <geom class="visual" mesh="pelvis_contour_link" />
168
+ <geom name="pelvis_collision" class="collision" type="sphere" size="0.07" pos="0 0 -0.08"
169
+ />
170
+ <site name="imu_in_pelvis" size="0.01" pos="0.04525 0 -0.08339" />
171
+ <site name="trace_pelvis" size="0.01" pos="0.04525 0 -0.08339" />
172
+ <body name="left_hip_pitch_link" pos="0 0.064452 -0.1027">
173
+ <inertial pos="0.002741 0.047791 -0.02606" quat="0.954862 0.293964 0.0302556 0.030122"
174
+ mass="1.35"
175
+ diaginertia="0.00181517 0.00153422 0.00116212" />
176
+ <joint name="left_hip_pitch_joint" class="hip_pitch" />
177
+ <geom class="visual" material="black" mesh="left_hip_pitch_link" />
178
+ <body name="left_hip_roll_link" pos="0 0.052 -0.030465" quat="0.996179 0 -0.0873386 0">
179
+ <inertial pos="0.029812 -0.001045 -0.087934"
180
+ quat="0.977808 -1.97119e-05 0.205576 -0.0403793" mass="1.52"
181
+ diaginertia="0.00254986 0.00241169 0.00148755" />
182
+ <joint name="left_hip_roll_joint" class="hip_roll" />
183
+ <geom class="visual" mesh="left_hip_roll_link" />
184
+ <geom name="left_hip_collision" class="collision" size="0.06"
185
+ fromto="0.02 0 0 0.02 0 -0.08" />
186
+ <body name="left_hip_yaw_link" pos="0.025001 0 -0.12412">
187
+ <inertial pos="-0.057709 -0.010981 -0.15078" quat="0.600598 0.15832 0.223482 0.751181"
188
+ mass="1.702"
189
+ diaginertia="0.00776166 0.00717575 0.00160139" />
190
+ <joint name="left_hip_yaw_joint" class="hip_yaw" />
191
+ <geom class="visual" mesh="left_hip_yaw_link" />
192
+ <geom name="left_thigh_collision" class="collision" size="0.055"
193
+ fromto="-0.0 0 -0.03 -0.06 0 -0.17" />
194
+ <body name="left_knee_link" pos="-0.078273 0.0021489 -0.17734"
195
+ quat="0.996179 0 0.0873386 0">
196
+ <inertial pos="0.005457 0.003964 -0.12074"
197
+ quat="0.923418 -0.0327699 0.0158246 0.382067" mass="1.932"
198
+ diaginertia="0.0113804 0.0112778 0.00146458" />
199
+ <joint name="left_knee_joint" class="knee" />
200
+ <geom class="visual" mesh="left_knee_link" />
201
+ <geom name="left_shin_collision" class="collision" size="0.045"
202
+ fromto="0.01 0 0 0.01 0 -0.15" />
203
+ <geom name="left_linkage_brace_collision" class="collision" size="0.03"
204
+ fromto="0.01 0 -0.2 0.01 0 -0.28" />
205
+ <body name="left_ankle_pitch_link" pos="0 -9.4445e-05 -0.30001">
206
+ <inertial pos="-0.007269 0 0.011137" quat="0.603053 0.369225 0.369225 0.603053"
207
+ mass="0.074"
208
+ diaginertia="1.89e-05 1.40805e-05 6.9195e-06" />
209
+ <joint name="left_ankle_pitch_joint" class="ankle_pitch" />
210
+ <geom class="visual" mesh="left_ankle_pitch_link" />
211
+ <body name="left_ankle_roll_link" pos="0 0 -0.017558">
212
+ <site name="left_foot" rgba="1 0 0 1" pos="0.04 0 -0.037" />
213
+ <inertial pos="0.026505 0 -0.016425"
214
+ quat="-0.000481092 0.728482 -0.000618967 0.685065" mass="0.608"
215
+ diaginertia="0.00167218 0.0016161 0.000217621" />
216
+ <joint name="left_ankle_roll_joint" class="ankle_roll" />
217
+ <geom class="visual" material="black" mesh="left_ankle_roll_link" />
218
+ <geom name="lf0" class="foot_collision" pos="-0.05 0.025 -0.03" />
219
+ <geom name="lf1" class="foot_collision" pos="-0.05 -0.025 -0.03" />
220
+ <geom name="lf2" class="foot_collision" pos="0.12 0.03 -0.03" />
221
+ <geom name="lf3" class="foot_collision" pos="0.12 -0.03 -0.03" />
222
+ <site name="trace_left_foot" size="0.01" pos="0.04 0 -0.037" />
223
+ <site name="contact_left_foot" size="0.01" pos="0.04 0 -0.037" />
224
+ </body>
225
+ </body>
226
+ </body>
227
+ </body>
228
+ </body>
229
+ </body>
230
+ <body name="right_hip_pitch_link" pos="0 -0.064452 -0.1027">
231
+ <inertial pos="0.002741 -0.047791 -0.02606" quat="0.954862 -0.293964 0.0302556 -0.030122"
232
+ mass="1.35"
233
+ diaginertia="0.00181517 0.00153422 0.00116212" />
234
+ <joint name="right_hip_pitch_joint" class="hip_pitch" />
235
+ <geom class="visual" material="black" mesh="right_hip_pitch_link" />
236
+ <body name="right_hip_roll_link" pos="0 -0.052 -0.030465" quat="0.996179 0 -0.0873386 0">
237
+ <inertial pos="0.029812 0.001045 -0.087934" quat="0.977808 1.97119e-05 0.205576 0.0403793"
238
+ mass="1.52"
239
+ diaginertia="0.00254986 0.00241169 0.00148755" />
240
+ <joint name="right_hip_roll_joint" class="hip_roll" />
241
+ <geom class="visual" mesh="right_hip_roll_link" />
242
+ <geom name="right_hip_collision" class="collision" size="0.06"
243
+ fromto="0.02 0 0 0.02 0 -0.08" />
244
+ <body name="right_hip_yaw_link" pos="0.025001 0 -0.12412">
245
+ <inertial pos="-0.057709 0.010981 -0.15078" quat="0.751181 0.223482 0.15832 0.600598"
246
+ mass="1.702"
247
+ diaginertia="0.00776166 0.00717575 0.00160139" />
248
+ <joint name="right_hip_yaw_joint" class="hip_yaw" />
249
+ <geom class="visual" mesh="right_hip_yaw_link" />
250
+ <geom name="right_thigh_collision" class="collision" size="0.055"
251
+ fromto="-0.0 0 -0.03 -0.06 0 -0.17" />
252
+ <body name="right_knee_link" pos="-0.078273 -0.0021489 -0.17734"
253
+ quat="0.996179 0 0.0873386 0">
254
+ <inertial pos="0.005457 -0.003964 -0.12074"
255
+ quat="0.923439 0.0345276 0.0116333 -0.382012" mass="1.932"
256
+ diaginertia="0.011374 0.0112843 0.00146452" />
257
+ <joint name="right_knee_joint" class="knee" />
258
+ <geom class="visual" mesh="right_knee_link" />
259
+ <geom name="right_shin_collision" class="collision" size="0.045"
260
+ fromto="0.01 0 0 0.01 0 -0.15" />
261
+ <geom name="right_linkage_brace_collision" class="collision" size="0.03"
262
+ fromto="0.01 0 -0.2 0.01 0 -0.28" />
263
+ <body name="right_ankle_pitch_link" pos="0 9.4445e-05 -0.30001">
264
+ <inertial pos="-0.007269 0 0.011137" quat="0.603053 0.369225 0.369225 0.603053"
265
+ mass="0.074"
266
+ diaginertia="1.89e-05 1.40805e-05 6.9195e-06" />
267
+ <joint name="right_ankle_pitch_joint" class="ankle_pitch" />
268
+ <geom class="visual" mesh="right_ankle_pitch_link" />
269
+ <body name="right_ankle_roll_link" pos="0 0 -0.017558">
270
+ <site name="right_foot" rgba="1 0 0 1" pos="0.04 0 -0.037" />
271
+ <inertial pos="0.026505 0 -0.016425"
272
+ quat="0.000481092 0.728482 0.000618967 0.685065" mass="0.608"
273
+ diaginertia="0.00167218 0.0016161 0.000217621" />
274
+ <joint name="right_ankle_roll_joint" class="ankle_roll" />
275
+ <geom class="visual" material="black" mesh="right_ankle_roll_link" />
276
+ <geom name="rf0" class="foot_collision" pos="-0.05 0.025 -0.03" />
277
+ <geom name="rf1" class="foot_collision" pos="-0.05 -0.025 -0.03" />
278
+ <geom name="rf2" class="foot_collision" pos="0.12 0.03 -0.03" />
279
+ <geom name="rf3" class="foot_collision" pos="0.12 -0.03 -0.03" />
280
+ <site name="trace_right_foot" size="0.01" pos="0.04 0 -0.037" />
281
+ <site name="contact_right_foot" size="0.01" pos="0.04 0 -0.037" />
282
+ </body>
283
+ </body>
284
+ </body>
285
+ </body>
286
+ </body>
287
+ </body>
288
+ <body name="waist_yaw_link">
289
+ <inertial pos="0.003494 0.000233 0.018034" quat="0.289697 0.591001 -0.337795 0.672821"
290
+ mass="0.214"
291
+ diaginertia="0.000163531 0.000107714 0.000102205" />
292
+ <joint name="waist_yaw_joint" class="waist_yaw" />
293
+ <geom class="visual" mesh="waist_yaw_link" />
294
+ <body name="waist_roll_link" pos="-0.0039635 0 0.044">
295
+ <inertial pos="0 2.3e-05 0" quat="0.5 0.5 -0.5 0.5" mass="0.086"
296
+ diaginertia="8.245e-06 7.079e-06 6.339e-06" />
297
+ <joint name="waist_roll_joint" class="waist_roll" />
298
+ <geom class="visual" mesh="waist_roll_link" />
299
+ <body name="torso_link">
300
+ <inertial pos="0.00203158 0.000339683 0.184568"
301
+ quat="0.999803 -6.03319e-05 0.0198256 0.00131986"
302
+ mass="7.818" diaginertia="0.121847 0.109825 0.0273735" />
303
+ <joint name="waist_pitch_joint" class="waist_pitch" />
304
+ <geom class="visual" mesh="torso_link" />
305
+ <geom pos="0.0039635 0 -0.044" quat="1 0 0 0" class="visual" material="black"
306
+ mesh="logo_link" />
307
+ <geom pos="0.0039635 0 -0.044" class="visual" material="black" mesh="head_link" />
308
+ <geom name="torso_collision" class="collision" size="0.09"
309
+ fromto="0.01 0 0.08 0.01 0 0.2" />
310
+ <geom name="head_collision" class="collision" type="sphere" size="0.06" pos="0 0 .43" />
311
+ <site name="imu_in_torso" size="0.01" pos="-0.03959 -0.00224 0.14792" />
312
+ <body name="left_shoulder_pitch_link" pos="0.0039563 0.10022 0.24778"
313
+ quat="0.990264 0.139201 1.38722e-05 -9.86868e-05">
314
+ <inertial pos="0 0.035892 -0.011628" quat="0.654152 0.0130458 -0.326267 0.68225"
315
+ mass="0.718"
316
+ diaginertia="0.000465864 0.000432842 0.000406394" />
317
+ <joint name="left_shoulder_pitch_joint" class="shoulder_pitch" />
318
+ <geom class="visual" mesh="left_shoulder_pitch_link" />
319
+ <body name="left_shoulder_roll_link" pos="0 0.038 -0.013831"
320
+ quat="0.990268 -0.139172 0 0">
321
+ <inertial pos="-0.000227 0.00727 -0.063243"
322
+ quat="0.701256 -0.0196223 -0.00710317 0.712604" mass="0.643"
323
+ diaginertia="0.000691311 0.000618011 0.000388977" />
324
+ <joint name="left_shoulder_roll_joint" range="-1.5882 2.2515" class="shoulder_roll" />
325
+ <geom class="visual" mesh="left_shoulder_roll_link" />
326
+ <body name="left_shoulder_yaw_link" pos="0 0.00624 -0.1032">
327
+ <inertial pos="0.010773 -0.002949 -0.072009"
328
+ quat="0.716879 -0.0964829 -0.0679942 0.687134"
329
+ mass="0.734" diaginertia="0.00106187 0.00103217 0.000400661" />
330
+ <joint name="left_shoulder_yaw_joint" class="shoulder_yaw" />
331
+ <geom class="visual" mesh="left_shoulder_yaw_link" />
332
+ <geom name="left_shoulder_yaw_collision" class="collision" size="0.035"
333
+ fromto="0 0 -0.08 0 0 0.05" />
334
+ <body name="left_elbow_link" pos="0.015783 0 -0.080518">
335
+ <inertial pos="0.064956 0.004454 -0.010062"
336
+ quat="0.541765 0.636132 0.388821 0.388129" mass="0.6"
337
+ diaginertia="0.000443035 0.000421612 0.000259353" />
338
+ <joint name="left_elbow_joint" class="elbow" />
339
+ <geom class="visual" mesh="left_elbow_link" />
340
+ <geom name="left_elbow_yaw_collision" class="collision" size="0.035"
341
+ fromto="-0.01 0 -0.01 0.08 0 -0.01" />
342
+ <body name="left_wrist_roll_link" pos="0.1 0.00188791 -0.01">
343
+ <inertial pos="0.0171394 0.000537591 4.8864e-07"
344
+ quat="0.575338 0.411667 -0.574906 0.411094"
345
+ mass="0.085445" diaginertia="5.48211e-05 4.96646e-05 3.57798e-05" />
346
+ <joint name="left_wrist_roll_joint" class="wrist_roll" />
347
+ <geom class="visual" mesh="left_wrist_roll_link" />
348
+ <body name="left_wrist_pitch_link" pos="0.038 0 0">
349
+ <inertial pos="0.0229999 -0.00111685 -0.00111658"
350
+ quat="0.249998 0.661363 0.293036 0.643608"
351
+ mass="0.48405" diaginertia="0.000430353 0.000429873 0.000164648" />
352
+ <joint name="left_wrist_pitch_joint" class="wrist_pitch" />
353
+ <geom class="visual" mesh="left_wrist_pitch_link" />
354
+ <!-- <geom name="left_wrist_collision" class="collision" size="0.035"
355
+ fromto="-0.01 0 0 0.06 0 0" /> -->
356
+ <body name="left_wrist_yaw_link" pos="0.046 0 0">
357
+ <inertial pos="0.0708244 0.000191745 0.00161742"
358
+ quat="0.510571 0.526295 0.468078 0.493188"
359
+ mass="0.254576" diaginertia="0.000646113 0.000559993 0.000147566" />
360
+ <joint name="left_wrist_yaw_joint" class="wrist_yaw" />
361
+ <geom class="visual" mesh="left_wrist_yaw_link" />
362
+ <geom pos="0.0415 0.003 0" quat="1 0 0 0" class="visual"
363
+ mesh="left_rubber_hand" />
364
+ <site name="left_palm" pos="0.08 0 0" size="0.01" />
365
+ <!-- <geom name="left_hand_collision" class="collision" size="0.035"
366
+ rgba=".2 .6 .2 .2"
367
+ fromto="0.07 0 0 0.15 -0.02 0" /> -->
368
+ <geom name="lh" class="hand_collision" />
369
+ <site name="trace_left_hand" size="0.01" pos="0.08 0 0" />
370
+ <site name="contact_left_hand" size="0.01" pos="0.08 0 0" />
371
+ </body>
372
+ </body>
373
+ </body>
374
+ </body>
375
+ </body>
376
+ </body>
377
+ </body>
378
+ <body name="right_shoulder_pitch_link" pos="0.0039563 -0.10021 0.24778"
379
+ quat="0.990264 -0.139201 1.38722e-05 9.86868e-05">
380
+ <inertial pos="0 -0.035892 -0.011628" quat="0.68225 -0.326267 0.0130458 0.654152"
381
+ mass="0.718"
382
+ diaginertia="0.000465864 0.000432842 0.000406394" />
383
+ <joint name="right_shoulder_pitch_joint" class="shoulder_pitch" />
384
+ <geom class="visual" mesh="right_shoulder_pitch_link" />
385
+ <body name="right_shoulder_roll_link" pos="0 -0.038 -0.013831"
386
+ quat="0.990268 0.139172 0 0">
387
+ <inertial pos="-0.000227 -0.00727 -0.063243"
388
+ quat="0.712604 -0.00710317 -0.0196223 0.701256"
389
+ mass="0.643" diaginertia="0.000691311 0.000618011 0.000388977" />
390
+ <joint name="right_shoulder_roll_joint" range="-2.2515 1.5882" class="shoulder_roll" />
391
+ <geom class="visual" mesh="right_shoulder_roll_link" />
392
+ <body name="right_shoulder_yaw_link" pos="0 -0.00624 -0.1032">
393
+ <inertial pos="0.010773 0.002949 -0.072009"
394
+ quat="0.687134 -0.0679942 -0.0964829 0.716879"
395
+ mass="0.734" diaginertia="0.00106187 0.00103217 0.000400661" />
396
+ <joint name="right_shoulder_yaw_joint" class="shoulder_yaw" />
397
+ <geom class="visual" mesh="right_shoulder_yaw_link" />
398
+ <geom name="right_shoulder_yaw_collision" class="collision" size="0.035"
399
+ fromto="0 0 -0.08 0 0 0.05" />
400
+ <body name="right_elbow_link" pos="0.015783 0 -0.080518">
401
+ <inertial pos="0.064956 -0.004454 -0.010062"
402
+ quat="0.388129 0.388821 0.636132 0.541765" mass="0.6"
403
+ diaginertia="0.000443035 0.000421612 0.000259353" />
404
+ <joint name="right_elbow_joint" class="elbow" />
405
+ <geom class="visual" mesh="right_elbow_link" />
406
+ <geom name="right_elbow_yaw_collision" class="collision" size="0.035"
407
+ fromto="-0.01 0 -0.01 0.08 0 -0.01" />
408
+ <body name="right_wrist_roll_link" pos="0.1 -0.00188791 -0.01">
409
+ <inertial pos="0.0171394 -0.000537591 4.8864e-07"
410
+ quat="0.411667 0.575338 -0.411094 0.574906"
411
+ mass="0.085445" diaginertia="5.48211e-05 4.96646e-05 3.57798e-05" />
412
+ <joint name="right_wrist_roll_joint" class="wrist_roll" />
413
+ <geom class="visual" mesh="right_wrist_roll_link" />
414
+ <body name="right_wrist_pitch_link" pos="0.038 0 0">
415
+ <inertial pos="0.0229999 0.00111685 -0.00111658"
416
+ quat="0.643608 0.293036 0.661363 0.249998"
417
+ mass="0.48405" diaginertia="0.000430353 0.000429873 0.000164648" />
418
+ <joint name="right_wrist_pitch_joint" class="wrist_pitch" />
419
+ <geom class="visual" mesh="right_wrist_pitch_link" />
420
+ <!-- <geom name="right_wrist_collision" class="collision" size="0.035"
421
+ fromto="-0.01 0 0 0.06 0 0" /> -->
422
+ <body name="right_wrist_yaw_link" pos="0.046 0 0">
423
+ <inertial pos="0.0708244 -0.000191745 0.00161742"
424
+ quat="0.493188 0.468078 0.526295 0.510571"
425
+ mass="0.254576" diaginertia="0.000646113 0.000559993 0.000147566" />
426
+ <joint name="right_wrist_yaw_joint" class="wrist_yaw" />
427
+ <geom class="visual" mesh="right_wrist_yaw_link" />
428
+ <geom pos="0.0415 -0.003 0" quat="1 0 0 0" class="visual"
429
+ mesh="right_rubber_hand" />
430
+ <site name="right_palm" pos="0.08 0 0" size="0.01" />
431
+ <!-- <geom name="right_hand_collision" class="collision" size="0.035"
432
+ rgba=".2 .6 .2 .2"
433
+ fromto="0.07 0 0 0.15 0.02 0" /> -->
434
+ <geom name="rh" class="hand_collision" />
435
+ <site name="trace_right_hand" size="0.01" pos="0.08 0 0" />
436
+ <site name="contact_right_hand" size="0.01" pos="0.08 0 0" />
437
+ </body>
438
+ </body>
439
+ </body>
440
+ </body>
441
+ </body>
442
+ </body>
443
+ </body>
444
+ </body>
445
+ </body>
446
+ </body>
447
+ </body>
448
+ </worldbody>
449
+
450
+ <actuator>
451
+ <position class="hip_pitch" name="left_hip_pitch_joint" joint="left_hip_pitch_joint" />
452
+ <position class="hip_roll" name="left_hip_roll_joint" joint="left_hip_roll_joint" />
453
+ <position class="hip_yaw" name="left_hip_yaw_joint" joint="left_hip_yaw_joint" />
454
+ <position class="knee" name="left_knee_joint" joint="left_knee_joint" />
455
+ <position class="ankle_pitch" name="left_ankle_pitch_joint" joint="left_ankle_pitch_joint" />
456
+ <position class="ankle_roll" name="left_ankle_roll_joint" joint="left_ankle_roll_joint" />
457
+
458
+ <position class="hip_pitch" name="right_hip_pitch_joint" joint="right_hip_pitch_joint" />
459
+ <position class="hip_roll" name="right_hip_roll_joint" joint="right_hip_roll_joint" />
460
+ <position class="hip_yaw" name="right_hip_yaw_joint" joint="right_hip_yaw_joint" />
461
+ <position class="knee" name="right_knee_joint" joint="right_knee_joint" />
462
+ <position class="ankle_pitch" name="right_ankle_pitch_joint" joint="right_ankle_pitch_joint" />
463
+ <position class="ankle_roll" name="right_ankle_roll_joint" joint="right_ankle_roll_joint" />
464
+
465
+ <position class="waist_yaw" name="waist_yaw_joint" joint="waist_yaw_joint" />
466
+ <position class="waist_roll" name="waist_roll_joint" joint="waist_roll_joint" />
467
+ <position class="waist_pitch" name="waist_pitch_joint" joint="waist_pitch_joint" />
468
+
469
+ <position class="shoulder_pitch" name="left_shoulder_pitch_joint"
470
+ joint="left_shoulder_pitch_joint" />
471
+ <position class="shoulder_roll" name="left_shoulder_roll_joint" joint="left_shoulder_roll_joint" />
472
+ <position class="shoulder_yaw" name="left_shoulder_yaw_joint" joint="left_shoulder_yaw_joint" />
473
+ <position class="elbow" name="left_elbow_joint" joint="left_elbow_joint" />
474
+ <position class="wrist_roll" name="left_wrist_roll_joint" joint="left_wrist_roll_joint" />
475
+ <position class="wrist_pitch" name="left_wrist_pitch_joint" joint="left_wrist_pitch_joint" />
476
+ <position class="wrist_yaw" name="left_wrist_yaw_joint" joint="left_wrist_yaw_joint" />
477
+
478
+ <position class="shoulder_pitch" name="right_shoulder_pitch_joint"
479
+ joint="right_shoulder_pitch_joint" />
480
+ <position class="shoulder_roll" name="right_shoulder_roll_joint"
481
+ joint="right_shoulder_roll_joint" />
482
+ <position class="shoulder_yaw" name="right_shoulder_yaw_joint" joint="right_shoulder_yaw_joint" />
483
+ <position class="elbow" name="right_elbow_joint" joint="right_elbow_joint" />
484
+ <position class="wrist_roll" name="right_wrist_roll_joint" joint="right_wrist_roll_joint" />
485
+ <position class="wrist_pitch" name="right_wrist_pitch_joint" joint="right_wrist_pitch_joint" />
486
+ <position class="wrist_yaw" name="right_wrist_yaw_joint" joint="right_wrist_yaw_joint" />
487
+ </actuator>
488
+
489
+ <!-- <sensor>
490
+ <velocimeter site="imu_in_torso" name="local_linvel_torso" />
491
+ <velocimeter site="imu_in_pelvis" name="local_linvel_pelvis" />
492
+ <accelerometer site="imu_in_torso" name="accelerometer_torso" />
493
+ <accelerometer site="imu_in_pelvis" name="accelerometer_pelvis" />
494
+ <gyro site="imu_in_torso" name="gyro_torso" />
495
+ <gyro site="imu_in_pelvis" name="gyro_pelvis" />
496
+ <framezaxis objtype="site" objname="imu_in_torso" name="upvector_torso" />
497
+ <framezaxis objtype="site" objname="imu_in_pelvis" name="upvector_pelvis" />
498
+ <framequat objtype="site" objname="imu_in_torso" name="orientation_torso" />
499
+ <framequat objtype="site" objname="imu_in_pelvis" name="orientation_pelvis" />
500
+ <framelinvel objtype="site" objname="imu_in_torso" name="global_linvel_torso" />
501
+ <framelinvel objtype="site" objname="imu_in_pelvis" name="global_linvel_pelvis" />
502
+ <frameangvel objtype="site" objname="imu_in_torso" name="global_angvel_torso" />
503
+ <frameangvel objtype="site" objname="imu_in_pelvis" name="global_angvel_pelvis" />
504
+ </sensor> -->
505
+
506
+ <contact>
507
+ <pair name="left_foot_floor0" geom1="lf0" geom2="floor" solref="0.008 1"
508
+ friction="1 1" condim="3" />
509
+ <pair name="left_foot_floor1" geom1="lf1" geom2="floor" solref="0.008 1"
510
+ friction="1 1" condim="3" />
511
+ <pair name="left_foot_floor2" geom1="lf2" geom2="floor" solref="0.008 1"
512
+ friction="1 1" condim="3" />
513
+ <pair name="left_foot_floor3" geom1="lf3" geom2="floor" solref="0.008 1"
514
+ friction="1 1" condim="3" />
515
+ <pair name="right_foot_floor0" geom1="rf0" geom2="floor" solref="0.008 1"
516
+ friction="1 1" condim="3" />
517
+ <pair name="right_foot_floor1" geom1="rf1" geom2="floor" solref="0.008 1"
518
+ friction="1 1" condim="3" />
519
+ <pair name="right_foot_floor2" geom1="rf2" geom2="floor" solref="0.008 1"
520
+ friction="1 1" condim="3" />
521
+ <pair name="right_foot_floor3" geom1="rf3" geom2="floor" solref="0.008 1"
522
+ friction="1 1" condim="3" />
523
+ <pair name="left_hand_floor" geom1="lh" geom2="floor" solref="0.008 1"
524
+ friction="1 1" condim="3" />
525
+ <pair name="right_hand_floor" geom1="rh" geom2="floor" solref="0.008 1"
526
+ friction="1 1" condim="3" />
527
+
528
+ <pair name="pelvis_floor" geom1="pelvis_collision" geom2="floor" solref="0.008 1"
529
+ friction="1 1" condim="3" />
530
+ <pair name="left_hip_collision_floor" geom1="left_hip_collision" geom2="floor" solref="0.008 1"
531
+ friction="1 1" condim="3" />
532
+ <pair name="right_hip_collision_floor" geom1="right_hip_collision" geom2="floor" solref="0.008 1"
533
+ friction="1 1" condim="3" />
534
+ <pair name="left_thigh_collision_floor" geom1="left_thigh_collision" geom2="floor" solref="0.008 1"
535
+ friction="1 1" condim="3" />
536
+ <pair name="right_thigh_collision_floor" geom1="right_thigh_collision" geom2="floor" solref="0.008 1"
537
+ friction="1 1" condim="3" />
538
+ <pair name="left_shin_collision_floor" geom1="left_shin_collision" geom2="floor" solref="0.008 1"
539
+ friction="1 1" condim="3" />
540
+ <pair name="right_shin_collision_floor" geom1="right_shin_collision" geom2="floor" solref="0.008 1"
541
+ friction="1 1" condim="3" />
542
+ <pair name="left_linkage_brace_collision_floor" geom1="left_linkage_brace_collision" geom2="floor" solref="0.008 1"
543
+ friction="1 1" condim="3" />
544
+ <pair name="right_linkage_brace_collision_floor" geom1="right_linkage_brace_collision" geom2="floor" solref="0.008 1"
545
+ friction="1 1" condim="3" />
546
+ <pair name="left_shoulder_yaw_collision_floor" geom1="left_shoulder_yaw_collision" geom2="floor" solref="0.008 1"
547
+ friction="1 1" condim="3" />
548
+ <pair name="right_shoulder_yaw_collision_floor" geom1="right_shoulder_yaw_collision" geom2="floor" solref="0.008 1"
549
+ friction="1 1" condim="3" />
550
+ <pair name="left_elbow_yaw_collision_floor" geom1="left_elbow_yaw_collision" geom2="floor" solref="0.008 1"
551
+ friction="1 1" condim="3" />
552
+ <pair name="right_elbow_yaw_collision_floor" geom1="right_elbow_yaw_collision" geom2="floor" solref="0.008 1"
553
+ friction="1 1" condim="3" />
554
+ </contact>
555
+ </mujoco>
processed/lafan/unitree_g1/humanoid/getup/task_info.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ref_dt": 0.03333333333333333,
3
+ "contact_site_ids": [
4
+ 4,
5
+ 7,
6
+ 11,
7
+ 14
8
+ ]
9
+ }