yuecideng commited on
Commit
0a5bf9a
·
verified ·
1 Parent(s): 90f1dc2

Add RP1 sparse5 deployment configuration

Browse files
policies/rp1-partymimic-sparse5/rp1_sparse5.yaml ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_path: rp1_sparse5.onnx
2
+ joint_names_simulation: &id001
3
+ - left_hip_pitch_joint
4
+ - left_hip_roll_joint
5
+ - left_hip_yaw_joint
6
+ - left_knee_joint
7
+ - left_ankle_pitch_joint
8
+ - left_ankle_roll_joint
9
+ - right_hip_pitch_joint
10
+ - right_hip_roll_joint
11
+ - right_hip_yaw_joint
12
+ - right_knee_joint
13
+ - right_ankle_pitch_joint
14
+ - right_ankle_roll_joint
15
+ - waist_roll_joint
16
+ - waist_yaw_joint
17
+ - left_shoulder_pitch_joint
18
+ - left_shoulder_roll_joint
19
+ - left_shoulder_yaw_joint
20
+ - left_elbow_joint
21
+ - left_wrist_roll_joint
22
+ - left_wrist_yaw_joint
23
+ - left_wrist_pitch_joint
24
+ - right_shoulder_pitch_joint
25
+ - right_shoulder_roll_joint
26
+ - right_shoulder_yaw_joint
27
+ - right_elbow_joint
28
+ - right_wrist_roll_joint
29
+ - right_wrist_yaw_joint
30
+ - right_wrist_pitch_joint
31
+ body_names_simulation:
32
+ - base_link
33
+ - left_hip_pitch_link
34
+ - left_hip_roll_link
35
+ - left_hip_yaw_link
36
+ - left_knee_link
37
+ - left_ankle_pitch_link
38
+ - left_ankle_roll_link
39
+ - right_hip_pitch_link
40
+ - right_hip_roll_link
41
+ - right_hip_yaw_link
42
+ - right_knee_link
43
+ - right_ankle_pitch_link
44
+ - right_ankle_roll_link
45
+ - waist_roll_link
46
+ - waist_yaw_link
47
+ - left_shoulder_pitch_link
48
+ - left_shoulder_roll_link
49
+ - left_shoulder_yaw_link
50
+ - left_elbow_link
51
+ - left_wrist_roll_link
52
+ - left_wrist_yaw_link
53
+ - left_wrist_pitch_link
54
+ - right_shoulder_pitch_link
55
+ - right_shoulder_roll_link
56
+ - right_shoulder_yaw_link
57
+ - right_elbow_link
58
+ - right_wrist_roll_link
59
+ - right_wrist_yaw_link
60
+ - right_wrist_pitch_link
61
+ policy_joint_names: *id001
62
+ default_joint_pos:
63
+ left_hip_pitch_joint: -0.1
64
+ left_hip_roll_joint: 0.0
65
+ left_hip_yaw_joint: 0.0
66
+ left_knee_joint: -0.3
67
+ left_ankle_pitch_joint: -0.2
68
+ left_ankle_roll_joint: 0.0
69
+ right_hip_pitch_joint: 0.1
70
+ right_hip_roll_joint: 0.0
71
+ right_hip_yaw_joint: 0.0
72
+ right_knee_joint: 0.3
73
+ right_ankle_pitch_joint: -0.2
74
+ right_ankle_roll_joint: 0.0
75
+ waist_roll_joint: 0.0
76
+ waist_yaw_joint: 0.0
77
+ left_shoulder_pitch_joint: 0.2
78
+ left_shoulder_roll_joint: 0.2
79
+ left_shoulder_yaw_joint: 0.0
80
+ left_elbow_joint: -1.2
81
+ left_wrist_roll_joint: 0.0
82
+ left_wrist_yaw_joint: 0.0
83
+ left_wrist_pitch_joint: 0.0
84
+ right_shoulder_pitch_joint: -0.2
85
+ right_shoulder_roll_joint: -0.2
86
+ right_shoulder_yaw_joint: 0.0
87
+ right_elbow_joint: 1.2
88
+ right_wrist_roll_joint: 0.0
89
+ right_wrist_yaw_joint: 0.0
90
+ right_wrist_pitch_joint: 0.0
91
+ action_scale:
92
+ left_hip_pitch_joint: 0.2916666666666667
93
+ left_hip_roll_joint: 0.2916666666666667
94
+ left_hip_yaw_joint: 0.39285714285714285
95
+ left_knee_joint: 0.2916666666666667
96
+ left_ankle_pitch_joint: 0.64
97
+ left_ankle_roll_joint: 0.64
98
+ right_hip_pitch_joint: 0.2916666666666667
99
+ right_hip_roll_joint: 0.2916666666666667
100
+ right_hip_yaw_joint: 0.39285714285714285
101
+ right_knee_joint: 0.2916666666666667
102
+ right_ankle_pitch_joint: 0.64
103
+ right_ankle_roll_joint: 0.64
104
+ waist_roll_joint: 0.2916666666666667
105
+ waist_yaw_joint: 0.2916666666666667
106
+ left_shoulder_pitch_joint: 0.39285714285714285
107
+ left_shoulder_roll_joint: 0.64
108
+ left_shoulder_yaw_joint: 0.64
109
+ left_elbow_joint: 0.64
110
+ left_wrist_roll_joint: 0.64
111
+ left_wrist_yaw_joint: 0.64
112
+ left_wrist_pitch_joint: 0.64
113
+ right_shoulder_pitch_joint: 0.39285714285714285
114
+ right_shoulder_roll_joint: 0.64
115
+ right_shoulder_yaw_joint: 0.64
116
+ right_elbow_joint: 0.64
117
+ right_wrist_roll_joint: 0.64
118
+ right_wrist_yaw_joint: 0.64
119
+ right_wrist_pitch_joint: 0.64
120
+ joint_kp:
121
+ left_hip_pitch_joint: 120.0
122
+ left_hip_roll_joint: 120.0
123
+ left_hip_yaw_joint: 35.0
124
+ left_knee_joint: 120.0
125
+ left_ankle_pitch_joint: 25.0
126
+ left_ankle_roll_joint: 25.0
127
+ right_hip_pitch_joint: 120.0
128
+ right_hip_roll_joint: 120.0
129
+ right_hip_yaw_joint: 35.0
130
+ right_knee_joint: 120.0
131
+ right_ankle_pitch_joint: 25.0
132
+ right_ankle_roll_joint: 25.0
133
+ waist_roll_joint: 120.0
134
+ waist_yaw_joint: 120.0
135
+ left_shoulder_pitch_joint: 35.0
136
+ left_shoulder_roll_joint: 12.5
137
+ left_shoulder_yaw_joint: 12.5
138
+ left_elbow_joint: 12.5
139
+ left_wrist_roll_joint: 12.5
140
+ left_wrist_yaw_joint: 12.5
141
+ left_wrist_pitch_joint: 12.5
142
+ right_shoulder_pitch_joint: 35.0
143
+ right_shoulder_roll_joint: 12.5
144
+ right_shoulder_yaw_joint: 12.5
145
+ right_elbow_joint: 12.5
146
+ right_wrist_roll_joint: 12.5
147
+ right_wrist_yaw_joint: 12.5
148
+ right_wrist_pitch_joint: 12.5
149
+ joint_kd:
150
+ left_hip_pitch_joint: 7.5
151
+ left_hip_roll_joint: 7.5
152
+ left_hip_yaw_joint: 2.5
153
+ left_knee_joint: 7.5
154
+ left_ankle_pitch_joint: 1.5
155
+ left_ankle_roll_joint: 1.5
156
+ right_hip_pitch_joint: 7.5
157
+ right_hip_roll_joint: 7.5
158
+ right_hip_yaw_joint: 2.5
159
+ right_knee_joint: 7.5
160
+ right_ankle_pitch_joint: 1.5
161
+ right_ankle_roll_joint: 1.5
162
+ waist_roll_joint: 7.5
163
+ waist_yaw_joint: 7.5
164
+ left_shoulder_pitch_joint: 2.5
165
+ left_shoulder_roll_joint: 0.75
166
+ left_shoulder_yaw_joint: 0.75
167
+ left_elbow_joint: 0.75
168
+ left_wrist_roll_joint: 0.75
169
+ left_wrist_yaw_joint: 0.75
170
+ left_wrist_pitch_joint: 0.75
171
+ right_shoulder_pitch_joint: 2.5
172
+ right_shoulder_roll_joint: 0.75
173
+ right_shoulder_yaw_joint: 0.75
174
+ right_elbow_joint: 0.75
175
+ right_wrist_roll_joint: 0.75
176
+ right_wrist_yaw_joint: 0.75
177
+ right_wrist_pitch_joint: 0.75
178
+ motion:
179
+ future_steps: &id002
180
+ - -1
181
+ - 0
182
+ - 1
183
+ - 2
184
+ - 3
185
+ - 4
186
+ - 5
187
+ - 6
188
+ - 7
189
+ - 8
190
+ - 9
191
+ joint_names: *id001
192
+ body_names:
193
+ - base_link
194
+ - waist_yaw_link
195
+ - left_wrist_pitch_link
196
+ - right_wrist_pitch_link
197
+ - left_ankle_roll_link
198
+ - right_ankle_roll_link
199
+ root_body_name: base_link
200
+ anchor_body_name: base_link
201
+ observation:
202
+ proprio:
203
+ proprio:
204
+ _target_: supermimic.proprio_history
205
+ history_steps: 10
206
+ root_quat_hist:
207
+ root_quat_hist:
208
+ _target_: supermimic.root_quat_history
209
+ history_steps: 10
210
+ ref_kp:
211
+ ref_kp:
212
+ _target_: supermimic.ref_bodies
213
+ future_steps: *id002
214
+ body_names:
215
+ - base_link
216
+ - waist_yaw_link
217
+ - left_wrist_pitch_link
218
+ - right_wrist_pitch_link
219
+ - left_ankle_roll_link
220
+ - right_ankle_roll_link
221
+ interface:
222
+ name: sparse5
223
+ keypoints:
224
+ pelvis: base_link
225
+ head: waist_yaw_link
226
+ left_wrist: left_wrist_pitch_link
227
+ right_wrist: right_wrist_pitch_link
228
+ left_ankle: left_ankle_roll_link
229
+ right_ankle: right_ankle_roll_link
230
+ ref_kp: '[11 frames f..f+10, 6 keypoints, pos xyz (m) + quat wxyz], world frame'
231
+ goal_frames:
232
+ - 1
233
+ - 2
234
+ - 3
235
+ - 4
236
+ - 5
237
+ - 6
238
+ - 7
239
+ - 8
240
+ - 9
241
+ - 10
242
+ goal_per_frame: 'relative to the frame-f reference pelvis heading frame: pelvis
243
+ pos 3 + 6D 6, head 6D 6, then left wrist, right wrist, left ankle, right ankle
244
+ pos 3 + 6D 6 (51)'
245
+ error_block: '(27) robot FK (newest joint pos + default, root quat) vs reference
246
+ frame f, each relative to its own pelvis heading frame: wrist / ankle pos error
247
+ 4 x 3, so3_log ori error 4 x 3, head so3_log ori error 3; decoder only, newest
248
+ step'
249
+ action: joint target = default + action_scale * action (no reference-action skip)