haotianz94 commited on
Commit
bf93e5f
·
verified ·
1 Parent(s): 82b7db6

Add files using upload-large-folder tool

Browse files
checkpoint/SONIC/models/pnp_ground/.hydra/.hydra/config.yaml ADDED
@@ -0,0 +1,1045 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ num_gpus: 1
2
+ max_retries: 1
3
+ seed: 0
4
+ codebase_version: 1.0
5
+ headless: true
6
+ num_envs: 2048
7
+ auto_load_latest: false
8
+ checkpoint: null
9
+ project_name: GRAB_Tracking
10
+ experiment_name: ${exp_base}_${exp_var}
11
+ base_dir: logs_rl
12
+ timestamp: ${now:%Y%m%d_%H%M%S}
13
+ experiment_dir: logs_rl/TRL_G1_Track/manager/universal_token/hoi/pnp_ground_pnp_ground_p17_2604301955-20260509_235516
14
+ save_dir: ${experiment_dir}/.hydra
15
+ force_flat_terrain: false
16
+ use_wandb: true
17
+ log_task_name: TEST
18
+ multi_gpu: false
19
+ global_rank: 0
20
+ sim_type: isaacsim
21
+ env_spacing: 20
22
+ output_dir: ${experiment_dir}/output
23
+ eval_overrides:
24
+ headless: false
25
+ num_envs: 1
26
+ auto_load_latest: false
27
+ use_wandb: false
28
+ algo:
29
+ trl:
30
+ dataset_name: dummy
31
+ output_dir: ./trl
32
+ learning_rate: ${algo.config.actor_learning_rate}
33
+ num_total_batches: ${algo.config.num_learning_iterations}
34
+ total_episodes: null
35
+ num_ppo_epochs: ${algo.config.num_learning_epochs}
36
+ num_mini_batches: ${algo.config.num_mini_batches}
37
+ per_device_train_batch_size: null
38
+ gradient_accumulation_steps: 1
39
+ report_to: none
40
+ gamma: ${algo.config.gamma}
41
+ lam: ${algo.config.lam}
42
+ vf_coef: ${algo.config.value_loss_coef}
43
+ max_grad_norm: ${algo.config.max_grad_norm}
44
+ lr_scheduler_type: constant
45
+ save_strategy: 'no'
46
+ disable_tqdm: true
47
+ config:
48
+ actor:
49
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Actor
50
+ running_mean_std: false
51
+ output_original_obs_dict: true
52
+ has_aux_loss: true
53
+ backbone:
54
+ _target_: gear_sonic.trl.modules.base_module.BaseModuleAux
55
+ process_output_dim: true
56
+ aux_loss_func:
57
+ latent_l2:
58
+ _target_: gear_sonic.trl.losses.token_losses.LatentL2Loss
59
+ latent_dim: 64
60
+ aux_loss_coef:
61
+ latent_l2: 0.1
62
+ module_config_dict:
63
+ input_dim:
64
+ - actor_obs
65
+ output_dim:
66
+ - robot_action_dim
67
+ layer_config:
68
+ type: MLP
69
+ hidden_dims:
70
+ - 512
71
+ - 256
72
+ - 128
73
+ activation: SiLU
74
+ critic:
75
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Critic
76
+ running_mean_std: false
77
+ backbone:
78
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
79
+ process_output_dim: true
80
+ module_config_dict:
81
+ type: MLP
82
+ input_dim:
83
+ - critic_obs
84
+ output_dim:
85
+ - 1
86
+ layer_config:
87
+ type: MLP
88
+ hidden_dims:
89
+ - 512
90
+ - 256
91
+ - 128
92
+ activation: SiLU
93
+ num_learning_epochs: 5
94
+ num_mini_batches: 4
95
+ clip_param: 0.2
96
+ gamma: 0.99
97
+ lam: 0.95
98
+ value_loss_coef: 1.0
99
+ entropy_coef: 0.01
100
+ actor_learning_rate: 2.0e-05
101
+ critic_learning_rate: 0.001
102
+ max_grad_norm: 0.1
103
+ use_clipped_value_loss: true
104
+ schedule: adaptive
105
+ desired_kl: 0.01
106
+ adaptive_lr_min: 1.0e-05
107
+ adaptive_lr_max: 0.0002
108
+ use_new_actor_critic: true
109
+ use_padding_mask: false
110
+ ppo_shuffle_every_epoch: true
111
+ sync_advantage_normalization: true
112
+ empty_cache_every_n_ppo_epoch: -1
113
+ num_steps_per_env: 24
114
+ save_interval: 500
115
+ eval_frequency: 500
116
+ load_optimizer: true
117
+ init_noise_std: 0.05
118
+ num_learning_iterations: 20000
119
+ init_at_random_ep_len: true
120
+ global_rank: 0
121
+ world_size: 1
122
+ use_clampped_std: true
123
+ std_clamp_min: 0.001
124
+ std_clamp_max: 0.5
125
+ _recursive_: false
126
+ env: ???
127
+ terrain: ???
128
+ callbacks:
129
+ model_save:
130
+ _target_: gear_sonic.trl.callbacks.model_save_callback.ModelSaveCallback
131
+ save_dir: ${experiment_dir}
132
+ save_frequency: 500
133
+ max_disk_usage: 14.8
134
+ wandb:
135
+ _target_: gear_sonic.trl.callbacks.wandb_callback.WandbCallback
136
+ read_eval:
137
+ _target_: gear_sonic.trl.callbacks.read_eval_callback.ReadEvalCallback
138
+ eval_dir: ${experiment_dir}/eval
139
+ check_interval: 1
140
+ im_resample:
141
+ _target_: gear_sonic.trl.callbacks.im_resample_callback.ImResampleCallback
142
+ motion_resample_frequency: 250
143
+ trainer:
144
+ _target_: gear_sonic.trl.trainer.ppo_trainer_aux_loss.TRLAuxLossPPOTrainer
145
+ wandb:
146
+ wandb_project: null
147
+ wandb_tags: online
148
+ wandb_group: pnp_ground_p17_2604301955
149
+ wandb_id: null
150
+ wandb_entity: null
151
+ wandb_dir: /tmp
152
+ manager_env:
153
+ actions:
154
+ joint_pos:
155
+ _target_: isaaclab.envs.mdp.actions.JointPositionActionCfg
156
+ asset_name: robot
157
+ joint_names:
158
+ - .*
159
+ use_default_offset: true
160
+ _target_: gear_sonic.envs.manager_env.mdp.actions.ActionsCfg
161
+ observations:
162
+ policy:
163
+ command:
164
+ _target_: isaaclab.managers.ObservationTermCfg
165
+ func: gear_sonic.envs.manager_env.mdp:generated_commands
166
+ params:
167
+ command_name: motion
168
+ motion_anchor_pos_b:
169
+ _target_: isaaclab.managers.ObservationTermCfg
170
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
171
+ params:
172
+ command_name: motion
173
+ noise:
174
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
175
+ n_min: -0.25
176
+ n_max: 0.25
177
+ motion_anchor_ori_b:
178
+ _target_: isaaclab.managers.ObservationTermCfg
179
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
180
+ params:
181
+ command_name: motion
182
+ noise:
183
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
184
+ n_min: -0.05
185
+ n_max: 0.05
186
+ base_lin_vel:
187
+ _target_: isaaclab.managers.ObservationTermCfg
188
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
189
+ noise:
190
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
191
+ n_min: -0.5
192
+ n_max: 0.5
193
+ base_ang_vel:
194
+ _target_: isaaclab.managers.ObservationTermCfg
195
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
196
+ noise:
197
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
198
+ n_min: -0.2
199
+ n_max: 0.2
200
+ joint_pos:
201
+ _target_: isaaclab.managers.ObservationTermCfg
202
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
203
+ noise:
204
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
205
+ n_min: -0.01
206
+ n_max: 0.01
207
+ joint_vel:
208
+ _target_: isaaclab.managers.ObservationTermCfg
209
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
210
+ noise:
211
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
212
+ n_min: -0.5
213
+ n_max: 0.5
214
+ actions:
215
+ _target_: isaaclab.managers.ObservationTermCfg
216
+ func: gear_sonic.envs.manager_env.mdp:last_action
217
+ target_object_pos:
218
+ _target_: isaaclab.managers.ObservationTermCfg
219
+ func: gear_sonic.envs.manager_env.mdp:get_target_object_pos_in_base_frame
220
+ params:
221
+ asset_cfg:
222
+ _target_: isaaclab.managers.SceneEntityCfg
223
+ name: object
224
+ noise: null
225
+ hand_object_transform_6d:
226
+ _target_: isaaclab.managers.ObservationTermCfg
227
+ func: gear_sonic.envs.manager_env.mdp:hand_object_transform_6d
228
+ params:
229
+ asset_cfg:
230
+ _target_: isaaclab.managers.SceneEntityCfg
231
+ name: object_to_hand_frame_transformer
232
+ noise: null
233
+ finger_tips_force:
234
+ _target_: isaaclab.managers.ObservationTermCfg
235
+ func: gear_sonic.envs.manager_env.mdp:get_finger_tips_contact_force
236
+ params:
237
+ sensor_cfg:
238
+ _target_: isaaclab.managers.SceneEntityCfg
239
+ name: object_to_hand_contact_sensor
240
+ noise: null
241
+ object_pos_b:
242
+ _target_: isaaclab.managers.ObservationTermCfg
243
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
244
+ params:
245
+ command_name: motion
246
+ noise: null
247
+ object_ori_b_6d:
248
+ _target_: isaaclab.managers.ObservationTermCfg
249
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
250
+ params:
251
+ command_name: motion
252
+ noise: null
253
+ table_pos_b:
254
+ _target_: isaaclab.managers.ObservationTermCfg
255
+ func: gear_sonic.envs.manager_env.mdp:table_pos_b
256
+ params:
257
+ command_name: motion
258
+ noise: null
259
+ table_ori_b:
260
+ _target_: isaaclab.managers.ObservationTermCfg
261
+ func: gear_sonic.envs.manager_env.mdp:table_ori_b
262
+ params:
263
+ command_name: motion
264
+ noise: null
265
+ object_pos_delta_multi_future:
266
+ _target_: isaaclab.managers.ObservationTermCfg
267
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
268
+ params:
269
+ command_name: motion
270
+ noise:
271
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
272
+ n_min: -0.02
273
+ n_max: 0.02
274
+ object_ori_delta_multi_future_6d:
275
+ _target_: isaaclab.managers.ObservationTermCfg
276
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
277
+ params:
278
+ command_name: motion
279
+ noise:
280
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
281
+ n_min: -0.02
282
+ n_max: 0.02
283
+ command_multi_future:
284
+ _target_: isaaclab.managers.ObservationTermCfg
285
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
286
+ params:
287
+ command_name: motion
288
+ noise: null
289
+ motion_anchor_ori_b_mf:
290
+ _target_: isaaclab.managers.ObservationTermCfg
291
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
292
+ params:
293
+ command_name: motion
294
+ noise:
295
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
296
+ n_min: -0.05
297
+ n_max: 0.05
298
+ object_bps:
299
+ _target_: isaaclab.managers.ObservationTermCfg
300
+ func: gear_sonic.envs.manager_env.mdp:object_bps
301
+ params:
302
+ command_name: motion
303
+ noise: null
304
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyCfg
305
+ enable_corruption: false
306
+ concatenate_terms: true
307
+ critic:
308
+ command:
309
+ _target_: isaaclab.managers.ObservationTermCfg
310
+ func: gear_sonic.envs.manager_env.mdp:generated_commands
311
+ params:
312
+ command_name: motion
313
+ motion_anchor_pos_b:
314
+ _target_: isaaclab.managers.ObservationTermCfg
315
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
316
+ params:
317
+ command_name: motion
318
+ motion_anchor_ori_b:
319
+ _target_: isaaclab.managers.ObservationTermCfg
320
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
321
+ params:
322
+ command_name: motion
323
+ body_pos:
324
+ _target_: isaaclab.managers.ObservationTermCfg
325
+ func: gear_sonic.envs.manager_env.mdp:robot_body_pos_b
326
+ params:
327
+ command_name: motion
328
+ body_ori:
329
+ _target_: isaaclab.managers.ObservationTermCfg
330
+ func: gear_sonic.envs.manager_env.mdp:robot_body_ori_b
331
+ params:
332
+ command_name: motion
333
+ base_lin_vel:
334
+ _target_: isaaclab.managers.ObservationTermCfg
335
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
336
+ base_ang_vel:
337
+ _target_: isaaclab.managers.ObservationTermCfg
338
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
339
+ joint_pos:
340
+ _target_: isaaclab.managers.ObservationTermCfg
341
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
342
+ joint_vel:
343
+ _target_: isaaclab.managers.ObservationTermCfg
344
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
345
+ actions:
346
+ _target_: isaaclab.managers.ObservationTermCfg
347
+ func: gear_sonic.envs.manager_env.mdp:last_action
348
+ target_object_pos:
349
+ _target_: isaaclab.managers.ObservationTermCfg
350
+ func: gear_sonic.envs.manager_env.mdp:get_target_object_pos_in_base_frame
351
+ params:
352
+ asset_cfg:
353
+ _target_: isaaclab.managers.SceneEntityCfg
354
+ name: object
355
+ hand_object_transform_6d:
356
+ _target_: isaaclab.managers.ObservationTermCfg
357
+ func: gear_sonic.envs.manager_env.mdp:hand_object_transform_6d
358
+ params:
359
+ asset_cfg:
360
+ _target_: isaaclab.managers.SceneEntityCfg
361
+ name: object_to_hand_frame_transformer
362
+ finger_tips_force:
363
+ _target_: isaaclab.managers.ObservationTermCfg
364
+ func: gear_sonic.envs.manager_env.mdp:get_finger_tips_contact_force
365
+ params:
366
+ sensor_cfg:
367
+ _target_: isaaclab.managers.SceneEntityCfg
368
+ name: object_to_hand_contact_sensor
369
+ grab_contact_flag:
370
+ _target_: isaaclab.managers.ObservationTermCfg
371
+ func: gear_sonic.envs.manager_env.mdp:grab_contact_flag
372
+ params:
373
+ command_name: motion
374
+ object_pos_b:
375
+ _target_: isaaclab.managers.ObservationTermCfg
376
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
377
+ params:
378
+ command_name: motion
379
+ object_ori_b_6d:
380
+ _target_: isaaclab.managers.ObservationTermCfg
381
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
382
+ params:
383
+ command_name: motion
384
+ table_pos_b:
385
+ _target_: isaaclab.managers.ObservationTermCfg
386
+ func: gear_sonic.envs.manager_env.mdp:table_pos_b
387
+ params:
388
+ command_name: motion
389
+ table_ori_b:
390
+ _target_: isaaclab.managers.ObservationTermCfg
391
+ func: gear_sonic.envs.manager_env.mdp:table_ori_b
392
+ params:
393
+ command_name: motion
394
+ object_pos_delta_multi_future:
395
+ _target_: isaaclab.managers.ObservationTermCfg
396
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
397
+ params:
398
+ command_name: motion
399
+ object_ori_delta_multi_future_6d:
400
+ _target_: isaaclab.managers.ObservationTermCfg
401
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
402
+ params:
403
+ command_name: motion
404
+ command_multi_future:
405
+ _target_: isaaclab.managers.ObservationTermCfg
406
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
407
+ params:
408
+ command_name: motion
409
+ motion_anchor_ori_b_mf:
410
+ _target_: isaaclab.managers.ObservationTermCfg
411
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
412
+ params:
413
+ command_name: motion
414
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PrivilegedCfg
415
+ tokenizer:
416
+ encoder_index:
417
+ _target_: isaaclab.managers.ObservationTermCfg
418
+ func: gear_sonic.envs.manager_env.mdp:get_command_obs
419
+ params:
420
+ command_name: motion
421
+ obs_name: episode_encoder_index
422
+ command_multi_future_nonflat:
423
+ _target_: isaaclab.managers.ObservationTermCfg
424
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
425
+ params:
426
+ command_name: motion
427
+ non_flatten: true
428
+ command_z_multi_future_nonflat:
429
+ _target_: isaaclab.managers.ObservationTermCfg
430
+ func: gear_sonic.envs.manager_env.mdp:command_z_multi_future
431
+ params:
432
+ command_name: motion
433
+ non_flatten: true
434
+ motion_anchor_ori_heading_mf_nonflat:
435
+ _target_: isaaclab.managers.ObservationTermCfg
436
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_heading_mf
437
+ params:
438
+ command_name: motion
439
+ non_flatten: true
440
+ noise:
441
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
442
+ n_min: -0.05
443
+ n_max: 0.05
444
+ command_multi_future_lower_body:
445
+ _target_: isaaclab.managers.ObservationTermCfg
446
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future_lower_body
447
+ params:
448
+ command_name: motion
449
+ vr_3point_local_target:
450
+ _target_: isaaclab.managers.ObservationTermCfg
451
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_target
452
+ params:
453
+ command_name: motion
454
+ vr_3point_local_orn_target:
455
+ _target_: isaaclab.managers.ObservationTermCfg
456
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_orn_target
457
+ params:
458
+ command_name: motion
459
+ motion_anchor_ori_heading:
460
+ _target_: isaaclab.managers.ObservationTermCfg
461
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_heading
462
+ params:
463
+ command_name: motion
464
+ noise:
465
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
466
+ n_min: -0.05
467
+ n_max: 0.05
468
+ command_z:
469
+ _target_: isaaclab.managers.ObservationTermCfg
470
+ func: gear_sonic.envs.manager_env.mdp:command_z
471
+ params:
472
+ command_name: motion
473
+ smpl_joints_multi_future_local_nonflat:
474
+ _target_: isaaclab.managers.ObservationTermCfg
475
+ func: gear_sonic.envs.manager_env.mdp:smpl_joints_multi_future_local
476
+ params:
477
+ command_name: motion
478
+ non_flatten: true
479
+ noise:
480
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
481
+ n_min: -0.05
482
+ n_max: 0.05
483
+ smpl_root_ori_heading_multi_future:
484
+ _target_: isaaclab.managers.ObservationTermCfg
485
+ func: gear_sonic.envs.manager_env.mdp:smpl_root_ori_heading_mf
486
+ params:
487
+ command_name: motion
488
+ non_flatten: true
489
+ noise:
490
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
491
+ n_min: -0.05
492
+ n_max: 0.05
493
+ joint_pos_multi_future_wrist_for_smpl:
494
+ _target_: isaaclab.managers.ObservationTermCfg
495
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_multi_future_select_joints_for_smpl
496
+ params:
497
+ command_name: motion
498
+ joints_idx:
499
+ - 23
500
+ - 24
501
+ - 25
502
+ - 26
503
+ - 27
504
+ - 28
505
+ _target_: gear_sonic.envs.manager_env.mdp.observations.TokenizerCfg
506
+ enable_corruption: false
507
+ concatenate_terms: false
508
+ policy_atm:
509
+ base_ang_vel:
510
+ _target_: isaaclab.managers.ObservationTermCfg
511
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
512
+ history_length: ${actor_prop_history_length}
513
+ noise:
514
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
515
+ n_min: -0.2
516
+ n_max: 0.2
517
+ joint_pos_wo_hand:
518
+ _target_: isaaclab.managers.ObservationTermCfg
519
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_wo_hand
520
+ params:
521
+ asset_cfg:
522
+ _target_: isaaclab.managers.SceneEntityCfg
523
+ name: robot
524
+ history_length: ${actor_prop_history_length}
525
+ noise:
526
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
527
+ n_min: -0.01
528
+ n_max: 0.01
529
+ joint_vel_wo_hand:
530
+ _target_: isaaclab.managers.ObservationTermCfg
531
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_wo_hand
532
+ params:
533
+ asset_cfg:
534
+ _target_: isaaclab.managers.SceneEntityCfg
535
+ name: robot
536
+ history_length: ${actor_prop_history_length}
537
+ noise:
538
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
539
+ n_min: -0.5
540
+ n_max: 0.5
541
+ actions_wo_hand:
542
+ _target_: isaaclab.managers.ObservationTermCfg
543
+ func: gear_sonic.envs.manager_env.mdp:last_action_wo_hand
544
+ params:
545
+ asset_cfg:
546
+ _target_: isaaclab.managers.SceneEntityCfg
547
+ name: robot
548
+ history_length: ${actor_actions_history_length}
549
+ gravity_dir:
550
+ _target_: isaaclab.managers.ObservationTermCfg
551
+ func: gear_sonic.envs.manager_env.mdp:gravity_dir
552
+ params:
553
+ command_name: motion
554
+ history_length: ${actor_prop_history_length}
555
+ noise:
556
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
557
+ n_min: -0.05
558
+ n_max: 0.05
559
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyAtmCfg
560
+ enable_corruption: false
561
+ concatenate_terms: true
562
+ _target_: gear_sonic.envs.manager_env.mdp.observations.ObservationsCfg
563
+ rewards:
564
+ tracking_anchor_pos:
565
+ _target_: isaaclab.managers.RewardTermCfg
566
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_pos_error
567
+ weight: 0.5
568
+ params:
569
+ command_name: motion
570
+ std: 0.3
571
+ tracking_anchor_ori:
572
+ _target_: isaaclab.managers.RewardTermCfg
573
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_ori_error
574
+ weight: 2.5
575
+ params:
576
+ command_name: motion
577
+ std: 0.4
578
+ tracking_relative_body_pos:
579
+ _target_: isaaclab.managers.RewardTermCfg
580
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_pos_error
581
+ weight: 1.0
582
+ params:
583
+ command_name: motion
584
+ std: 0.3
585
+ tracking_relative_body_ori_weighted:
586
+ _target_: isaaclab.managers.RewardTermCfg
587
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_ori_weighted_error
588
+ weight: 5.0
589
+ params:
590
+ command_name: motion
591
+ std: 0.4
592
+ body_weights:
593
+ left_wrist_yaw_link: 1.0
594
+ right_wrist_yaw_link: 1.0
595
+ tracking_body_linvel:
596
+ _target_: isaaclab.managers.RewardTermCfg
597
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_linvel_error
598
+ weight: 1.0
599
+ params:
600
+ command_name: motion
601
+ std: 1.0
602
+ tracking_body_angvel:
603
+ _target_: isaaclab.managers.RewardTermCfg
604
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_angvel_error
605
+ weight: 1.0
606
+ params:
607
+ command_name: motion
608
+ std: 3.14
609
+ undesired_contacts_no_ankle_hand:
610
+ _target_: isaaclab.managers.RewardTermCfg
611
+ func: gear_sonic.envs.manager_env.mdp:undesired_contacts
612
+ weight: -0.1
613
+ params:
614
+ sensor_cfg:
615
+ _target_: isaaclab.managers.SceneEntityCfg
616
+ name: contact_forces
617
+ body_names:
618
+ - ^(?!left_ankle_roll_link$)(?!right_ankle_roll_link$)(?!.*hand.*).+$
619
+ threshold: 1.0
620
+ hand_table_contact_penalty: null
621
+ grasp_reward:
622
+ _target_: isaaclab.managers.RewardTermCfg
623
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp
624
+ weight: 40.0
625
+ params:
626
+ sensor_cfg:
627
+ _target_: isaaclab.managers.SceneEntityCfg
628
+ name: object_to_hand_contact_sensor
629
+ contact_threshold: 0.1
630
+ min_contacts: 3
631
+ hand: right_hand
632
+ command_name: motion
633
+ grasp_finger_direction:
634
+ _target_: isaaclab.managers.RewardTermCfg
635
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_finger_direction
636
+ weight: 10.0
637
+ params:
638
+ thumb_link: right_hand_thumb_2_link
639
+ index_link: right_hand_index_1_link
640
+ middle_link: right_hand_middle_1_link
641
+ hand: right_hand
642
+ command_name: motion
643
+ grasp_contact_center_right:
644
+ _target_: isaaclab.managers.RewardTermCfg
645
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_contact_center
646
+ weight: 0.1
647
+ params:
648
+ hand: right_hand
649
+ command_name: motion
650
+ exp_coeff: -10.0
651
+ grasp_reward_left:
652
+ _target_: isaaclab.managers.RewardTermCfg
653
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp
654
+ weight: 20.0
655
+ params:
656
+ sensor_cfg:
657
+ _target_: isaaclab.managers.SceneEntityCfg
658
+ name: object_to_left_hand_contact_sensor
659
+ contact_threshold: 0.1
660
+ min_contacts: 3
661
+ command_name: motion
662
+ hand: left_hand
663
+ grasp_finger_direction_left:
664
+ _target_: isaaclab.managers.RewardTermCfg
665
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_finger_direction
666
+ weight: 5.0
667
+ params:
668
+ thumb_link: left_hand_thumb_2_link
669
+ index_link: left_hand_index_1_link
670
+ middle_link: left_hand_middle_1_link
671
+ hand: left_hand
672
+ command_name: motion
673
+ grasp_contact_center_left:
674
+ _target_: isaaclab.managers.RewardTermCfg
675
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_contact_center
676
+ weight: 0.05
677
+ params:
678
+ hand: left_hand
679
+ command_name: motion
680
+ exp_coeff: -10.0
681
+ finger_primitive_limit:
682
+ _target_: isaaclab.managers.RewardTermCfg
683
+ func: gear_sonic.envs.manager_env.mdp:reward_finger_primitive_limit
684
+ weight: -10.0
685
+ params:
686
+ mode: discrete
687
+ action_scale: 1.0
688
+ discrete_threshold: 0.5
689
+ object_tracking_reward:
690
+ _target_: isaaclab.managers.RewardTermCfg
691
+ func: gear_sonic.envs.manager_env.mdp:object_tracking_reward
692
+ weight: 20
693
+ params:
694
+ command_name: motion
695
+ sensor_cfg:
696
+ _target_: isaaclab.managers.SceneEntityCfg
697
+ name: object_to_hand_contact_sensor
698
+ w_op: 0.5
699
+ w_or: 0.3
700
+ w_ov: 0.0
701
+ w_oav: 0.0
702
+ pos_exp_coeff: -100.0
703
+ ori_exp_coeff: -100.0
704
+ vel_exp_coeff: -5.0
705
+ ang_vel_exp_coeff: -5.0
706
+ _target_: gear_sonic.envs.manager_env.mdp.rewards.RewardsCfg
707
+ terminations:
708
+ anchor_pos:
709
+ _target_: isaaclab.managers.TerminationTermCfg
710
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_height
711
+ params:
712
+ command_name: motion
713
+ threshold: 0.25
714
+ threshold_adaptive: false
715
+ down_threshold: 0.5
716
+ anchor_ori_full:
717
+ _target_: isaaclab.managers.TerminationTermCfg
718
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_ori
719
+ params:
720
+ asset_cfg:
721
+ _target_: isaaclab.managers.SceneEntityCfg
722
+ name: robot
723
+ command_name: motion
724
+ threshold: 1
725
+ ee_body_pos:
726
+ _target_: isaaclab.managers.TerminationTermCfg
727
+ func: gear_sonic.envs.manager_env.mdp:exceeded_body_height
728
+ params:
729
+ command_name: motion
730
+ threshold: 0.25
731
+ threshold_adaptive: false
732
+ down_threshold: 0.5
733
+ body_names:
734
+ - left_ankle_roll_link
735
+ - right_ankle_roll_link
736
+ - left_wrist_yaw_link
737
+ - right_wrist_yaw_link
738
+ time_out:
739
+ _target_: isaaclab.managers.TerminationTermCfg
740
+ func: gear_sonic.envs.manager_env.mdp:tracking_time_out
741
+ time_out: true
742
+ params:
743
+ command_name: motion
744
+ object_pos_deviation:
745
+ _target_: isaaclab.managers.TerminationTermCfg
746
+ func: gear_sonic.envs.manager_env.mdp:object_pos_deviation
747
+ params:
748
+ command_name: motion
749
+ threshold: 0.25
750
+ _target_: gear_sonic.envs.manager_env.mdp.terminations.TerminationsCfg
751
+ hand_table_contact_termination: null
752
+ object_z_pos_deviation:
753
+ _target_: isaaclab.managers.TerminationTermCfg
754
+ func: gear_sonic.envs.manager_env.mdp:object_z_pos_deviation
755
+ params:
756
+ command_name: motion
757
+ threshold: 0.3
758
+ grasp_failure_after_contact:
759
+ _target_: isaaclab.managers.TerminationTermCfg
760
+ func: gear_sonic.envs.manager_env.mdp:GraspFailureAfterContact
761
+ params:
762
+ command_name: motion
763
+ hand: right_hand
764
+ sensor_name: object_to_hand_contact_sensor
765
+ contact_threshold: 0.1
766
+ min_contacts: 3
767
+ grace_frames: 50
768
+ commands:
769
+ motion:
770
+ _target_: gear_sonic.envs.manager_env.mdp.commands.TrackingCommandCfg
771
+ asset_name: robot
772
+ motion_lib_cfg:
773
+ motion_file: data/motion_lib_genhoi/p017_0309_ha/robot
774
+ smpl_motion_file: dummy
775
+ asset:
776
+ assetRoot: gear_sonic/data/assets/robot_description/mjcf/
777
+ assetFileName: g1_29dof_rev_1_0.xml
778
+ urdfFileName: ''
779
+ extend_config: []
780
+ target_fps: 50
781
+ multi_thread: true
782
+ filter_motion_keys: null
783
+ adaptive_sampling: null
784
+ smpl_y_up: true
785
+ object_motion_file: data/motion_lib_genhoi/p017_0309_ha/objects
786
+ bps_dir: data/motion_lib_genhoi/p017_0309_ha/bps
787
+ resampling_time_range:
788
+ - 1000000000.0
789
+ - 1000000000.0
790
+ debug_vis: false
791
+ dt_future_ref_frames: 0.1
792
+ num_future_frames: 10
793
+ pose_range:
794
+ x:
795
+ - 0
796
+ - 0
797
+ 'y':
798
+ - 0
799
+ - 0
800
+ z:
801
+ - 0
802
+ - 0
803
+ roll:
804
+ - 0
805
+ - 0
806
+ pitch:
807
+ - 0
808
+ - 0
809
+ yaw:
810
+ - 0
811
+ - 0
812
+ velocity_range:
813
+ x:
814
+ - 0
815
+ - 0
816
+ 'y':
817
+ - 0
818
+ - 0
819
+ z:
820
+ - 0
821
+ - 0
822
+ roll:
823
+ - 0
824
+ - 0
825
+ pitch:
826
+ - 0
827
+ - 0
828
+ yaw:
829
+ - 0
830
+ - 0
831
+ joint_position_range:
832
+ - 0
833
+ - 0
834
+ joint_velocity_range:
835
+ - 0
836
+ - 0
837
+ anchor_body: pelvis
838
+ vr_3point_body:
839
+ - left_wrist_yaw_link
840
+ - right_wrist_yaw_link
841
+ - torso_link
842
+ vr_3point_body_offset:
843
+ - - 0.18
844
+ - -0.025
845
+ - 0.0
846
+ - - 0.18
847
+ - 0.025
848
+ - 0.0
849
+ - - 0.0
850
+ - 0.0
851
+ - 0.35
852
+ reward_point_body:
853
+ - pelvis
854
+ - left_wrist_yaw_link
855
+ - right_wrist_yaw_link
856
+ - left_ankle_roll_link
857
+ - right_ankle_roll_link
858
+ reward_point_body_offset:
859
+ - - 0.0
860
+ - 0.0
861
+ - 0.0
862
+ - - 0.18
863
+ - -0.025
864
+ - 0.0
865
+ - - 0.18
866
+ - 0.025
867
+ - 0.0
868
+ - - 0.0
869
+ - 0.0
870
+ - 0.0
871
+ - - 0.0
872
+ - 0.0
873
+ - 0.0
874
+ body_names:
875
+ - pelvis
876
+ - left_hip_roll_link
877
+ - left_knee_link
878
+ - left_ankle_roll_link
879
+ - right_hip_roll_link
880
+ - right_knee_link
881
+ - right_ankle_roll_link
882
+ - torso_link
883
+ - left_shoulder_roll_link
884
+ - left_elbow_link
885
+ - left_wrist_yaw_link
886
+ - right_shoulder_roll_link
887
+ - right_elbow_link
888
+ - right_wrist_yaw_link
889
+ motion_lib_num_dof: 29
890
+ hand_default_positions:
891
+ - 0.0
892
+ - 0.0
893
+ - 0.0
894
+ - 0.0
895
+ - 0.0
896
+ - 0.0
897
+ - 0.0
898
+ - 0.0
899
+ - 0.0
900
+ - 0.0
901
+ - 0.0
902
+ - 0.0
903
+ - 0.0
904
+ - 0.0
905
+ smpl_num_future_frames: 10
906
+ smpl_dt_future_ref_frames: 0.02
907
+ use_paired_motions: true
908
+ start_from_first_frame: false
909
+ sample_before_contact: true
910
+ sample_before_contact_margin: 10
911
+ sample_before_contact_hand: right_hand
912
+ object_position_randomize: false
913
+ encoder_sample_probs:
914
+ g1: 1.0
915
+ teleop: 0.0
916
+ smpl: 0.0
917
+ _target_: gear_sonic.envs.manager_env.mdp.commands.CommandsCfg
918
+ events:
919
+ _target_: gear_sonic.envs.manager_env.mdp.events.EventCfg
920
+ curriculum:
921
+ _target_: gear_sonic.envs.manager_env.mdp.curriculum.CurriculumCfg
922
+ recorders:
923
+ _target_: gear_sonic.envs.manager_env.mdp.recorders.RecordersCfg
924
+ _target_: gear_sonic.envs.manager_env.modular_tracking_env_cfg.ModularTrackingEnvCfg
925
+ config:
926
+ num_envs: ${num_envs}
927
+ env_spacing: 10.0
928
+ decimation: 4
929
+ episode_length_s: 10.0
930
+ sim_dt: 0.005
931
+ viewer_eye:
932
+ - 4.5
933
+ - 0.0
934
+ - 6.0
935
+ viewer_lookat:
936
+ - 0.0
937
+ - 0.0
938
+ - 2.0
939
+ render_results: false
940
+ save_rendering_dir: ${experiment_dir}/renderings_training
941
+ experiment_dir: ${experiment_dir}
942
+ terrain_type: plane
943
+ object_mass: 0.1
944
+ table_offset: null
945
+ eval_camera_offset:
946
+ - 2
947
+ - -2
948
+ - 1
949
+ action_transform_module_cfg: models/sonic_sm_3pt_heading_hh-20260203_131215/model_config.yaml
950
+ action_transform_module_checkpoint: models/sonic_sm_3pt_heading_hh-20260203_131215/model_step_092000.pt
951
+ meta_action_dim: 66
952
+ needs_policy_atm: true
953
+ obs:
954
+ obs_dict: {}
955
+ obs_dims: {}
956
+ group_obs_dims: {}
957
+ group_obs_names: {}
958
+ action_clip_value: 20.0
959
+ robot:
960
+ type: g1_43dof
961
+ algo_obs_dim_dict: {}
962
+ rewards:
963
+ num_critics: 1
964
+ train_only_events:
965
+ - push_robot
966
+ - compliance_force_push
967
+ safe_nan: true
968
+ gpu_collision_stack_size_exp: 30
969
+ add_object: true
970
+ object_is_dynamic: true
971
+ add_table: false
972
+ lift_contact_force_threshold: 0.1
973
+ scene_scale: null
974
+ use_motion_hand_actions: false
975
+ use_finger_primitive: true
976
+ motion_meta_info_path: null
977
+ use_latent_residual: true
978
+ latent_residual_mode: pre_quantization
979
+ latent_residual_scale: 0.1
980
+ tokenizer_action_dim: 64
981
+ hand_action_dim: 2
982
+ finger_primitive:
983
+ primitive_action_map:
984
+ left:
985
+ dof_names:
986
+ - left_hand_index_0_joint
987
+ - left_hand_index_1_joint
988
+ - left_hand_middle_0_joint
989
+ - left_hand_middle_1_joint
990
+ - left_hand_thumb_0_joint
991
+ - left_hand_thumb_1_joint
992
+ - left_hand_thumb_2_joint
993
+ pos_0:
994
+ - 0.0
995
+ - 0.0
996
+ - 0.0
997
+ - 0.0
998
+ - 0.0
999
+ - 0.0
1000
+ - 0.0
1001
+ pos_1:
1002
+ - -1.42857143
1003
+ - -2.14285714
1004
+ - -1.42857143
1005
+ - -2.14285714
1006
+ - 0.0
1007
+ - 1.0
1008
+ - 1.0
1009
+ discrete: true
1010
+ right:
1011
+ dof_names:
1012
+ - right_hand_index_0_joint
1013
+ - right_hand_index_1_joint
1014
+ - right_hand_middle_0_joint
1015
+ - right_hand_middle_1_joint
1016
+ - right_hand_thumb_0_joint
1017
+ - right_hand_thumb_1_joint
1018
+ - right_hand_thumb_2_joint
1019
+ pos_0:
1020
+ - 0.0
1021
+ - 0.0
1022
+ - 0.0
1023
+ - 0.0
1024
+ - 0.0
1025
+ - 0.0
1026
+ - 0.0
1027
+ pos_1:
1028
+ - 1.42857143
1029
+ - 2.14285714
1030
+ - 1.42857143
1031
+ - 2.14285714
1032
+ - 0.0
1033
+ - -1.0
1034
+ - -1.0
1035
+ discrete: true
1036
+ use_staged_wrapper: false
1037
+ object_usd_path: data/motion_lib_genhoi/p017_0309_ha/object_usd
1038
+ use_manager_env: true
1039
+ exp_base: ${hydra:runtime.choices.exp}
1040
+ motion_shard_by_rank: true
1041
+ exp_var: pnp_ground_p17_2604301955
1042
+ actor_prop_history_length: 10
1043
+ actor_actions_history_length: 10
1044
+ critic_prop_history_length: 10
1045
+ critic_actions_history_length: 10
checkpoint/SONIC/models/pnp_ground/config.yaml ADDED
@@ -0,0 +1,1047 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ num_gpus: 1
2
+ max_retries: 1
3
+ seed: 0
4
+ codebase_version: 1.0
5
+ headless: true
6
+ num_envs: 2048
7
+ auto_load_latest: false
8
+ checkpoint: null
9
+ project_name: GRAB_Tracking
10
+ experiment_name: ${exp_base}_${exp_var}
11
+ base_dir: logs_rl
12
+ timestamp: ${now:%Y%m%d_%H%M%S}
13
+ experiment_dir: logs_rl/TRL_G1_Track/manager/universal_token/hoi/pnp_ground_pnp_ground_p17_2604301955-20260509_235516
14
+ save_dir: ${experiment_dir}/.hydra
15
+ force_flat_terrain: false
16
+ use_wandb: true
17
+ log_task_name: TEST
18
+ multi_gpu: true
19
+ global_rank: 0
20
+ sim_type: isaacsim
21
+ env_spacing: 20
22
+ output_dir: ${experiment_dir}/output
23
+ eval_overrides:
24
+ headless: false
25
+ num_envs: 1
26
+ auto_load_latest: false
27
+ use_wandb: false
28
+ algo:
29
+ trl:
30
+ dataset_name: dummy
31
+ output_dir: logs_rl/TRL_G1_Track/manager/universal_token/hoi/pnp_ground_pnp_ground_p17_2604301955-20260509_235516
32
+ learning_rate: ${algo.config.actor_learning_rate}
33
+ num_total_batches: ${algo.config.num_learning_iterations}
34
+ total_episodes: null
35
+ num_ppo_epochs: ${algo.config.num_learning_epochs}
36
+ num_mini_batches: ${algo.config.num_mini_batches}
37
+ per_device_train_batch_size: null
38
+ gradient_accumulation_steps: 1
39
+ report_to: none
40
+ gamma: ${algo.config.gamma}
41
+ lam: ${algo.config.lam}
42
+ vf_coef: ${algo.config.value_loss_coef}
43
+ max_grad_norm: ${algo.config.max_grad_norm}
44
+ lr_scheduler_type: constant
45
+ save_strategy: 'no'
46
+ disable_tqdm: true
47
+ config:
48
+ actor:
49
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Actor
50
+ running_mean_std: false
51
+ output_original_obs_dict: true
52
+ has_aux_loss: true
53
+ backbone:
54
+ _target_: gear_sonic.trl.modules.base_module.BaseModuleAux
55
+ process_output_dim: true
56
+ aux_loss_func:
57
+ latent_l2:
58
+ _target_: gear_sonic.trl.losses.token_losses.LatentL2Loss
59
+ latent_dim: 64
60
+ aux_loss_coef:
61
+ latent_l2: 0.1
62
+ module_config_dict:
63
+ input_dim:
64
+ - actor_obs
65
+ output_dim:
66
+ - robot_action_dim
67
+ layer_config:
68
+ type: MLP
69
+ hidden_dims:
70
+ - 512
71
+ - 256
72
+ - 128
73
+ activation: SiLU
74
+ critic:
75
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Critic
76
+ running_mean_std: false
77
+ backbone:
78
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
79
+ process_output_dim: true
80
+ module_config_dict:
81
+ type: MLP
82
+ input_dim:
83
+ - critic_obs
84
+ output_dim:
85
+ - 1
86
+ layer_config:
87
+ type: MLP
88
+ hidden_dims:
89
+ - 512
90
+ - 256
91
+ - 128
92
+ activation: SiLU
93
+ num_learning_epochs: 5
94
+ num_mini_batches: 4
95
+ clip_param: 0.2
96
+ gamma: 0.99
97
+ lam: 0.95
98
+ value_loss_coef: 1.0
99
+ entropy_coef: 0.01
100
+ actor_learning_rate: 2.0e-05
101
+ critic_learning_rate: 0.001
102
+ max_grad_norm: 0.1
103
+ use_clipped_value_loss: true
104
+ schedule: adaptive
105
+ desired_kl: 0.01
106
+ adaptive_lr_min: 1.0e-05
107
+ adaptive_lr_max: 0.0002
108
+ use_new_actor_critic: true
109
+ use_padding_mask: false
110
+ ppo_shuffle_every_epoch: true
111
+ sync_advantage_normalization: true
112
+ empty_cache_every_n_ppo_epoch: -1
113
+ num_steps_per_env: 24
114
+ save_interval: 500
115
+ eval_frequency: 500
116
+ load_optimizer: true
117
+ init_noise_std: 0.05
118
+ num_learning_iterations: 20000
119
+ init_at_random_ep_len: true
120
+ global_rank: 0
121
+ world_size: 32
122
+ use_clampped_std: true
123
+ std_clamp_min: 0.001
124
+ std_clamp_max: 0.5
125
+ _recursive_: false
126
+ env: ???
127
+ terrain: ???
128
+ callbacks:
129
+ model_save:
130
+ _target_: gear_sonic.trl.callbacks.model_save_callback.ModelSaveCallback
131
+ save_dir: ${experiment_dir}
132
+ save_frequency: 500
133
+ max_disk_usage: 14.8
134
+ wandb:
135
+ _target_: gear_sonic.trl.callbacks.wandb_callback.WandbCallback
136
+ read_eval:
137
+ _target_: gear_sonic.trl.callbacks.read_eval_callback.ReadEvalCallback
138
+ eval_dir: ${experiment_dir}/eval
139
+ check_interval: 1
140
+ im_resample:
141
+ _target_: gear_sonic.trl.callbacks.im_resample_callback.ImResampleCallback
142
+ motion_resample_frequency: 250
143
+ trainer:
144
+ _target_: gear_sonic.trl.trainer.ppo_trainer_aux_loss.TRLAuxLossPPOTrainer
145
+ wandb:
146
+ wandb_project: null
147
+ wandb_tags: online
148
+ wandb_group: pnp_ground_p17_2604301955
149
+ wandb_id: null
150
+ wandb_entity: null
151
+ wandb_dir: /tmp
152
+ manager_env:
153
+ actions:
154
+ joint_pos:
155
+ _target_: isaaclab.envs.mdp.actions.JointPositionActionCfg
156
+ asset_name: robot
157
+ joint_names:
158
+ - .*
159
+ use_default_offset: true
160
+ _target_: gear_sonic.envs.manager_env.mdp.actions.ActionsCfg
161
+ observations:
162
+ policy:
163
+ command:
164
+ _target_: isaaclab.managers.ObservationTermCfg
165
+ func: gear_sonic.envs.manager_env.mdp:generated_commands
166
+ params:
167
+ command_name: motion
168
+ motion_anchor_pos_b:
169
+ _target_: isaaclab.managers.ObservationTermCfg
170
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
171
+ params:
172
+ command_name: motion
173
+ noise:
174
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
175
+ n_min: -0.25
176
+ n_max: 0.25
177
+ motion_anchor_ori_b:
178
+ _target_: isaaclab.managers.ObservationTermCfg
179
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
180
+ params:
181
+ command_name: motion
182
+ noise:
183
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
184
+ n_min: -0.05
185
+ n_max: 0.05
186
+ base_lin_vel:
187
+ _target_: isaaclab.managers.ObservationTermCfg
188
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
189
+ noise:
190
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
191
+ n_min: -0.5
192
+ n_max: 0.5
193
+ base_ang_vel:
194
+ _target_: isaaclab.managers.ObservationTermCfg
195
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
196
+ noise:
197
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
198
+ n_min: -0.2
199
+ n_max: 0.2
200
+ joint_pos:
201
+ _target_: isaaclab.managers.ObservationTermCfg
202
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
203
+ noise:
204
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
205
+ n_min: -0.01
206
+ n_max: 0.01
207
+ joint_vel:
208
+ _target_: isaaclab.managers.ObservationTermCfg
209
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
210
+ noise:
211
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
212
+ n_min: -0.5
213
+ n_max: 0.5
214
+ actions:
215
+ _target_: isaaclab.managers.ObservationTermCfg
216
+ func: gear_sonic.envs.manager_env.mdp:last_action
217
+ target_object_pos:
218
+ _target_: isaaclab.managers.ObservationTermCfg
219
+ func: gear_sonic.envs.manager_env.mdp:get_target_object_pos_in_base_frame
220
+ params:
221
+ asset_cfg:
222
+ _target_: isaaclab.managers.SceneEntityCfg
223
+ name: object
224
+ noise: null
225
+ hand_object_transform_6d:
226
+ _target_: isaaclab.managers.ObservationTermCfg
227
+ func: gear_sonic.envs.manager_env.mdp:hand_object_transform_6d
228
+ params:
229
+ asset_cfg:
230
+ _target_: isaaclab.managers.SceneEntityCfg
231
+ name: object_to_hand_frame_transformer
232
+ noise: null
233
+ finger_tips_force:
234
+ _target_: isaaclab.managers.ObservationTermCfg
235
+ func: gear_sonic.envs.manager_env.mdp:get_finger_tips_contact_force
236
+ params:
237
+ sensor_cfg:
238
+ _target_: isaaclab.managers.SceneEntityCfg
239
+ name: object_to_hand_contact_sensor
240
+ noise: null
241
+ object_pos_b:
242
+ _target_: isaaclab.managers.ObservationTermCfg
243
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
244
+ params:
245
+ command_name: motion
246
+ noise: null
247
+ object_ori_b_6d:
248
+ _target_: isaaclab.managers.ObservationTermCfg
249
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
250
+ params:
251
+ command_name: motion
252
+ noise: null
253
+ table_pos_b:
254
+ _target_: isaaclab.managers.ObservationTermCfg
255
+ func: gear_sonic.envs.manager_env.mdp:table_pos_b
256
+ params:
257
+ command_name: motion
258
+ noise: null
259
+ table_ori_b:
260
+ _target_: isaaclab.managers.ObservationTermCfg
261
+ func: gear_sonic.envs.manager_env.mdp:table_ori_b
262
+ params:
263
+ command_name: motion
264
+ noise: null
265
+ object_pos_delta_multi_future:
266
+ _target_: isaaclab.managers.ObservationTermCfg
267
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
268
+ params:
269
+ command_name: motion
270
+ noise:
271
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
272
+ n_min: -0.02
273
+ n_max: 0.02
274
+ object_ori_delta_multi_future_6d:
275
+ _target_: isaaclab.managers.ObservationTermCfg
276
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
277
+ params:
278
+ command_name: motion
279
+ noise:
280
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
281
+ n_min: -0.02
282
+ n_max: 0.02
283
+ command_multi_future:
284
+ _target_: isaaclab.managers.ObservationTermCfg
285
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
286
+ params:
287
+ command_name: motion
288
+ noise: null
289
+ motion_anchor_ori_b_mf:
290
+ _target_: isaaclab.managers.ObservationTermCfg
291
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
292
+ params:
293
+ command_name: motion
294
+ noise:
295
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
296
+ n_min: -0.05
297
+ n_max: 0.05
298
+ object_bps:
299
+ _target_: isaaclab.managers.ObservationTermCfg
300
+ func: gear_sonic.envs.manager_env.mdp:object_bps
301
+ params:
302
+ command_name: motion
303
+ noise: null
304
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyCfg
305
+ enable_corruption: false
306
+ concatenate_terms: true
307
+ critic:
308
+ command:
309
+ _target_: isaaclab.managers.ObservationTermCfg
310
+ func: gear_sonic.envs.manager_env.mdp:generated_commands
311
+ params:
312
+ command_name: motion
313
+ motion_anchor_pos_b:
314
+ _target_: isaaclab.managers.ObservationTermCfg
315
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
316
+ params:
317
+ command_name: motion
318
+ motion_anchor_ori_b:
319
+ _target_: isaaclab.managers.ObservationTermCfg
320
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
321
+ params:
322
+ command_name: motion
323
+ body_pos:
324
+ _target_: isaaclab.managers.ObservationTermCfg
325
+ func: gear_sonic.envs.manager_env.mdp:robot_body_pos_b
326
+ params:
327
+ command_name: motion
328
+ body_ori:
329
+ _target_: isaaclab.managers.ObservationTermCfg
330
+ func: gear_sonic.envs.manager_env.mdp:robot_body_ori_b
331
+ params:
332
+ command_name: motion
333
+ base_lin_vel:
334
+ _target_: isaaclab.managers.ObservationTermCfg
335
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
336
+ base_ang_vel:
337
+ _target_: isaaclab.managers.ObservationTermCfg
338
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
339
+ joint_pos:
340
+ _target_: isaaclab.managers.ObservationTermCfg
341
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
342
+ joint_vel:
343
+ _target_: isaaclab.managers.ObservationTermCfg
344
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
345
+ actions:
346
+ _target_: isaaclab.managers.ObservationTermCfg
347
+ func: gear_sonic.envs.manager_env.mdp:last_action
348
+ target_object_pos:
349
+ _target_: isaaclab.managers.ObservationTermCfg
350
+ func: gear_sonic.envs.manager_env.mdp:get_target_object_pos_in_base_frame
351
+ params:
352
+ asset_cfg:
353
+ _target_: isaaclab.managers.SceneEntityCfg
354
+ name: object
355
+ hand_object_transform_6d:
356
+ _target_: isaaclab.managers.ObservationTermCfg
357
+ func: gear_sonic.envs.manager_env.mdp:hand_object_transform_6d
358
+ params:
359
+ asset_cfg:
360
+ _target_: isaaclab.managers.SceneEntityCfg
361
+ name: object_to_hand_frame_transformer
362
+ finger_tips_force:
363
+ _target_: isaaclab.managers.ObservationTermCfg
364
+ func: gear_sonic.envs.manager_env.mdp:get_finger_tips_contact_force
365
+ params:
366
+ sensor_cfg:
367
+ _target_: isaaclab.managers.SceneEntityCfg
368
+ name: object_to_hand_contact_sensor
369
+ grab_contact_flag:
370
+ _target_: isaaclab.managers.ObservationTermCfg
371
+ func: gear_sonic.envs.manager_env.mdp:grab_contact_flag
372
+ params:
373
+ command_name: motion
374
+ object_pos_b:
375
+ _target_: isaaclab.managers.ObservationTermCfg
376
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
377
+ params:
378
+ command_name: motion
379
+ object_ori_b_6d:
380
+ _target_: isaaclab.managers.ObservationTermCfg
381
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
382
+ params:
383
+ command_name: motion
384
+ table_pos_b:
385
+ _target_: isaaclab.managers.ObservationTermCfg
386
+ func: gear_sonic.envs.manager_env.mdp:table_pos_b
387
+ params:
388
+ command_name: motion
389
+ table_ori_b:
390
+ _target_: isaaclab.managers.ObservationTermCfg
391
+ func: gear_sonic.envs.manager_env.mdp:table_ori_b
392
+ params:
393
+ command_name: motion
394
+ object_pos_delta_multi_future:
395
+ _target_: isaaclab.managers.ObservationTermCfg
396
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
397
+ params:
398
+ command_name: motion
399
+ object_ori_delta_multi_future_6d:
400
+ _target_: isaaclab.managers.ObservationTermCfg
401
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
402
+ params:
403
+ command_name: motion
404
+ command_multi_future:
405
+ _target_: isaaclab.managers.ObservationTermCfg
406
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
407
+ params:
408
+ command_name: motion
409
+ motion_anchor_ori_b_mf:
410
+ _target_: isaaclab.managers.ObservationTermCfg
411
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
412
+ params:
413
+ command_name: motion
414
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PrivilegedCfg
415
+ tokenizer:
416
+ encoder_index:
417
+ _target_: isaaclab.managers.ObservationTermCfg
418
+ func: gear_sonic.envs.manager_env.mdp:get_command_obs
419
+ params:
420
+ command_name: motion
421
+ obs_name: episode_encoder_index
422
+ command_multi_future_nonflat:
423
+ _target_: isaaclab.managers.ObservationTermCfg
424
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
425
+ params:
426
+ command_name: motion
427
+ non_flatten: true
428
+ command_z_multi_future_nonflat:
429
+ _target_: isaaclab.managers.ObservationTermCfg
430
+ func: gear_sonic.envs.manager_env.mdp:command_z_multi_future
431
+ params:
432
+ command_name: motion
433
+ non_flatten: true
434
+ motion_anchor_ori_heading_mf_nonflat:
435
+ _target_: isaaclab.managers.ObservationTermCfg
436
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_heading_mf
437
+ params:
438
+ command_name: motion
439
+ non_flatten: true
440
+ noise:
441
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
442
+ n_min: -0.05
443
+ n_max: 0.05
444
+ command_multi_future_lower_body:
445
+ _target_: isaaclab.managers.ObservationTermCfg
446
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future_lower_body
447
+ params:
448
+ command_name: motion
449
+ vr_3point_local_target:
450
+ _target_: isaaclab.managers.ObservationTermCfg
451
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_target
452
+ params:
453
+ command_name: motion
454
+ vr_3point_local_orn_target:
455
+ _target_: isaaclab.managers.ObservationTermCfg
456
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_orn_target
457
+ params:
458
+ command_name: motion
459
+ motion_anchor_ori_heading:
460
+ _target_: isaaclab.managers.ObservationTermCfg
461
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_heading
462
+ params:
463
+ command_name: motion
464
+ noise:
465
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
466
+ n_min: -0.05
467
+ n_max: 0.05
468
+ command_z:
469
+ _target_: isaaclab.managers.ObservationTermCfg
470
+ func: gear_sonic.envs.manager_env.mdp:command_z
471
+ params:
472
+ command_name: motion
473
+ smpl_joints_multi_future_local_nonflat:
474
+ _target_: isaaclab.managers.ObservationTermCfg
475
+ func: gear_sonic.envs.manager_env.mdp:smpl_joints_multi_future_local
476
+ params:
477
+ command_name: motion
478
+ non_flatten: true
479
+ noise:
480
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
481
+ n_min: -0.05
482
+ n_max: 0.05
483
+ smpl_root_ori_heading_multi_future:
484
+ _target_: isaaclab.managers.ObservationTermCfg
485
+ func: gear_sonic.envs.manager_env.mdp:smpl_root_ori_heading_mf
486
+ params:
487
+ command_name: motion
488
+ non_flatten: true
489
+ noise:
490
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
491
+ n_min: -0.05
492
+ n_max: 0.05
493
+ joint_pos_multi_future_wrist_for_smpl:
494
+ _target_: isaaclab.managers.ObservationTermCfg
495
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_multi_future_select_joints_for_smpl
496
+ params:
497
+ command_name: motion
498
+ joints_idx:
499
+ - 23
500
+ - 24
501
+ - 25
502
+ - 26
503
+ - 27
504
+ - 28
505
+ _target_: gear_sonic.envs.manager_env.mdp.observations.TokenizerCfg
506
+ enable_corruption: false
507
+ concatenate_terms: false
508
+ policy_atm:
509
+ base_ang_vel:
510
+ _target_: isaaclab.managers.ObservationTermCfg
511
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
512
+ history_length: ${actor_prop_history_length}
513
+ noise:
514
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
515
+ n_min: -0.2
516
+ n_max: 0.2
517
+ joint_pos_wo_hand:
518
+ _target_: isaaclab.managers.ObservationTermCfg
519
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_wo_hand
520
+ params:
521
+ asset_cfg:
522
+ _target_: isaaclab.managers.SceneEntityCfg
523
+ name: robot
524
+ history_length: ${actor_prop_history_length}
525
+ noise:
526
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
527
+ n_min: -0.01
528
+ n_max: 0.01
529
+ joint_vel_wo_hand:
530
+ _target_: isaaclab.managers.ObservationTermCfg
531
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_wo_hand
532
+ params:
533
+ asset_cfg:
534
+ _target_: isaaclab.managers.SceneEntityCfg
535
+ name: robot
536
+ history_length: ${actor_prop_history_length}
537
+ noise:
538
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
539
+ n_min: -0.5
540
+ n_max: 0.5
541
+ actions_wo_hand:
542
+ _target_: isaaclab.managers.ObservationTermCfg
543
+ func: gear_sonic.envs.manager_env.mdp:last_action_wo_hand
544
+ params:
545
+ asset_cfg:
546
+ _target_: isaaclab.managers.SceneEntityCfg
547
+ name: robot
548
+ history_length: ${actor_actions_history_length}
549
+ gravity_dir:
550
+ _target_: isaaclab.managers.ObservationTermCfg
551
+ func: gear_sonic.envs.manager_env.mdp:gravity_dir
552
+ params:
553
+ command_name: motion
554
+ history_length: ${actor_prop_history_length}
555
+ noise:
556
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
557
+ n_min: -0.05
558
+ n_max: 0.05
559
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyAtmCfg
560
+ enable_corruption: false
561
+ concatenate_terms: true
562
+ _target_: gear_sonic.envs.manager_env.mdp.observations.ObservationsCfg
563
+ rewards:
564
+ tracking_anchor_pos:
565
+ _target_: isaaclab.managers.RewardTermCfg
566
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_pos_error
567
+ weight: 0.5
568
+ params:
569
+ command_name: motion
570
+ std: 0.3
571
+ tracking_anchor_ori:
572
+ _target_: isaaclab.managers.RewardTermCfg
573
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_ori_error
574
+ weight: 2.5
575
+ params:
576
+ command_name: motion
577
+ std: 0.4
578
+ tracking_relative_body_pos:
579
+ _target_: isaaclab.managers.RewardTermCfg
580
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_pos_error
581
+ weight: 1.0
582
+ params:
583
+ command_name: motion
584
+ std: 0.3
585
+ tracking_relative_body_ori_weighted:
586
+ _target_: isaaclab.managers.RewardTermCfg
587
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_ori_weighted_error
588
+ weight: 5.0
589
+ params:
590
+ command_name: motion
591
+ std: 0.4
592
+ body_weights:
593
+ left_wrist_yaw_link: 1.0
594
+ right_wrist_yaw_link: 1.0
595
+ tracking_body_linvel:
596
+ _target_: isaaclab.managers.RewardTermCfg
597
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_linvel_error
598
+ weight: 1.0
599
+ params:
600
+ command_name: motion
601
+ std: 1.0
602
+ tracking_body_angvel:
603
+ _target_: isaaclab.managers.RewardTermCfg
604
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_angvel_error
605
+ weight: 1.0
606
+ params:
607
+ command_name: motion
608
+ std: 3.14
609
+ undesired_contacts_no_ankle_hand:
610
+ _target_: isaaclab.managers.RewardTermCfg
611
+ func: gear_sonic.envs.manager_env.mdp:undesired_contacts
612
+ weight: -0.1
613
+ params:
614
+ sensor_cfg:
615
+ _target_: isaaclab.managers.SceneEntityCfg
616
+ name: contact_forces
617
+ body_names:
618
+ - ^(?!left_ankle_roll_link$)(?!right_ankle_roll_link$)(?!.*hand.*).+$
619
+ threshold: 1.0
620
+ hand_table_contact_penalty: null
621
+ grasp_reward:
622
+ _target_: isaaclab.managers.RewardTermCfg
623
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp
624
+ weight: 40.0
625
+ params:
626
+ sensor_cfg:
627
+ _target_: isaaclab.managers.SceneEntityCfg
628
+ name: object_to_hand_contact_sensor
629
+ contact_threshold: 0.1
630
+ min_contacts: 3
631
+ hand: right_hand
632
+ command_name: motion
633
+ grasp_finger_direction:
634
+ _target_: isaaclab.managers.RewardTermCfg
635
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_finger_direction
636
+ weight: 10.0
637
+ params:
638
+ thumb_link: right_hand_thumb_2_link
639
+ index_link: right_hand_index_1_link
640
+ middle_link: right_hand_middle_1_link
641
+ hand: right_hand
642
+ command_name: motion
643
+ grasp_contact_center_right:
644
+ _target_: isaaclab.managers.RewardTermCfg
645
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_contact_center
646
+ weight: 0.1
647
+ params:
648
+ hand: right_hand
649
+ command_name: motion
650
+ exp_coeff: -10.0
651
+ grasp_reward_left:
652
+ _target_: isaaclab.managers.RewardTermCfg
653
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp
654
+ weight: 20.0
655
+ params:
656
+ sensor_cfg:
657
+ _target_: isaaclab.managers.SceneEntityCfg
658
+ name: object_to_left_hand_contact_sensor
659
+ contact_threshold: 0.1
660
+ min_contacts: 3
661
+ command_name: motion
662
+ hand: left_hand
663
+ grasp_finger_direction_left:
664
+ _target_: isaaclab.managers.RewardTermCfg
665
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_finger_direction
666
+ weight: 5.0
667
+ params:
668
+ thumb_link: left_hand_thumb_2_link
669
+ index_link: left_hand_index_1_link
670
+ middle_link: left_hand_middle_1_link
671
+ hand: left_hand
672
+ command_name: motion
673
+ grasp_contact_center_left:
674
+ _target_: isaaclab.managers.RewardTermCfg
675
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_contact_center
676
+ weight: 0.05
677
+ params:
678
+ hand: left_hand
679
+ command_name: motion
680
+ exp_coeff: -10.0
681
+ finger_primitive_limit:
682
+ _target_: isaaclab.managers.RewardTermCfg
683
+ func: gear_sonic.envs.manager_env.mdp:reward_finger_primitive_limit
684
+ weight: -10.0
685
+ params:
686
+ mode: discrete
687
+ action_scale: 1.0
688
+ discrete_threshold: 0.5
689
+ object_tracking_reward:
690
+ _target_: isaaclab.managers.RewardTermCfg
691
+ func: gear_sonic.envs.manager_env.mdp:object_tracking_reward
692
+ weight: 20
693
+ params:
694
+ command_name: motion
695
+ sensor_cfg:
696
+ _target_: isaaclab.managers.SceneEntityCfg
697
+ name: object_to_hand_contact_sensor
698
+ w_op: 0.5
699
+ w_or: 0.3
700
+ w_ov: 0.0
701
+ w_oav: 0.0
702
+ pos_exp_coeff: -100.0
703
+ ori_exp_coeff: -100.0
704
+ vel_exp_coeff: -5.0
705
+ ang_vel_exp_coeff: -5.0
706
+ _target_: gear_sonic.envs.manager_env.mdp.rewards.RewardsCfg
707
+ terminations:
708
+ anchor_pos:
709
+ _target_: isaaclab.managers.TerminationTermCfg
710
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_height
711
+ params:
712
+ command_name: motion
713
+ threshold: 0.25
714
+ threshold_adaptive: false
715
+ down_threshold: 0.5
716
+ anchor_ori_full:
717
+ _target_: isaaclab.managers.TerminationTermCfg
718
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_ori
719
+ params:
720
+ asset_cfg:
721
+ _target_: isaaclab.managers.SceneEntityCfg
722
+ name: robot
723
+ command_name: motion
724
+ threshold: 1
725
+ ee_body_pos:
726
+ _target_: isaaclab.managers.TerminationTermCfg
727
+ func: gear_sonic.envs.manager_env.mdp:exceeded_body_height
728
+ params:
729
+ command_name: motion
730
+ threshold: 0.25
731
+ threshold_adaptive: false
732
+ down_threshold: 0.5
733
+ body_names:
734
+ - left_ankle_roll_link
735
+ - right_ankle_roll_link
736
+ - left_wrist_yaw_link
737
+ - right_wrist_yaw_link
738
+ time_out:
739
+ _target_: isaaclab.managers.TerminationTermCfg
740
+ func: gear_sonic.envs.manager_env.mdp:tracking_time_out
741
+ time_out: true
742
+ params:
743
+ command_name: motion
744
+ object_pos_deviation:
745
+ _target_: isaaclab.managers.TerminationTermCfg
746
+ func: gear_sonic.envs.manager_env.mdp:object_pos_deviation
747
+ params:
748
+ command_name: motion
749
+ threshold: 0.25
750
+ _target_: gear_sonic.envs.manager_env.mdp.terminations.TerminationsCfg
751
+ hand_table_contact_termination: null
752
+ object_z_pos_deviation:
753
+ _target_: isaaclab.managers.TerminationTermCfg
754
+ func: gear_sonic.envs.manager_env.mdp:object_z_pos_deviation
755
+ params:
756
+ command_name: motion
757
+ threshold: 0.3
758
+ grasp_failure_after_contact:
759
+ _target_: isaaclab.managers.TerminationTermCfg
760
+ func: gear_sonic.envs.manager_env.mdp:GraspFailureAfterContact
761
+ params:
762
+ command_name: motion
763
+ hand: right_hand
764
+ sensor_name: object_to_hand_contact_sensor
765
+ contact_threshold: 0.1
766
+ min_contacts: 3
767
+ grace_frames: 50
768
+ commands:
769
+ motion:
770
+ _target_: gear_sonic.envs.manager_env.mdp.commands.TrackingCommandCfg
771
+ asset_name: robot
772
+ motion_lib_cfg:
773
+ motion_file: data/motion_lib_genhoi/p017_0309_ha/robot
774
+ smpl_motion_file: dummy
775
+ asset:
776
+ assetRoot: gear_sonic/data/assets/robot_description/mjcf/
777
+ assetFileName: g1_29dof_rev_1_0.xml
778
+ urdfFileName: ''
779
+ extend_config: []
780
+ target_fps: 50
781
+ multi_thread: true
782
+ filter_motion_keys: null
783
+ adaptive_sampling: null
784
+ smpl_y_up: true
785
+ object_motion_file: data/motion_lib_genhoi/p017_0309_ha/objects
786
+ bps_dir: data/motion_lib_genhoi/p017_0309_ha/bps
787
+ motion_shard_rank: 0
788
+ motion_shard_world_size: 32
789
+ resampling_time_range:
790
+ - 1000000000.0
791
+ - 1000000000.0
792
+ debug_vis: false
793
+ dt_future_ref_frames: 0.1
794
+ num_future_frames: 10
795
+ pose_range:
796
+ x:
797
+ - 0
798
+ - 0
799
+ 'y':
800
+ - 0
801
+ - 0
802
+ z:
803
+ - 0
804
+ - 0
805
+ roll:
806
+ - 0
807
+ - 0
808
+ pitch:
809
+ - 0
810
+ - 0
811
+ yaw:
812
+ - 0
813
+ - 0
814
+ velocity_range:
815
+ x:
816
+ - 0
817
+ - 0
818
+ 'y':
819
+ - 0
820
+ - 0
821
+ z:
822
+ - 0
823
+ - 0
824
+ roll:
825
+ - 0
826
+ - 0
827
+ pitch:
828
+ - 0
829
+ - 0
830
+ yaw:
831
+ - 0
832
+ - 0
833
+ joint_position_range:
834
+ - 0
835
+ - 0
836
+ joint_velocity_range:
837
+ - 0
838
+ - 0
839
+ anchor_body: pelvis
840
+ vr_3point_body:
841
+ - left_wrist_yaw_link
842
+ - right_wrist_yaw_link
843
+ - torso_link
844
+ vr_3point_body_offset:
845
+ - - 0.18
846
+ - -0.025
847
+ - 0.0
848
+ - - 0.18
849
+ - 0.025
850
+ - 0.0
851
+ - - 0.0
852
+ - 0.0
853
+ - 0.35
854
+ reward_point_body:
855
+ - pelvis
856
+ - left_wrist_yaw_link
857
+ - right_wrist_yaw_link
858
+ - left_ankle_roll_link
859
+ - right_ankle_roll_link
860
+ reward_point_body_offset:
861
+ - - 0.0
862
+ - 0.0
863
+ - 0.0
864
+ - - 0.18
865
+ - -0.025
866
+ - 0.0
867
+ - - 0.18
868
+ - 0.025
869
+ - 0.0
870
+ - - 0.0
871
+ - 0.0
872
+ - 0.0
873
+ - - 0.0
874
+ - 0.0
875
+ - 0.0
876
+ body_names:
877
+ - pelvis
878
+ - left_hip_roll_link
879
+ - left_knee_link
880
+ - left_ankle_roll_link
881
+ - right_hip_roll_link
882
+ - right_knee_link
883
+ - right_ankle_roll_link
884
+ - torso_link
885
+ - left_shoulder_roll_link
886
+ - left_elbow_link
887
+ - left_wrist_yaw_link
888
+ - right_shoulder_roll_link
889
+ - right_elbow_link
890
+ - right_wrist_yaw_link
891
+ motion_lib_num_dof: 29
892
+ hand_default_positions:
893
+ - 0.0
894
+ - 0.0
895
+ - 0.0
896
+ - 0.0
897
+ - 0.0
898
+ - 0.0
899
+ - 0.0
900
+ - 0.0
901
+ - 0.0
902
+ - 0.0
903
+ - 0.0
904
+ - 0.0
905
+ - 0.0
906
+ - 0.0
907
+ smpl_num_future_frames: 10
908
+ smpl_dt_future_ref_frames: 0.02
909
+ use_paired_motions: true
910
+ start_from_first_frame: false
911
+ sample_before_contact: true
912
+ sample_before_contact_margin: 10
913
+ sample_before_contact_hand: right_hand
914
+ object_position_randomize: false
915
+ encoder_sample_probs:
916
+ g1: 1.0
917
+ teleop: 0.0
918
+ smpl: 0.0
919
+ _target_: gear_sonic.envs.manager_env.mdp.commands.CommandsCfg
920
+ events:
921
+ _target_: gear_sonic.envs.manager_env.mdp.events.EventCfg
922
+ curriculum:
923
+ _target_: gear_sonic.envs.manager_env.mdp.curriculum.CurriculumCfg
924
+ recorders:
925
+ _target_: gear_sonic.envs.manager_env.mdp.recorders.RecordersCfg
926
+ _target_: gear_sonic.envs.manager_env.modular_tracking_env_cfg.ModularTrackingEnvCfg
927
+ config:
928
+ num_envs: ${num_envs}
929
+ env_spacing: 10.0
930
+ decimation: 4
931
+ episode_length_s: 10.0
932
+ sim_dt: 0.005
933
+ viewer_eye:
934
+ - 4.5
935
+ - 0.0
936
+ - 6.0
937
+ viewer_lookat:
938
+ - 0.0
939
+ - 0.0
940
+ - 2.0
941
+ render_results: false
942
+ save_rendering_dir: ${experiment_dir}/renderings_training
943
+ experiment_dir: ${experiment_dir}
944
+ terrain_type: plane
945
+ object_mass: 0.1
946
+ table_offset: null
947
+ eval_camera_offset:
948
+ - 2
949
+ - -2
950
+ - 1
951
+ action_transform_module_cfg: models/sonic_sm_3pt_heading_hh-20260203_131215/model_config.yaml
952
+ action_transform_module_checkpoint: models/sonic_sm_3pt_heading_hh-20260203_131215/model_step_092000.pt
953
+ meta_action_dim: 66
954
+ needs_policy_atm: true
955
+ obs:
956
+ obs_dict: {}
957
+ obs_dims: {}
958
+ group_obs_dims: {}
959
+ group_obs_names: {}
960
+ action_clip_value: 20.0
961
+ robot:
962
+ type: g1_43dof
963
+ algo_obs_dim_dict: {}
964
+ rewards:
965
+ num_critics: 1
966
+ train_only_events:
967
+ - push_robot
968
+ - compliance_force_push
969
+ safe_nan: true
970
+ gpu_collision_stack_size_exp: 30
971
+ add_object: true
972
+ object_is_dynamic: true
973
+ add_table: false
974
+ lift_contact_force_threshold: 0.1
975
+ scene_scale: null
976
+ use_motion_hand_actions: false
977
+ use_finger_primitive: true
978
+ motion_meta_info_path: null
979
+ use_latent_residual: true
980
+ latent_residual_mode: pre_quantization
981
+ latent_residual_scale: 0.1
982
+ tokenizer_action_dim: 64
983
+ hand_action_dim: 2
984
+ finger_primitive:
985
+ primitive_action_map:
986
+ left:
987
+ dof_names:
988
+ - left_hand_index_0_joint
989
+ - left_hand_index_1_joint
990
+ - left_hand_middle_0_joint
991
+ - left_hand_middle_1_joint
992
+ - left_hand_thumb_0_joint
993
+ - left_hand_thumb_1_joint
994
+ - left_hand_thumb_2_joint
995
+ pos_0:
996
+ - 0.0
997
+ - 0.0
998
+ - 0.0
999
+ - 0.0
1000
+ - 0.0
1001
+ - 0.0
1002
+ - 0.0
1003
+ pos_1:
1004
+ - -1.42857143
1005
+ - -2.14285714
1006
+ - -1.42857143
1007
+ - -2.14285714
1008
+ - 0.0
1009
+ - 1.0
1010
+ - 1.0
1011
+ discrete: true
1012
+ right:
1013
+ dof_names:
1014
+ - right_hand_index_0_joint
1015
+ - right_hand_index_1_joint
1016
+ - right_hand_middle_0_joint
1017
+ - right_hand_middle_1_joint
1018
+ - right_hand_thumb_0_joint
1019
+ - right_hand_thumb_1_joint
1020
+ - right_hand_thumb_2_joint
1021
+ pos_0:
1022
+ - 0.0
1023
+ - 0.0
1024
+ - 0.0
1025
+ - 0.0
1026
+ - 0.0
1027
+ - 0.0
1028
+ - 0.0
1029
+ pos_1:
1030
+ - 1.42857143
1031
+ - 2.14285714
1032
+ - 1.42857143
1033
+ - 2.14285714
1034
+ - 0.0
1035
+ - -1.0
1036
+ - -1.0
1037
+ discrete: true
1038
+ use_staged_wrapper: false
1039
+ object_usd_path: data/motion_lib_genhoi/p017_0309_ha/object_usd
1040
+ use_manager_env: true
1041
+ exp_base: ${hydra:runtime.choices.exp}
1042
+ motion_shard_by_rank: true
1043
+ exp_var: pnp_ground_p17_2604301955
1044
+ actor_prop_history_length: 10
1045
+ actor_actions_history_length: 10
1046
+ critic_prop_history_length: 10
1047
+ critic_actions_history_length: 10
checkpoint/SONIC/models/pnp_ground/last.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5df387167af8670649bf1fbb0626f69db3365c5097fe05c46f22b56a5bc5ec6d
3
+ size 16919013
checkpoint/SONIC/models/pnp_table/.hydra/.hydra/config.yaml ADDED
@@ -0,0 +1,1052 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ num_gpus: 1
2
+ max_retries: 1
3
+ seed: 0
4
+ codebase_version: 1.0
5
+ headless: true
6
+ num_envs: 2048
7
+ auto_load_latest: false
8
+ checkpoint: null
9
+ project_name: GRAB_Tracking
10
+ experiment_name: ${exp_base}_${exp_var}
11
+ base_dir: logs_rl
12
+ timestamp: ${now:%Y%m%d_%H%M%S}
13
+ experiment_dir: logs_rl/TRL_G1_Track/manager/universal_token/hoi/pnp_table_pnp_table_p19_2604301955-20260509_235602
14
+ save_dir: ${experiment_dir}/.hydra
15
+ force_flat_terrain: false
16
+ use_wandb: true
17
+ log_task_name: TEST
18
+ multi_gpu: false
19
+ global_rank: 0
20
+ sim_type: isaacsim
21
+ env_spacing: 20
22
+ output_dir: ${experiment_dir}/output
23
+ eval_overrides:
24
+ headless: false
25
+ num_envs: 1
26
+ auto_load_latest: false
27
+ use_wandb: false
28
+ algo:
29
+ trl:
30
+ dataset_name: dummy
31
+ output_dir: ./trl
32
+ learning_rate: ${algo.config.actor_learning_rate}
33
+ num_total_batches: ${algo.config.num_learning_iterations}
34
+ total_episodes: null
35
+ num_ppo_epochs: ${algo.config.num_learning_epochs}
36
+ num_mini_batches: ${algo.config.num_mini_batches}
37
+ per_device_train_batch_size: null
38
+ gradient_accumulation_steps: 1
39
+ report_to: none
40
+ gamma: ${algo.config.gamma}
41
+ lam: ${algo.config.lam}
42
+ vf_coef: ${algo.config.value_loss_coef}
43
+ max_grad_norm: ${algo.config.max_grad_norm}
44
+ lr_scheduler_type: constant
45
+ save_strategy: 'no'
46
+ disable_tqdm: true
47
+ config:
48
+ actor:
49
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Actor
50
+ running_mean_std: false
51
+ output_original_obs_dict: true
52
+ has_aux_loss: true
53
+ backbone:
54
+ _target_: gear_sonic.trl.modules.base_module.BaseModuleAux
55
+ process_output_dim: true
56
+ aux_loss_func:
57
+ latent_l2:
58
+ _target_: gear_sonic.trl.losses.token_losses.LatentL2Loss
59
+ latent_dim: 64
60
+ aux_loss_coef:
61
+ latent_l2: 0.1
62
+ module_config_dict:
63
+ input_dim:
64
+ - actor_obs
65
+ output_dim:
66
+ - robot_action_dim
67
+ layer_config:
68
+ type: MLP
69
+ hidden_dims:
70
+ - 512
71
+ - 256
72
+ - 128
73
+ activation: SiLU
74
+ critic:
75
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Critic
76
+ running_mean_std: false
77
+ backbone:
78
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
79
+ process_output_dim: true
80
+ module_config_dict:
81
+ type: MLP
82
+ input_dim:
83
+ - critic_obs
84
+ output_dim:
85
+ - 1
86
+ layer_config:
87
+ type: MLP
88
+ hidden_dims:
89
+ - 512
90
+ - 256
91
+ - 128
92
+ activation: SiLU
93
+ num_learning_epochs: 5
94
+ num_mini_batches: 4
95
+ clip_param: 0.2
96
+ gamma: 0.99
97
+ lam: 0.95
98
+ value_loss_coef: 1.0
99
+ entropy_coef: 0.01
100
+ actor_learning_rate: 2.0e-05
101
+ critic_learning_rate: 0.001
102
+ max_grad_norm: 0.1
103
+ use_clipped_value_loss: true
104
+ schedule: adaptive
105
+ desired_kl: 0.01
106
+ adaptive_lr_min: 1.0e-05
107
+ adaptive_lr_max: 0.0002
108
+ use_new_actor_critic: true
109
+ use_padding_mask: false
110
+ ppo_shuffle_every_epoch: true
111
+ sync_advantage_normalization: true
112
+ empty_cache_every_n_ppo_epoch: -1
113
+ num_steps_per_env: 24
114
+ save_interval: 500
115
+ eval_frequency: 500
116
+ load_optimizer: true
117
+ init_noise_std: 0.05
118
+ num_learning_iterations: 20000
119
+ init_at_random_ep_len: true
120
+ global_rank: 0
121
+ world_size: 1
122
+ use_clampped_std: true
123
+ std_clamp_min: 0.001
124
+ std_clamp_max: 0.5
125
+ _recursive_: false
126
+ env: ???
127
+ terrain: ???
128
+ callbacks:
129
+ model_save:
130
+ _target_: gear_sonic.trl.callbacks.model_save_callback.ModelSaveCallback
131
+ save_dir: ${experiment_dir}
132
+ save_frequency: 500
133
+ max_disk_usage: 14.8
134
+ wandb:
135
+ _target_: gear_sonic.trl.callbacks.wandb_callback.WandbCallback
136
+ read_eval:
137
+ _target_: gear_sonic.trl.callbacks.read_eval_callback.ReadEvalCallback
138
+ eval_dir: ${experiment_dir}/eval
139
+ check_interval: 1
140
+ im_resample:
141
+ _target_: gear_sonic.trl.callbacks.im_resample_callback.ImResampleCallback
142
+ motion_resample_frequency: 250
143
+ trainer:
144
+ _target_: gear_sonic.trl.trainer.ppo_trainer_aux_loss.TRLAuxLossPPOTrainer
145
+ wandb:
146
+ wandb_project: null
147
+ wandb_tags: online
148
+ wandb_group: pnp_table_p19_2604301955
149
+ wandb_id: null
150
+ wandb_entity: null
151
+ wandb_dir: /tmp
152
+ manager_env:
153
+ actions:
154
+ joint_pos:
155
+ _target_: isaaclab.envs.mdp.actions.JointPositionActionCfg
156
+ asset_name: robot
157
+ joint_names:
158
+ - .*
159
+ use_default_offset: true
160
+ _target_: gear_sonic.envs.manager_env.mdp.actions.ActionsCfg
161
+ observations:
162
+ policy:
163
+ command:
164
+ _target_: isaaclab.managers.ObservationTermCfg
165
+ func: gear_sonic.envs.manager_env.mdp:generated_commands
166
+ params:
167
+ command_name: motion
168
+ motion_anchor_pos_b:
169
+ _target_: isaaclab.managers.ObservationTermCfg
170
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
171
+ params:
172
+ command_name: motion
173
+ noise:
174
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
175
+ n_min: -0.25
176
+ n_max: 0.25
177
+ motion_anchor_ori_b:
178
+ _target_: isaaclab.managers.ObservationTermCfg
179
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
180
+ params:
181
+ command_name: motion
182
+ noise:
183
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
184
+ n_min: -0.05
185
+ n_max: 0.05
186
+ base_lin_vel:
187
+ _target_: isaaclab.managers.ObservationTermCfg
188
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
189
+ noise:
190
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
191
+ n_min: -0.5
192
+ n_max: 0.5
193
+ base_ang_vel:
194
+ _target_: isaaclab.managers.ObservationTermCfg
195
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
196
+ noise:
197
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
198
+ n_min: -0.2
199
+ n_max: 0.2
200
+ joint_pos:
201
+ _target_: isaaclab.managers.ObservationTermCfg
202
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
203
+ noise:
204
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
205
+ n_min: -0.01
206
+ n_max: 0.01
207
+ joint_vel:
208
+ _target_: isaaclab.managers.ObservationTermCfg
209
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
210
+ noise:
211
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
212
+ n_min: -0.5
213
+ n_max: 0.5
214
+ actions:
215
+ _target_: isaaclab.managers.ObservationTermCfg
216
+ func: gear_sonic.envs.manager_env.mdp:last_action
217
+ target_object_pos:
218
+ _target_: isaaclab.managers.ObservationTermCfg
219
+ func: gear_sonic.envs.manager_env.mdp:get_target_object_pos_in_base_frame
220
+ params:
221
+ asset_cfg:
222
+ _target_: isaaclab.managers.SceneEntityCfg
223
+ name: object
224
+ noise: null
225
+ hand_object_transform_6d:
226
+ _target_: isaaclab.managers.ObservationTermCfg
227
+ func: gear_sonic.envs.manager_env.mdp:hand_object_transform_6d
228
+ params:
229
+ asset_cfg:
230
+ _target_: isaaclab.managers.SceneEntityCfg
231
+ name: object_to_hand_frame_transformer
232
+ noise: null
233
+ finger_tips_force:
234
+ _target_: isaaclab.managers.ObservationTermCfg
235
+ func: gear_sonic.envs.manager_env.mdp:get_finger_tips_contact_force
236
+ params:
237
+ sensor_cfg:
238
+ _target_: isaaclab.managers.SceneEntityCfg
239
+ name: object_to_hand_contact_sensor
240
+ noise: null
241
+ object_pos_b:
242
+ _target_: isaaclab.managers.ObservationTermCfg
243
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
244
+ params:
245
+ command_name: motion
246
+ noise: null
247
+ object_ori_b_6d:
248
+ _target_: isaaclab.managers.ObservationTermCfg
249
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
250
+ params:
251
+ command_name: motion
252
+ noise: null
253
+ table_pos_b:
254
+ _target_: isaaclab.managers.ObservationTermCfg
255
+ func: gear_sonic.envs.manager_env.mdp:table_pos_b
256
+ params:
257
+ command_name: motion
258
+ noise: null
259
+ table_ori_b:
260
+ _target_: isaaclab.managers.ObservationTermCfg
261
+ func: gear_sonic.envs.manager_env.mdp:table_ori_b
262
+ params:
263
+ command_name: motion
264
+ noise: null
265
+ object_pos_delta_multi_future:
266
+ _target_: isaaclab.managers.ObservationTermCfg
267
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
268
+ params:
269
+ command_name: motion
270
+ noise:
271
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
272
+ n_min: -0.02
273
+ n_max: 0.02
274
+ object_ori_delta_multi_future_6d:
275
+ _target_: isaaclab.managers.ObservationTermCfg
276
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
277
+ params:
278
+ command_name: motion
279
+ noise:
280
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
281
+ n_min: -0.02
282
+ n_max: 0.02
283
+ command_multi_future:
284
+ _target_: isaaclab.managers.ObservationTermCfg
285
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
286
+ params:
287
+ command_name: motion
288
+ noise: null
289
+ motion_anchor_ori_b_mf:
290
+ _target_: isaaclab.managers.ObservationTermCfg
291
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
292
+ params:
293
+ command_name: motion
294
+ noise:
295
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
296
+ n_min: -0.05
297
+ n_max: 0.05
298
+ object_bps:
299
+ _target_: isaaclab.managers.ObservationTermCfg
300
+ func: gear_sonic.envs.manager_env.mdp:object_bps
301
+ params:
302
+ command_name: motion
303
+ noise: null
304
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyCfg
305
+ enable_corruption: false
306
+ concatenate_terms: true
307
+ critic:
308
+ command:
309
+ _target_: isaaclab.managers.ObservationTermCfg
310
+ func: gear_sonic.envs.manager_env.mdp:generated_commands
311
+ params:
312
+ command_name: motion
313
+ motion_anchor_pos_b:
314
+ _target_: isaaclab.managers.ObservationTermCfg
315
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
316
+ params:
317
+ command_name: motion
318
+ motion_anchor_ori_b:
319
+ _target_: isaaclab.managers.ObservationTermCfg
320
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
321
+ params:
322
+ command_name: motion
323
+ body_pos:
324
+ _target_: isaaclab.managers.ObservationTermCfg
325
+ func: gear_sonic.envs.manager_env.mdp:robot_body_pos_b
326
+ params:
327
+ command_name: motion
328
+ body_ori:
329
+ _target_: isaaclab.managers.ObservationTermCfg
330
+ func: gear_sonic.envs.manager_env.mdp:robot_body_ori_b
331
+ params:
332
+ command_name: motion
333
+ base_lin_vel:
334
+ _target_: isaaclab.managers.ObservationTermCfg
335
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
336
+ base_ang_vel:
337
+ _target_: isaaclab.managers.ObservationTermCfg
338
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
339
+ joint_pos:
340
+ _target_: isaaclab.managers.ObservationTermCfg
341
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
342
+ joint_vel:
343
+ _target_: isaaclab.managers.ObservationTermCfg
344
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
345
+ actions:
346
+ _target_: isaaclab.managers.ObservationTermCfg
347
+ func: gear_sonic.envs.manager_env.mdp:last_action
348
+ target_object_pos:
349
+ _target_: isaaclab.managers.ObservationTermCfg
350
+ func: gear_sonic.envs.manager_env.mdp:get_target_object_pos_in_base_frame
351
+ params:
352
+ asset_cfg:
353
+ _target_: isaaclab.managers.SceneEntityCfg
354
+ name: object
355
+ hand_object_transform_6d:
356
+ _target_: isaaclab.managers.ObservationTermCfg
357
+ func: gear_sonic.envs.manager_env.mdp:hand_object_transform_6d
358
+ params:
359
+ asset_cfg:
360
+ _target_: isaaclab.managers.SceneEntityCfg
361
+ name: object_to_hand_frame_transformer
362
+ finger_tips_force:
363
+ _target_: isaaclab.managers.ObservationTermCfg
364
+ func: gear_sonic.envs.manager_env.mdp:get_finger_tips_contact_force
365
+ params:
366
+ sensor_cfg:
367
+ _target_: isaaclab.managers.SceneEntityCfg
368
+ name: object_to_hand_contact_sensor
369
+ grab_contact_flag:
370
+ _target_: isaaclab.managers.ObservationTermCfg
371
+ func: gear_sonic.envs.manager_env.mdp:grab_contact_flag
372
+ params:
373
+ command_name: motion
374
+ object_pos_b:
375
+ _target_: isaaclab.managers.ObservationTermCfg
376
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
377
+ params:
378
+ command_name: motion
379
+ object_ori_b_6d:
380
+ _target_: isaaclab.managers.ObservationTermCfg
381
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
382
+ params:
383
+ command_name: motion
384
+ table_pos_b:
385
+ _target_: isaaclab.managers.ObservationTermCfg
386
+ func: gear_sonic.envs.manager_env.mdp:table_pos_b
387
+ params:
388
+ command_name: motion
389
+ table_ori_b:
390
+ _target_: isaaclab.managers.ObservationTermCfg
391
+ func: gear_sonic.envs.manager_env.mdp:table_ori_b
392
+ params:
393
+ command_name: motion
394
+ object_pos_delta_multi_future:
395
+ _target_: isaaclab.managers.ObservationTermCfg
396
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
397
+ params:
398
+ command_name: motion
399
+ object_ori_delta_multi_future_6d:
400
+ _target_: isaaclab.managers.ObservationTermCfg
401
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
402
+ params:
403
+ command_name: motion
404
+ command_multi_future:
405
+ _target_: isaaclab.managers.ObservationTermCfg
406
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
407
+ params:
408
+ command_name: motion
409
+ motion_anchor_ori_b_mf:
410
+ _target_: isaaclab.managers.ObservationTermCfg
411
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
412
+ params:
413
+ command_name: motion
414
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PrivilegedCfg
415
+ tokenizer:
416
+ encoder_index:
417
+ _target_: isaaclab.managers.ObservationTermCfg
418
+ func: gear_sonic.envs.manager_env.mdp:get_command_obs
419
+ params:
420
+ command_name: motion
421
+ obs_name: episode_encoder_index
422
+ command_multi_future_nonflat:
423
+ _target_: isaaclab.managers.ObservationTermCfg
424
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
425
+ params:
426
+ command_name: motion
427
+ non_flatten: true
428
+ command_z_multi_future_nonflat:
429
+ _target_: isaaclab.managers.ObservationTermCfg
430
+ func: gear_sonic.envs.manager_env.mdp:command_z_multi_future
431
+ params:
432
+ command_name: motion
433
+ non_flatten: true
434
+ motion_anchor_ori_heading_mf_nonflat:
435
+ _target_: isaaclab.managers.ObservationTermCfg
436
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_heading_mf
437
+ params:
438
+ command_name: motion
439
+ non_flatten: true
440
+ noise:
441
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
442
+ n_min: -0.05
443
+ n_max: 0.05
444
+ command_multi_future_lower_body:
445
+ _target_: isaaclab.managers.ObservationTermCfg
446
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future_lower_body
447
+ params:
448
+ command_name: motion
449
+ vr_3point_local_target:
450
+ _target_: isaaclab.managers.ObservationTermCfg
451
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_target
452
+ params:
453
+ command_name: motion
454
+ vr_3point_local_orn_target:
455
+ _target_: isaaclab.managers.ObservationTermCfg
456
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_orn_target
457
+ params:
458
+ command_name: motion
459
+ motion_anchor_ori_heading:
460
+ _target_: isaaclab.managers.ObservationTermCfg
461
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_heading
462
+ params:
463
+ command_name: motion
464
+ noise:
465
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
466
+ n_min: -0.05
467
+ n_max: 0.05
468
+ command_z:
469
+ _target_: isaaclab.managers.ObservationTermCfg
470
+ func: gear_sonic.envs.manager_env.mdp:command_z
471
+ params:
472
+ command_name: motion
473
+ smpl_joints_multi_future_local_nonflat:
474
+ _target_: isaaclab.managers.ObservationTermCfg
475
+ func: gear_sonic.envs.manager_env.mdp:smpl_joints_multi_future_local
476
+ params:
477
+ command_name: motion
478
+ non_flatten: true
479
+ noise:
480
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
481
+ n_min: -0.05
482
+ n_max: 0.05
483
+ smpl_root_ori_heading_multi_future:
484
+ _target_: isaaclab.managers.ObservationTermCfg
485
+ func: gear_sonic.envs.manager_env.mdp:smpl_root_ori_heading_mf
486
+ params:
487
+ command_name: motion
488
+ non_flatten: true
489
+ noise:
490
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
491
+ n_min: -0.05
492
+ n_max: 0.05
493
+ joint_pos_multi_future_wrist_for_smpl:
494
+ _target_: isaaclab.managers.ObservationTermCfg
495
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_multi_future_select_joints_for_smpl
496
+ params:
497
+ command_name: motion
498
+ joints_idx:
499
+ - 23
500
+ - 24
501
+ - 25
502
+ - 26
503
+ - 27
504
+ - 28
505
+ _target_: gear_sonic.envs.manager_env.mdp.observations.TokenizerCfg
506
+ enable_corruption: false
507
+ concatenate_terms: false
508
+ policy_atm:
509
+ base_ang_vel:
510
+ _target_: isaaclab.managers.ObservationTermCfg
511
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
512
+ history_length: ${actor_prop_history_length}
513
+ noise:
514
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
515
+ n_min: -0.2
516
+ n_max: 0.2
517
+ joint_pos_wo_hand:
518
+ _target_: isaaclab.managers.ObservationTermCfg
519
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_wo_hand
520
+ params:
521
+ asset_cfg:
522
+ _target_: isaaclab.managers.SceneEntityCfg
523
+ name: robot
524
+ history_length: ${actor_prop_history_length}
525
+ noise:
526
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
527
+ n_min: -0.01
528
+ n_max: 0.01
529
+ joint_vel_wo_hand:
530
+ _target_: isaaclab.managers.ObservationTermCfg
531
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_wo_hand
532
+ params:
533
+ asset_cfg:
534
+ _target_: isaaclab.managers.SceneEntityCfg
535
+ name: robot
536
+ history_length: ${actor_prop_history_length}
537
+ noise:
538
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
539
+ n_min: -0.5
540
+ n_max: 0.5
541
+ actions_wo_hand:
542
+ _target_: isaaclab.managers.ObservationTermCfg
543
+ func: gear_sonic.envs.manager_env.mdp:last_action_wo_hand
544
+ params:
545
+ asset_cfg:
546
+ _target_: isaaclab.managers.SceneEntityCfg
547
+ name: robot
548
+ history_length: ${actor_actions_history_length}
549
+ gravity_dir:
550
+ _target_: isaaclab.managers.ObservationTermCfg
551
+ func: gear_sonic.envs.manager_env.mdp:gravity_dir
552
+ params:
553
+ command_name: motion
554
+ history_length: ${actor_prop_history_length}
555
+ noise:
556
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
557
+ n_min: -0.05
558
+ n_max: 0.05
559
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyAtmCfg
560
+ enable_corruption: false
561
+ concatenate_terms: true
562
+ _target_: gear_sonic.envs.manager_env.mdp.observations.ObservationsCfg
563
+ rewards:
564
+ tracking_anchor_pos:
565
+ _target_: isaaclab.managers.RewardTermCfg
566
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_pos_error
567
+ weight: 0.5
568
+ params:
569
+ command_name: motion
570
+ std: 0.3
571
+ tracking_anchor_ori:
572
+ _target_: isaaclab.managers.RewardTermCfg
573
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_ori_error
574
+ weight: 2.5
575
+ params:
576
+ command_name: motion
577
+ std: 0.4
578
+ tracking_relative_body_pos:
579
+ _target_: isaaclab.managers.RewardTermCfg
580
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_pos_error
581
+ weight: 1.0
582
+ params:
583
+ command_name: motion
584
+ std: 0.3
585
+ tracking_relative_body_ori:
586
+ _target_: isaaclab.managers.RewardTermCfg
587
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_ori_error
588
+ weight: 5.0
589
+ params:
590
+ command_name: motion
591
+ std: 0.4
592
+ tracking_body_linvel:
593
+ _target_: isaaclab.managers.RewardTermCfg
594
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_linvel_error
595
+ weight: 1.0
596
+ params:
597
+ command_name: motion
598
+ std: 1.0
599
+ tracking_body_angvel:
600
+ _target_: isaaclab.managers.RewardTermCfg
601
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_angvel_error
602
+ weight: 1.0
603
+ params:
604
+ command_name: motion
605
+ std: 3.14
606
+ undesired_contacts_no_ankle_hand:
607
+ _target_: isaaclab.managers.RewardTermCfg
608
+ func: gear_sonic.envs.manager_env.mdp:undesired_contacts
609
+ weight: -0.1
610
+ params:
611
+ sensor_cfg:
612
+ _target_: isaaclab.managers.SceneEntityCfg
613
+ name: contact_forces
614
+ body_names:
615
+ - ^(?!left_ankle_roll_link$)(?!right_ankle_roll_link$)(?!.*hand.*).+$
616
+ threshold: 1.0
617
+ hand_table_contact_penalty:
618
+ _target_: isaaclab.managers.RewardTermCfg
619
+ func: gear_sonic.envs.manager_env.mdp:reward_hand_table_contact_penalty
620
+ weight: -1.0
621
+ params:
622
+ sensor_cfg:
623
+ _target_: isaaclab.managers.SceneEntityCfg
624
+ name: table_to_hand_contact_sensor
625
+ grasp_reward:
626
+ _target_: isaaclab.managers.RewardTermCfg
627
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp
628
+ weight: 5.0
629
+ params:
630
+ sensor_cfg:
631
+ _target_: isaaclab.managers.SceneEntityCfg
632
+ name: object_to_hand_contact_sensor
633
+ contact_threshold: 0.1
634
+ min_contacts: 8
635
+ hand: right_hand
636
+ command_name: motion
637
+ gate_with_contact_label: true
638
+ grasp_finger_direction:
639
+ _target_: isaaclab.managers.RewardTermCfg
640
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_finger_direction
641
+ weight: 10.0
642
+ params:
643
+ thumb_link: right_hand_thumb_2_link
644
+ index_link: right_hand_index_1_link
645
+ middle_link: right_hand_middle_1_link
646
+ hand: right_hand
647
+ command_name: motion
648
+ use_contact_center: true
649
+ finger_primitive_limit:
650
+ _target_: isaaclab.managers.RewardTermCfg
651
+ func: gear_sonic.envs.manager_env.mdp:reward_finger_primitive_limit
652
+ weight: 0.0
653
+ params:
654
+ mode: discrete
655
+ action_scale: 1.0
656
+ discrete_threshold: 0.5
657
+ meta_action_rate_l2:
658
+ _target_: isaaclab.managers.RewardTermCfg
659
+ func: gear_sonic.envs.manager_env.mdp:meta_action_rate_l2
660
+ weight: -0.1
661
+ params:
662
+ token_only: false
663
+ full_latent_rate_l2:
664
+ _target_: isaaclab.managers.RewardTermCfg
665
+ func: gear_sonic.envs.manager_env.mdp:full_latent_rate_l2
666
+ weight: -0.01
667
+ is_terminated:
668
+ _target_: isaaclab.managers.RewardTermCfg
669
+ func: isaaclab.envs.mdp:is_terminated
670
+ weight: -10.0
671
+ object_tracking_reward:
672
+ _target_: isaaclab.managers.RewardTermCfg
673
+ func: gear_sonic.envs.manager_env.mdp:object_tracking_reward
674
+ weight: 0.0
675
+ params:
676
+ command_name: motion
677
+ sensor_cfg:
678
+ _target_: isaaclab.managers.SceneEntityCfg
679
+ name: object_to_hand_contact_sensor
680
+ w_op: 0.5
681
+ w_or: 0.0
682
+ w_ov: 0.0
683
+ w_oav: 0.0
684
+ pos_exp_coeff: -100.0
685
+ ori_exp_coeff: -100.0
686
+ vel_exp_coeff: -5.0
687
+ ang_vel_exp_coeff: -5.0
688
+ _target_: gear_sonic.envs.manager_env.mdp.rewards.RewardsCfg
689
+ approach_velocity_penalty:
690
+ _target_: isaaclab.managers.RewardTermCfg
691
+ func: gear_sonic.envs.manager_env.mdp:reward_approach_velocity_penalty
692
+ weight: -15.0
693
+ params:
694
+ sensor_cfg:
695
+ _target_: isaaclab.managers.SceneEntityCfg
696
+ name: object_to_hand_contact_sensor
697
+ sigma: 0.25
698
+ contact_threshold: 0.1
699
+ min_contacts: 8
700
+ disable_after_contact: false
701
+ upright_penalty:
702
+ _target_: isaaclab.managers.RewardTermCfg
703
+ func: gear_sonic.envs.manager_env.mdp:upright_penalty
704
+ weight: 0
705
+ params:
706
+ command_name: motion
707
+ body_names:
708
+ - pelvis
709
+ - torso_link
710
+ terminations:
711
+ anchor_pos:
712
+ _target_: isaaclab.managers.TerminationTermCfg
713
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_height
714
+ params:
715
+ command_name: motion
716
+ threshold: 0.25
717
+ threshold_adaptive: false
718
+ down_threshold: 0.5
719
+ anchor_ori_full:
720
+ _target_: isaaclab.managers.TerminationTermCfg
721
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_ori
722
+ params:
723
+ asset_cfg:
724
+ _target_: isaaclab.managers.SceneEntityCfg
725
+ name: robot
726
+ command_name: motion
727
+ threshold: 1
728
+ ee_body_pos:
729
+ _target_: isaaclab.managers.TerminationTermCfg
730
+ func: gear_sonic.envs.manager_env.mdp:exceeded_body_height
731
+ params:
732
+ command_name: motion
733
+ threshold: 0.25
734
+ threshold_adaptive: false
735
+ down_threshold: 0.5
736
+ body_names:
737
+ - left_ankle_roll_link
738
+ - right_ankle_roll_link
739
+ - left_wrist_yaw_link
740
+ - right_wrist_yaw_link
741
+ time_out:
742
+ _target_: isaaclab.managers.TerminationTermCfg
743
+ func: gear_sonic.envs.manager_env.mdp:tracking_time_out
744
+ time_out: true
745
+ params:
746
+ command_name: motion
747
+ object_pos_deviation:
748
+ _target_: isaaclab.managers.TerminationTermCfg
749
+ func: gear_sonic.envs.manager_env.mdp:object_pos_deviation
750
+ params:
751
+ command_name: motion
752
+ threshold: 0.1
753
+ _target_: gear_sonic.envs.manager_env.mdp.terminations.TerminationsCfg
754
+ hand_table_contact_termination:
755
+ _target_: isaaclab.managers.TerminationTermCfg
756
+ func: gear_sonic.envs.manager_env.mdp:hand_table_contact_termination
757
+ params:
758
+ sensor_cfg:
759
+ _target_: isaaclab.managers.SceneEntityCfg
760
+ name: table_to_hand_contact_sensor
761
+ force_threshold: 1.0
762
+ commands:
763
+ motion:
764
+ _target_: gear_sonic.envs.manager_env.mdp.commands.TrackingCommandCfg
765
+ asset_name: robot
766
+ motion_lib_cfg:
767
+ motion_file: data/motion_lib_genhoi/p019_0324_ha/robot
768
+ smpl_motion_file: dummy
769
+ asset:
770
+ assetRoot: gear_sonic/data/assets/robot_description/mjcf/
771
+ assetFileName: g1_29dof_rev_1_0.xml
772
+ urdfFileName: ''
773
+ extend_config: []
774
+ target_fps: 50
775
+ multi_thread: true
776
+ filter_motion_keys: null
777
+ adaptive_sampling: null
778
+ smpl_y_up: true
779
+ object_motion_file: data/motion_lib_genhoi/p019_0324_ha/objects
780
+ bps_dir: data/motion_lib_genhoi/p019_0324/bps
781
+ resampling_time_range:
782
+ - 1000000000.0
783
+ - 1000000000.0
784
+ debug_vis: false
785
+ dt_future_ref_frames: 0.1
786
+ num_future_frames: 10
787
+ pose_range:
788
+ x:
789
+ - 0
790
+ - 0
791
+ 'y':
792
+ - 0
793
+ - 0
794
+ z:
795
+ - 0
796
+ - 0
797
+ roll:
798
+ - 0
799
+ - 0
800
+ pitch:
801
+ - 0
802
+ - 0
803
+ yaw:
804
+ - 0
805
+ - 0
806
+ velocity_range:
807
+ x:
808
+ - 0
809
+ - 0
810
+ 'y':
811
+ - 0
812
+ - 0
813
+ z:
814
+ - 0
815
+ - 0
816
+ roll:
817
+ - 0
818
+ - 0
819
+ pitch:
820
+ - 0
821
+ - 0
822
+ yaw:
823
+ - 0
824
+ - 0
825
+ joint_position_range:
826
+ - 0
827
+ - 0
828
+ joint_velocity_range:
829
+ - 0
830
+ - 0
831
+ anchor_body: pelvis
832
+ vr_3point_body:
833
+ - left_wrist_yaw_link
834
+ - right_wrist_yaw_link
835
+ - torso_link
836
+ vr_3point_body_offset:
837
+ - - 0.18
838
+ - -0.025
839
+ - 0.0
840
+ - - 0.18
841
+ - 0.025
842
+ - 0.0
843
+ - - 0.0
844
+ - 0.0
845
+ - 0.35
846
+ reward_point_body:
847
+ - pelvis
848
+ - left_wrist_yaw_link
849
+ - right_wrist_yaw_link
850
+ - left_ankle_roll_link
851
+ - right_ankle_roll_link
852
+ reward_point_body_offset:
853
+ - - 0.0
854
+ - 0.0
855
+ - 0.0
856
+ - - 0.18
857
+ - -0.025
858
+ - 0.0
859
+ - - 0.18
860
+ - 0.025
861
+ - 0.0
862
+ - - 0.0
863
+ - 0.0
864
+ - 0.0
865
+ - - 0.0
866
+ - 0.0
867
+ - 0.0
868
+ body_names:
869
+ - pelvis
870
+ - left_hip_roll_link
871
+ - left_knee_link
872
+ - left_ankle_roll_link
873
+ - right_hip_roll_link
874
+ - right_knee_link
875
+ - right_ankle_roll_link
876
+ - torso_link
877
+ - left_shoulder_roll_link
878
+ - left_elbow_link
879
+ - left_wrist_yaw_link
880
+ - right_shoulder_roll_link
881
+ - right_elbow_link
882
+ - right_wrist_yaw_link
883
+ motion_lib_num_dof: 29
884
+ hand_default_positions:
885
+ - 0.0
886
+ - 0.0
887
+ - 0.0
888
+ - 0.0
889
+ - 0.0
890
+ - 0.0
891
+ - 0.0
892
+ - 0.0
893
+ - 0.0
894
+ - 0.0
895
+ - 0.0
896
+ - 0.0
897
+ - 0.0
898
+ - 0.0
899
+ smpl_num_future_frames: 10
900
+ smpl_dt_future_ref_frames: 0.02
901
+ use_paired_motions: true
902
+ start_from_first_frame: false
903
+ sample_before_contact: true
904
+ sample_from_n_initial_frames: 30
905
+ object_position_randomize: false
906
+ encoder_sample_probs:
907
+ g1: 1.0
908
+ teleop: 0.0
909
+ smpl: 0.0
910
+ _target_: gear_sonic.envs.manager_env.mdp.commands.CommandsCfg
911
+ events:
912
+ _target_: gear_sonic.envs.manager_env.mdp.events.EventCfg
913
+ curriculum:
914
+ _target_: gear_sonic.envs.manager_env.mdp.curriculum.CurriculumCfg
915
+ recorders:
916
+ _target_: gear_sonic.envs.manager_env.mdp.recorders.RecordersCfg
917
+ _target_: gear_sonic.envs.manager_env.modular_tracking_env_cfg.ModularTrackingEnvCfg
918
+ config:
919
+ num_envs: ${num_envs}
920
+ env_spacing: 10.0
921
+ decimation: 4
922
+ episode_length_s: 10.0
923
+ sim_dt: 0.005
924
+ viewer_eye:
925
+ - 4.5
926
+ - 0.0
927
+ - 6.0
928
+ viewer_lookat:
929
+ - 0.0
930
+ - 0.0
931
+ - 2.0
932
+ render_results: false
933
+ save_rendering_dir: ${experiment_dir}/renderings_training
934
+ experiment_dir: ${experiment_dir}
935
+ terrain_type: plane
936
+ object_mass: 0.1
937
+ table_offset: null
938
+ eval_camera_offset:
939
+ - 2
940
+ - -2
941
+ - 1
942
+ action_transform_module_cfg: models/sonic_sm_3pt_heading_hh-20260203_131215/model_config.yaml
943
+ action_transform_module_checkpoint: models/sonic_sm_3pt_heading_hh-20260203_131215/model_step_092000.pt
944
+ meta_action_dim: 66
945
+ needs_policy_atm: true
946
+ obs:
947
+ obs_dict: {}
948
+ obs_dims: {}
949
+ group_obs_dims: {}
950
+ group_obs_names: {}
951
+ action_clip_value: 20.0
952
+ robot:
953
+ type: g1_43dof
954
+ algo_obs_dim_dict: {}
955
+ rewards:
956
+ num_critics: 1
957
+ train_only_events:
958
+ - push_robot
959
+ - force_push_robot
960
+ safe_nan: true
961
+ gpu_collision_stack_size_exp: 30
962
+ replicate_physics: false
963
+ add_object: true
964
+ object_is_dynamic: true
965
+ add_table: true
966
+ lift_contact_force_threshold: 0.1
967
+ scene_scale: null
968
+ table_size:
969
+ - 1.5
970
+ - 0.7
971
+ - 0.04
972
+ use_motion_hand_actions: true
973
+ use_finger_primitive: true
974
+ motion_meta_info_path: null
975
+ contact_sensor_finger_links:
976
+ - right_hand_palm_link
977
+ - right_hand_thumb_0_link
978
+ - right_hand_thumb_1_link
979
+ - right_hand_thumb_2_link
980
+ - right_hand_index_0_link
981
+ - right_hand_index_1_link
982
+ - right_hand_middle_0_link
983
+ - right_hand_middle_1_link
984
+ use_latent_residual: true
985
+ latent_residual_mode: pre_quantization
986
+ latent_residual_scale: 0.1
987
+ tokenizer_action_dim: 64
988
+ hand_action_dim: 2
989
+ finger_primitive:
990
+ primitive_action_map:
991
+ left:
992
+ dof_names:
993
+ - left_hand_index_0_joint
994
+ - left_hand_index_1_joint
995
+ - left_hand_middle_0_joint
996
+ - left_hand_middle_1_joint
997
+ - left_hand_thumb_0_joint
998
+ - left_hand_thumb_1_joint
999
+ - left_hand_thumb_2_joint
1000
+ pos_0:
1001
+ - 0.0
1002
+ - 0.0
1003
+ - 0.0
1004
+ - 0.0
1005
+ - 0.0
1006
+ - 0.0
1007
+ - 0.0
1008
+ pos_1:
1009
+ - -1.42857143
1010
+ - -2.14285714
1011
+ - -1.42857143
1012
+ - -2.14285714
1013
+ - 0.0
1014
+ - 1.0
1015
+ - 1.0
1016
+ discrete: true
1017
+ right:
1018
+ dof_names:
1019
+ - right_hand_index_0_joint
1020
+ - right_hand_index_1_joint
1021
+ - right_hand_middle_0_joint
1022
+ - right_hand_middle_1_joint
1023
+ - right_hand_thumb_0_joint
1024
+ - right_hand_thumb_1_joint
1025
+ - right_hand_thumb_2_joint
1026
+ pos_0:
1027
+ - 0.0
1028
+ - 0.0
1029
+ - 0.0
1030
+ - 0.0
1031
+ - 0.0
1032
+ - 0.0
1033
+ - 0.0
1034
+ pos_1:
1035
+ - 1.42857143
1036
+ - 2.14285714
1037
+ - 1.42857143
1038
+ - 2.14285714
1039
+ - 0.0
1040
+ - -1.0
1041
+ - -1.0
1042
+ discrete: true
1043
+ use_staged_wrapper: false
1044
+ object_usd_path: data/motion_lib_genhoi/p019_0324_ha/object_usd
1045
+ use_manager_env: true
1046
+ exp_base: ${hydra:runtime.choices.exp}
1047
+ motion_shard_by_rank: true
1048
+ exp_var: pnp_table_p19_2604301955
1049
+ actor_prop_history_length: 10
1050
+ actor_actions_history_length: 10
1051
+ critic_prop_history_length: 10
1052
+ critic_actions_history_length: 10
checkpoint/SONIC/models/pnp_table/config.yaml ADDED
@@ -0,0 +1,1054 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ num_gpus: 1
2
+ max_retries: 1
3
+ seed: 0
4
+ codebase_version: 1.0
5
+ headless: true
6
+ num_envs: 2048
7
+ auto_load_latest: false
8
+ checkpoint: null
9
+ project_name: GRAB_Tracking
10
+ experiment_name: ${exp_base}_${exp_var}
11
+ base_dir: logs_rl
12
+ timestamp: ${now:%Y%m%d_%H%M%S}
13
+ experiment_dir: logs_rl/TRL_G1_Track/manager/universal_token/hoi/pnp_table_pnp_table_p19_2604301955-20260509_235602
14
+ save_dir: ${experiment_dir}/.hydra
15
+ force_flat_terrain: false
16
+ use_wandb: true
17
+ log_task_name: TEST
18
+ multi_gpu: true
19
+ global_rank: 0
20
+ sim_type: isaacsim
21
+ env_spacing: 20
22
+ output_dir: ${experiment_dir}/output
23
+ eval_overrides:
24
+ headless: false
25
+ num_envs: 1
26
+ auto_load_latest: false
27
+ use_wandb: false
28
+ algo:
29
+ trl:
30
+ dataset_name: dummy
31
+ output_dir: logs_rl/TRL_G1_Track/manager/universal_token/hoi/pnp_table_pnp_table_p19_2604301955-20260509_235602
32
+ learning_rate: ${algo.config.actor_learning_rate}
33
+ num_total_batches: ${algo.config.num_learning_iterations}
34
+ total_episodes: null
35
+ num_ppo_epochs: ${algo.config.num_learning_epochs}
36
+ num_mini_batches: ${algo.config.num_mini_batches}
37
+ per_device_train_batch_size: null
38
+ gradient_accumulation_steps: 1
39
+ report_to: none
40
+ gamma: ${algo.config.gamma}
41
+ lam: ${algo.config.lam}
42
+ vf_coef: ${algo.config.value_loss_coef}
43
+ max_grad_norm: ${algo.config.max_grad_norm}
44
+ lr_scheduler_type: constant
45
+ save_strategy: 'no'
46
+ disable_tqdm: true
47
+ config:
48
+ actor:
49
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Actor
50
+ running_mean_std: false
51
+ output_original_obs_dict: true
52
+ has_aux_loss: true
53
+ backbone:
54
+ _target_: gear_sonic.trl.modules.base_module.BaseModuleAux
55
+ process_output_dim: true
56
+ aux_loss_func:
57
+ latent_l2:
58
+ _target_: gear_sonic.trl.losses.token_losses.LatentL2Loss
59
+ latent_dim: 64
60
+ aux_loss_coef:
61
+ latent_l2: 0.1
62
+ module_config_dict:
63
+ input_dim:
64
+ - actor_obs
65
+ output_dim:
66
+ - robot_action_dim
67
+ layer_config:
68
+ type: MLP
69
+ hidden_dims:
70
+ - 512
71
+ - 256
72
+ - 128
73
+ activation: SiLU
74
+ critic:
75
+ _target_: gear_sonic.trl.modules.actor_critic_modules.Critic
76
+ running_mean_std: false
77
+ backbone:
78
+ _target_: gear_sonic.trl.modules.base_module.BaseModule
79
+ process_output_dim: true
80
+ module_config_dict:
81
+ type: MLP
82
+ input_dim:
83
+ - critic_obs
84
+ output_dim:
85
+ - 1
86
+ layer_config:
87
+ type: MLP
88
+ hidden_dims:
89
+ - 512
90
+ - 256
91
+ - 128
92
+ activation: SiLU
93
+ num_learning_epochs: 5
94
+ num_mini_batches: 4
95
+ clip_param: 0.2
96
+ gamma: 0.99
97
+ lam: 0.95
98
+ value_loss_coef: 1.0
99
+ entropy_coef: 0.01
100
+ actor_learning_rate: 2.0e-05
101
+ critic_learning_rate: 0.001
102
+ max_grad_norm: 0.1
103
+ use_clipped_value_loss: true
104
+ schedule: adaptive
105
+ desired_kl: 0.01
106
+ adaptive_lr_min: 1.0e-05
107
+ adaptive_lr_max: 0.0002
108
+ use_new_actor_critic: true
109
+ use_padding_mask: false
110
+ ppo_shuffle_every_epoch: true
111
+ sync_advantage_normalization: true
112
+ empty_cache_every_n_ppo_epoch: -1
113
+ num_steps_per_env: 24
114
+ save_interval: 500
115
+ eval_frequency: 500
116
+ load_optimizer: true
117
+ init_noise_std: 0.05
118
+ num_learning_iterations: 20000
119
+ init_at_random_ep_len: true
120
+ global_rank: 0
121
+ world_size: 64
122
+ use_clampped_std: true
123
+ std_clamp_min: 0.001
124
+ std_clamp_max: 0.5
125
+ _recursive_: false
126
+ env: ???
127
+ terrain: ???
128
+ callbacks:
129
+ model_save:
130
+ _target_: gear_sonic.trl.callbacks.model_save_callback.ModelSaveCallback
131
+ save_dir: ${experiment_dir}
132
+ save_frequency: 500
133
+ max_disk_usage: 14.8
134
+ wandb:
135
+ _target_: gear_sonic.trl.callbacks.wandb_callback.WandbCallback
136
+ read_eval:
137
+ _target_: gear_sonic.trl.callbacks.read_eval_callback.ReadEvalCallback
138
+ eval_dir: ${experiment_dir}/eval
139
+ check_interval: 1
140
+ im_resample:
141
+ _target_: gear_sonic.trl.callbacks.im_resample_callback.ImResampleCallback
142
+ motion_resample_frequency: 250
143
+ trainer:
144
+ _target_: gear_sonic.trl.trainer.ppo_trainer_aux_loss.TRLAuxLossPPOTrainer
145
+ wandb:
146
+ wandb_project: null
147
+ wandb_tags: online
148
+ wandb_group: pnp_table_p19_2604301955
149
+ wandb_id: null
150
+ wandb_entity: null
151
+ wandb_dir: /tmp
152
+ manager_env:
153
+ actions:
154
+ joint_pos:
155
+ _target_: isaaclab.envs.mdp.actions.JointPositionActionCfg
156
+ asset_name: robot
157
+ joint_names:
158
+ - .*
159
+ use_default_offset: true
160
+ _target_: gear_sonic.envs.manager_env.mdp.actions.ActionsCfg
161
+ observations:
162
+ policy:
163
+ command:
164
+ _target_: isaaclab.managers.ObservationTermCfg
165
+ func: gear_sonic.envs.manager_env.mdp:generated_commands
166
+ params:
167
+ command_name: motion
168
+ motion_anchor_pos_b:
169
+ _target_: isaaclab.managers.ObservationTermCfg
170
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
171
+ params:
172
+ command_name: motion
173
+ noise:
174
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
175
+ n_min: -0.25
176
+ n_max: 0.25
177
+ motion_anchor_ori_b:
178
+ _target_: isaaclab.managers.ObservationTermCfg
179
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
180
+ params:
181
+ command_name: motion
182
+ noise:
183
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
184
+ n_min: -0.05
185
+ n_max: 0.05
186
+ base_lin_vel:
187
+ _target_: isaaclab.managers.ObservationTermCfg
188
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
189
+ noise:
190
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
191
+ n_min: -0.5
192
+ n_max: 0.5
193
+ base_ang_vel:
194
+ _target_: isaaclab.managers.ObservationTermCfg
195
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
196
+ noise:
197
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
198
+ n_min: -0.2
199
+ n_max: 0.2
200
+ joint_pos:
201
+ _target_: isaaclab.managers.ObservationTermCfg
202
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
203
+ noise:
204
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
205
+ n_min: -0.01
206
+ n_max: 0.01
207
+ joint_vel:
208
+ _target_: isaaclab.managers.ObservationTermCfg
209
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
210
+ noise:
211
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
212
+ n_min: -0.5
213
+ n_max: 0.5
214
+ actions:
215
+ _target_: isaaclab.managers.ObservationTermCfg
216
+ func: gear_sonic.envs.manager_env.mdp:last_action
217
+ target_object_pos:
218
+ _target_: isaaclab.managers.ObservationTermCfg
219
+ func: gear_sonic.envs.manager_env.mdp:get_target_object_pos_in_base_frame
220
+ params:
221
+ asset_cfg:
222
+ _target_: isaaclab.managers.SceneEntityCfg
223
+ name: object
224
+ noise: null
225
+ hand_object_transform_6d:
226
+ _target_: isaaclab.managers.ObservationTermCfg
227
+ func: gear_sonic.envs.manager_env.mdp:hand_object_transform_6d
228
+ params:
229
+ asset_cfg:
230
+ _target_: isaaclab.managers.SceneEntityCfg
231
+ name: object_to_hand_frame_transformer
232
+ noise: null
233
+ finger_tips_force:
234
+ _target_: isaaclab.managers.ObservationTermCfg
235
+ func: gear_sonic.envs.manager_env.mdp:get_finger_tips_contact_force
236
+ params:
237
+ sensor_cfg:
238
+ _target_: isaaclab.managers.SceneEntityCfg
239
+ name: object_to_hand_contact_sensor
240
+ noise: null
241
+ object_pos_b:
242
+ _target_: isaaclab.managers.ObservationTermCfg
243
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
244
+ params:
245
+ command_name: motion
246
+ noise: null
247
+ object_ori_b_6d:
248
+ _target_: isaaclab.managers.ObservationTermCfg
249
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
250
+ params:
251
+ command_name: motion
252
+ noise: null
253
+ table_pos_b:
254
+ _target_: isaaclab.managers.ObservationTermCfg
255
+ func: gear_sonic.envs.manager_env.mdp:table_pos_b
256
+ params:
257
+ command_name: motion
258
+ noise: null
259
+ table_ori_b:
260
+ _target_: isaaclab.managers.ObservationTermCfg
261
+ func: gear_sonic.envs.manager_env.mdp:table_ori_b
262
+ params:
263
+ command_name: motion
264
+ noise: null
265
+ object_pos_delta_multi_future:
266
+ _target_: isaaclab.managers.ObservationTermCfg
267
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
268
+ params:
269
+ command_name: motion
270
+ noise:
271
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
272
+ n_min: -0.02
273
+ n_max: 0.02
274
+ object_ori_delta_multi_future_6d:
275
+ _target_: isaaclab.managers.ObservationTermCfg
276
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
277
+ params:
278
+ command_name: motion
279
+ noise:
280
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
281
+ n_min: -0.02
282
+ n_max: 0.02
283
+ command_multi_future:
284
+ _target_: isaaclab.managers.ObservationTermCfg
285
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
286
+ params:
287
+ command_name: motion
288
+ noise: null
289
+ motion_anchor_ori_b_mf:
290
+ _target_: isaaclab.managers.ObservationTermCfg
291
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
292
+ params:
293
+ command_name: motion
294
+ noise:
295
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
296
+ n_min: -0.05
297
+ n_max: 0.05
298
+ object_bps:
299
+ _target_: isaaclab.managers.ObservationTermCfg
300
+ func: gear_sonic.envs.manager_env.mdp:object_bps
301
+ params:
302
+ command_name: motion
303
+ noise: null
304
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyCfg
305
+ enable_corruption: false
306
+ concatenate_terms: true
307
+ critic:
308
+ command:
309
+ _target_: isaaclab.managers.ObservationTermCfg
310
+ func: gear_sonic.envs.manager_env.mdp:generated_commands
311
+ params:
312
+ command_name: motion
313
+ motion_anchor_pos_b:
314
+ _target_: isaaclab.managers.ObservationTermCfg
315
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_pos_b
316
+ params:
317
+ command_name: motion
318
+ motion_anchor_ori_b:
319
+ _target_: isaaclab.managers.ObservationTermCfg
320
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b
321
+ params:
322
+ command_name: motion
323
+ body_pos:
324
+ _target_: isaaclab.managers.ObservationTermCfg
325
+ func: gear_sonic.envs.manager_env.mdp:robot_body_pos_b
326
+ params:
327
+ command_name: motion
328
+ body_ori:
329
+ _target_: isaaclab.managers.ObservationTermCfg
330
+ func: gear_sonic.envs.manager_env.mdp:robot_body_ori_b
331
+ params:
332
+ command_name: motion
333
+ base_lin_vel:
334
+ _target_: isaaclab.managers.ObservationTermCfg
335
+ func: gear_sonic.envs.manager_env.mdp:base_lin_vel
336
+ base_ang_vel:
337
+ _target_: isaaclab.managers.ObservationTermCfg
338
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
339
+ joint_pos:
340
+ _target_: isaaclab.managers.ObservationTermCfg
341
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_rel
342
+ joint_vel:
343
+ _target_: isaaclab.managers.ObservationTermCfg
344
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_rel
345
+ actions:
346
+ _target_: isaaclab.managers.ObservationTermCfg
347
+ func: gear_sonic.envs.manager_env.mdp:last_action
348
+ target_object_pos:
349
+ _target_: isaaclab.managers.ObservationTermCfg
350
+ func: gear_sonic.envs.manager_env.mdp:get_target_object_pos_in_base_frame
351
+ params:
352
+ asset_cfg:
353
+ _target_: isaaclab.managers.SceneEntityCfg
354
+ name: object
355
+ hand_object_transform_6d:
356
+ _target_: isaaclab.managers.ObservationTermCfg
357
+ func: gear_sonic.envs.manager_env.mdp:hand_object_transform_6d
358
+ params:
359
+ asset_cfg:
360
+ _target_: isaaclab.managers.SceneEntityCfg
361
+ name: object_to_hand_frame_transformer
362
+ finger_tips_force:
363
+ _target_: isaaclab.managers.ObservationTermCfg
364
+ func: gear_sonic.envs.manager_env.mdp:get_finger_tips_contact_force
365
+ params:
366
+ sensor_cfg:
367
+ _target_: isaaclab.managers.SceneEntityCfg
368
+ name: object_to_hand_contact_sensor
369
+ grab_contact_flag:
370
+ _target_: isaaclab.managers.ObservationTermCfg
371
+ func: gear_sonic.envs.manager_env.mdp:grab_contact_flag
372
+ params:
373
+ command_name: motion
374
+ object_pos_b:
375
+ _target_: isaaclab.managers.ObservationTermCfg
376
+ func: gear_sonic.envs.manager_env.mdp:object_pos_b
377
+ params:
378
+ command_name: motion
379
+ object_ori_b_6d:
380
+ _target_: isaaclab.managers.ObservationTermCfg
381
+ func: gear_sonic.envs.manager_env.mdp:object_ori_b_6d
382
+ params:
383
+ command_name: motion
384
+ table_pos_b:
385
+ _target_: isaaclab.managers.ObservationTermCfg
386
+ func: gear_sonic.envs.manager_env.mdp:table_pos_b
387
+ params:
388
+ command_name: motion
389
+ table_ori_b:
390
+ _target_: isaaclab.managers.ObservationTermCfg
391
+ func: gear_sonic.envs.manager_env.mdp:table_ori_b
392
+ params:
393
+ command_name: motion
394
+ object_pos_delta_multi_future:
395
+ _target_: isaaclab.managers.ObservationTermCfg
396
+ func: gear_sonic.envs.manager_env.mdp:object_pos_delta_multi_future
397
+ params:
398
+ command_name: motion
399
+ object_ori_delta_multi_future_6d:
400
+ _target_: isaaclab.managers.ObservationTermCfg
401
+ func: gear_sonic.envs.manager_env.mdp:object_ori_delta_multi_future_6d
402
+ params:
403
+ command_name: motion
404
+ command_multi_future:
405
+ _target_: isaaclab.managers.ObservationTermCfg
406
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
407
+ params:
408
+ command_name: motion
409
+ motion_anchor_ori_b_mf:
410
+ _target_: isaaclab.managers.ObservationTermCfg
411
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_b_mf
412
+ params:
413
+ command_name: motion
414
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PrivilegedCfg
415
+ tokenizer:
416
+ encoder_index:
417
+ _target_: isaaclab.managers.ObservationTermCfg
418
+ func: gear_sonic.envs.manager_env.mdp:get_command_obs
419
+ params:
420
+ command_name: motion
421
+ obs_name: episode_encoder_index
422
+ command_multi_future_nonflat:
423
+ _target_: isaaclab.managers.ObservationTermCfg
424
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future
425
+ params:
426
+ command_name: motion
427
+ non_flatten: true
428
+ command_z_multi_future_nonflat:
429
+ _target_: isaaclab.managers.ObservationTermCfg
430
+ func: gear_sonic.envs.manager_env.mdp:command_z_multi_future
431
+ params:
432
+ command_name: motion
433
+ non_flatten: true
434
+ motion_anchor_ori_heading_mf_nonflat:
435
+ _target_: isaaclab.managers.ObservationTermCfg
436
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_heading_mf
437
+ params:
438
+ command_name: motion
439
+ non_flatten: true
440
+ noise:
441
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
442
+ n_min: -0.05
443
+ n_max: 0.05
444
+ command_multi_future_lower_body:
445
+ _target_: isaaclab.managers.ObservationTermCfg
446
+ func: gear_sonic.envs.manager_env.mdp:command_multi_future_lower_body
447
+ params:
448
+ command_name: motion
449
+ vr_3point_local_target:
450
+ _target_: isaaclab.managers.ObservationTermCfg
451
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_target
452
+ params:
453
+ command_name: motion
454
+ vr_3point_local_orn_target:
455
+ _target_: isaaclab.managers.ObservationTermCfg
456
+ func: gear_sonic.envs.manager_env.mdp:vr_3point_local_orn_target
457
+ params:
458
+ command_name: motion
459
+ motion_anchor_ori_heading:
460
+ _target_: isaaclab.managers.ObservationTermCfg
461
+ func: gear_sonic.envs.manager_env.mdp:motion_anchor_ori_heading
462
+ params:
463
+ command_name: motion
464
+ noise:
465
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
466
+ n_min: -0.05
467
+ n_max: 0.05
468
+ command_z:
469
+ _target_: isaaclab.managers.ObservationTermCfg
470
+ func: gear_sonic.envs.manager_env.mdp:command_z
471
+ params:
472
+ command_name: motion
473
+ smpl_joints_multi_future_local_nonflat:
474
+ _target_: isaaclab.managers.ObservationTermCfg
475
+ func: gear_sonic.envs.manager_env.mdp:smpl_joints_multi_future_local
476
+ params:
477
+ command_name: motion
478
+ non_flatten: true
479
+ noise:
480
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
481
+ n_min: -0.05
482
+ n_max: 0.05
483
+ smpl_root_ori_heading_multi_future:
484
+ _target_: isaaclab.managers.ObservationTermCfg
485
+ func: gear_sonic.envs.manager_env.mdp:smpl_root_ori_heading_mf
486
+ params:
487
+ command_name: motion
488
+ non_flatten: true
489
+ noise:
490
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
491
+ n_min: -0.05
492
+ n_max: 0.05
493
+ joint_pos_multi_future_wrist_for_smpl:
494
+ _target_: isaaclab.managers.ObservationTermCfg
495
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_multi_future_select_joints_for_smpl
496
+ params:
497
+ command_name: motion
498
+ joints_idx:
499
+ - 23
500
+ - 24
501
+ - 25
502
+ - 26
503
+ - 27
504
+ - 28
505
+ _target_: gear_sonic.envs.manager_env.mdp.observations.TokenizerCfg
506
+ enable_corruption: false
507
+ concatenate_terms: false
508
+ policy_atm:
509
+ base_ang_vel:
510
+ _target_: isaaclab.managers.ObservationTermCfg
511
+ func: gear_sonic.envs.manager_env.mdp:base_ang_vel
512
+ history_length: ${actor_prop_history_length}
513
+ noise:
514
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
515
+ n_min: -0.2
516
+ n_max: 0.2
517
+ joint_pos_wo_hand:
518
+ _target_: isaaclab.managers.ObservationTermCfg
519
+ func: gear_sonic.envs.manager_env.mdp:joint_pos_wo_hand
520
+ params:
521
+ asset_cfg:
522
+ _target_: isaaclab.managers.SceneEntityCfg
523
+ name: robot
524
+ history_length: ${actor_prop_history_length}
525
+ noise:
526
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
527
+ n_min: -0.01
528
+ n_max: 0.01
529
+ joint_vel_wo_hand:
530
+ _target_: isaaclab.managers.ObservationTermCfg
531
+ func: gear_sonic.envs.manager_env.mdp:joint_vel_wo_hand
532
+ params:
533
+ asset_cfg:
534
+ _target_: isaaclab.managers.SceneEntityCfg
535
+ name: robot
536
+ history_length: ${actor_prop_history_length}
537
+ noise:
538
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
539
+ n_min: -0.5
540
+ n_max: 0.5
541
+ actions_wo_hand:
542
+ _target_: isaaclab.managers.ObservationTermCfg
543
+ func: gear_sonic.envs.manager_env.mdp:last_action_wo_hand
544
+ params:
545
+ asset_cfg:
546
+ _target_: isaaclab.managers.SceneEntityCfg
547
+ name: robot
548
+ history_length: ${actor_actions_history_length}
549
+ gravity_dir:
550
+ _target_: isaaclab.managers.ObservationTermCfg
551
+ func: gear_sonic.envs.manager_env.mdp:gravity_dir
552
+ params:
553
+ command_name: motion
554
+ history_length: ${actor_prop_history_length}
555
+ noise:
556
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
557
+ n_min: -0.05
558
+ n_max: 0.05
559
+ _target_: gear_sonic.envs.manager_env.mdp.observations.PolicyAtmCfg
560
+ enable_corruption: false
561
+ concatenate_terms: true
562
+ _target_: gear_sonic.envs.manager_env.mdp.observations.ObservationsCfg
563
+ rewards:
564
+ tracking_anchor_pos:
565
+ _target_: isaaclab.managers.RewardTermCfg
566
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_pos_error
567
+ weight: 0.5
568
+ params:
569
+ command_name: motion
570
+ std: 0.3
571
+ tracking_anchor_ori:
572
+ _target_: isaaclab.managers.RewardTermCfg
573
+ func: gear_sonic.envs.manager_env.mdp:tracking_anchor_ori_error
574
+ weight: 2.5
575
+ params:
576
+ command_name: motion
577
+ std: 0.4
578
+ tracking_relative_body_pos:
579
+ _target_: isaaclab.managers.RewardTermCfg
580
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_pos_error
581
+ weight: 1.0
582
+ params:
583
+ command_name: motion
584
+ std: 0.3
585
+ tracking_relative_body_ori:
586
+ _target_: isaaclab.managers.RewardTermCfg
587
+ func: gear_sonic.envs.manager_env.mdp:tracking_relative_body_ori_error
588
+ weight: 5.0
589
+ params:
590
+ command_name: motion
591
+ std: 0.4
592
+ tracking_body_linvel:
593
+ _target_: isaaclab.managers.RewardTermCfg
594
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_linvel_error
595
+ weight: 1.0
596
+ params:
597
+ command_name: motion
598
+ std: 1.0
599
+ tracking_body_angvel:
600
+ _target_: isaaclab.managers.RewardTermCfg
601
+ func: gear_sonic.envs.manager_env.mdp:tracking_body_angvel_error
602
+ weight: 1.0
603
+ params:
604
+ command_name: motion
605
+ std: 3.14
606
+ undesired_contacts_no_ankle_hand:
607
+ _target_: isaaclab.managers.RewardTermCfg
608
+ func: gear_sonic.envs.manager_env.mdp:undesired_contacts
609
+ weight: -0.1
610
+ params:
611
+ sensor_cfg:
612
+ _target_: isaaclab.managers.SceneEntityCfg
613
+ name: contact_forces
614
+ body_names:
615
+ - ^(?!left_ankle_roll_link$)(?!right_ankle_roll_link$)(?!.*hand.*).+$
616
+ threshold: 1.0
617
+ hand_table_contact_penalty:
618
+ _target_: isaaclab.managers.RewardTermCfg
619
+ func: gear_sonic.envs.manager_env.mdp:reward_hand_table_contact_penalty
620
+ weight: -1.0
621
+ params:
622
+ sensor_cfg:
623
+ _target_: isaaclab.managers.SceneEntityCfg
624
+ name: table_to_hand_contact_sensor
625
+ grasp_reward:
626
+ _target_: isaaclab.managers.RewardTermCfg
627
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp
628
+ weight: 5.0
629
+ params:
630
+ sensor_cfg:
631
+ _target_: isaaclab.managers.SceneEntityCfg
632
+ name: object_to_hand_contact_sensor
633
+ contact_threshold: 0.1
634
+ min_contacts: 8
635
+ hand: right_hand
636
+ command_name: motion
637
+ gate_with_contact_label: true
638
+ grasp_finger_direction:
639
+ _target_: isaaclab.managers.RewardTermCfg
640
+ func: gear_sonic.envs.manager_env.mdp:reward_grasp_finger_direction
641
+ weight: 10.0
642
+ params:
643
+ thumb_link: right_hand_thumb_2_link
644
+ index_link: right_hand_index_1_link
645
+ middle_link: right_hand_middle_1_link
646
+ hand: right_hand
647
+ command_name: motion
648
+ use_contact_center: true
649
+ finger_primitive_limit:
650
+ _target_: isaaclab.managers.RewardTermCfg
651
+ func: gear_sonic.envs.manager_env.mdp:reward_finger_primitive_limit
652
+ weight: 0.0
653
+ params:
654
+ mode: discrete
655
+ action_scale: 1.0
656
+ discrete_threshold: 0.5
657
+ meta_action_rate_l2:
658
+ _target_: isaaclab.managers.RewardTermCfg
659
+ func: gear_sonic.envs.manager_env.mdp:meta_action_rate_l2
660
+ weight: -0.1
661
+ params:
662
+ token_only: false
663
+ full_latent_rate_l2:
664
+ _target_: isaaclab.managers.RewardTermCfg
665
+ func: gear_sonic.envs.manager_env.mdp:full_latent_rate_l2
666
+ weight: -0.01
667
+ is_terminated:
668
+ _target_: isaaclab.managers.RewardTermCfg
669
+ func: isaaclab.envs.mdp:is_terminated
670
+ weight: -10.0
671
+ object_tracking_reward:
672
+ _target_: isaaclab.managers.RewardTermCfg
673
+ func: gear_sonic.envs.manager_env.mdp:object_tracking_reward
674
+ weight: 0.0
675
+ params:
676
+ command_name: motion
677
+ sensor_cfg:
678
+ _target_: isaaclab.managers.SceneEntityCfg
679
+ name: object_to_hand_contact_sensor
680
+ w_op: 0.5
681
+ w_or: 0.0
682
+ w_ov: 0.0
683
+ w_oav: 0.0
684
+ pos_exp_coeff: -100.0
685
+ ori_exp_coeff: -100.0
686
+ vel_exp_coeff: -5.0
687
+ ang_vel_exp_coeff: -5.0
688
+ _target_: gear_sonic.envs.manager_env.mdp.rewards.RewardsCfg
689
+ approach_velocity_penalty:
690
+ _target_: isaaclab.managers.RewardTermCfg
691
+ func: gear_sonic.envs.manager_env.mdp:reward_approach_velocity_penalty
692
+ weight: -15.0
693
+ params:
694
+ sensor_cfg:
695
+ _target_: isaaclab.managers.SceneEntityCfg
696
+ name: object_to_hand_contact_sensor
697
+ sigma: 0.25
698
+ contact_threshold: 0.1
699
+ min_contacts: 8
700
+ disable_after_contact: false
701
+ upright_penalty:
702
+ _target_: isaaclab.managers.RewardTermCfg
703
+ func: gear_sonic.envs.manager_env.mdp:upright_penalty
704
+ weight: 0
705
+ params:
706
+ command_name: motion
707
+ body_names:
708
+ - pelvis
709
+ - torso_link
710
+ terminations:
711
+ anchor_pos:
712
+ _target_: isaaclab.managers.TerminationTermCfg
713
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_height
714
+ params:
715
+ command_name: motion
716
+ threshold: 0.25
717
+ threshold_adaptive: false
718
+ down_threshold: 0.5
719
+ anchor_ori_full:
720
+ _target_: isaaclab.managers.TerminationTermCfg
721
+ func: gear_sonic.envs.manager_env.mdp:exceeded_anchor_ori
722
+ params:
723
+ asset_cfg:
724
+ _target_: isaaclab.managers.SceneEntityCfg
725
+ name: robot
726
+ command_name: motion
727
+ threshold: 1
728
+ ee_body_pos:
729
+ _target_: isaaclab.managers.TerminationTermCfg
730
+ func: gear_sonic.envs.manager_env.mdp:exceeded_body_height
731
+ params:
732
+ command_name: motion
733
+ threshold: 0.25
734
+ threshold_adaptive: false
735
+ down_threshold: 0.5
736
+ body_names:
737
+ - left_ankle_roll_link
738
+ - right_ankle_roll_link
739
+ - left_wrist_yaw_link
740
+ - right_wrist_yaw_link
741
+ time_out:
742
+ _target_: isaaclab.managers.TerminationTermCfg
743
+ func: gear_sonic.envs.manager_env.mdp:tracking_time_out
744
+ time_out: true
745
+ params:
746
+ command_name: motion
747
+ object_pos_deviation:
748
+ _target_: isaaclab.managers.TerminationTermCfg
749
+ func: gear_sonic.envs.manager_env.mdp:object_pos_deviation
750
+ params:
751
+ command_name: motion
752
+ threshold: 0.1
753
+ _target_: gear_sonic.envs.manager_env.mdp.terminations.TerminationsCfg
754
+ hand_table_contact_termination:
755
+ _target_: isaaclab.managers.TerminationTermCfg
756
+ func: gear_sonic.envs.manager_env.mdp:hand_table_contact_termination
757
+ params:
758
+ sensor_cfg:
759
+ _target_: isaaclab.managers.SceneEntityCfg
760
+ name: table_to_hand_contact_sensor
761
+ force_threshold: 1.0
762
+ commands:
763
+ motion:
764
+ _target_: gear_sonic.envs.manager_env.mdp.commands.TrackingCommandCfg
765
+ asset_name: robot
766
+ motion_lib_cfg:
767
+ motion_file: data/motion_lib_genhoi/p019_0324_ha/robot
768
+ smpl_motion_file: dummy
769
+ asset:
770
+ assetRoot: gear_sonic/data/assets/robot_description/mjcf/
771
+ assetFileName: g1_29dof_rev_1_0.xml
772
+ urdfFileName: ''
773
+ extend_config: []
774
+ target_fps: 50
775
+ multi_thread: true
776
+ filter_motion_keys: null
777
+ adaptive_sampling: null
778
+ smpl_y_up: true
779
+ object_motion_file: data/motion_lib_genhoi/p019_0324_ha/objects
780
+ bps_dir: data/motion_lib_genhoi/p019_0324/bps
781
+ motion_shard_rank: 0
782
+ motion_shard_world_size: 64
783
+ resampling_time_range:
784
+ - 1000000000.0
785
+ - 1000000000.0
786
+ debug_vis: false
787
+ dt_future_ref_frames: 0.1
788
+ num_future_frames: 10
789
+ pose_range:
790
+ x:
791
+ - 0
792
+ - 0
793
+ 'y':
794
+ - 0
795
+ - 0
796
+ z:
797
+ - 0
798
+ - 0
799
+ roll:
800
+ - 0
801
+ - 0
802
+ pitch:
803
+ - 0
804
+ - 0
805
+ yaw:
806
+ - 0
807
+ - 0
808
+ velocity_range:
809
+ x:
810
+ - 0
811
+ - 0
812
+ 'y':
813
+ - 0
814
+ - 0
815
+ z:
816
+ - 0
817
+ - 0
818
+ roll:
819
+ - 0
820
+ - 0
821
+ pitch:
822
+ - 0
823
+ - 0
824
+ yaw:
825
+ - 0
826
+ - 0
827
+ joint_position_range:
828
+ - 0
829
+ - 0
830
+ joint_velocity_range:
831
+ - 0
832
+ - 0
833
+ anchor_body: pelvis
834
+ vr_3point_body:
835
+ - left_wrist_yaw_link
836
+ - right_wrist_yaw_link
837
+ - torso_link
838
+ vr_3point_body_offset:
839
+ - - 0.18
840
+ - -0.025
841
+ - 0.0
842
+ - - 0.18
843
+ - 0.025
844
+ - 0.0
845
+ - - 0.0
846
+ - 0.0
847
+ - 0.35
848
+ reward_point_body:
849
+ - pelvis
850
+ - left_wrist_yaw_link
851
+ - right_wrist_yaw_link
852
+ - left_ankle_roll_link
853
+ - right_ankle_roll_link
854
+ reward_point_body_offset:
855
+ - - 0.0
856
+ - 0.0
857
+ - 0.0
858
+ - - 0.18
859
+ - -0.025
860
+ - 0.0
861
+ - - 0.18
862
+ - 0.025
863
+ - 0.0
864
+ - - 0.0
865
+ - 0.0
866
+ - 0.0
867
+ - - 0.0
868
+ - 0.0
869
+ - 0.0
870
+ body_names:
871
+ - pelvis
872
+ - left_hip_roll_link
873
+ - left_knee_link
874
+ - left_ankle_roll_link
875
+ - right_hip_roll_link
876
+ - right_knee_link
877
+ - right_ankle_roll_link
878
+ - torso_link
879
+ - left_shoulder_roll_link
880
+ - left_elbow_link
881
+ - left_wrist_yaw_link
882
+ - right_shoulder_roll_link
883
+ - right_elbow_link
884
+ - right_wrist_yaw_link
885
+ motion_lib_num_dof: 29
886
+ hand_default_positions:
887
+ - 0.0
888
+ - 0.0
889
+ - 0.0
890
+ - 0.0
891
+ - 0.0
892
+ - 0.0
893
+ - 0.0
894
+ - 0.0
895
+ - 0.0
896
+ - 0.0
897
+ - 0.0
898
+ - 0.0
899
+ - 0.0
900
+ - 0.0
901
+ smpl_num_future_frames: 10
902
+ smpl_dt_future_ref_frames: 0.02
903
+ use_paired_motions: true
904
+ start_from_first_frame: false
905
+ sample_before_contact: true
906
+ sample_from_n_initial_frames: 30
907
+ object_position_randomize: false
908
+ encoder_sample_probs:
909
+ g1: 1.0
910
+ teleop: 0.0
911
+ smpl: 0.0
912
+ _target_: gear_sonic.envs.manager_env.mdp.commands.CommandsCfg
913
+ events:
914
+ _target_: gear_sonic.envs.manager_env.mdp.events.EventCfg
915
+ curriculum:
916
+ _target_: gear_sonic.envs.manager_env.mdp.curriculum.CurriculumCfg
917
+ recorders:
918
+ _target_: gear_sonic.envs.manager_env.mdp.recorders.RecordersCfg
919
+ _target_: gear_sonic.envs.manager_env.modular_tracking_env_cfg.ModularTrackingEnvCfg
920
+ config:
921
+ num_envs: ${num_envs}
922
+ env_spacing: 10.0
923
+ decimation: 4
924
+ episode_length_s: 10.0
925
+ sim_dt: 0.005
926
+ viewer_eye:
927
+ - 4.5
928
+ - 0.0
929
+ - 6.0
930
+ viewer_lookat:
931
+ - 0.0
932
+ - 0.0
933
+ - 2.0
934
+ render_results: false
935
+ save_rendering_dir: ${experiment_dir}/renderings_training
936
+ experiment_dir: ${experiment_dir}
937
+ terrain_type: plane
938
+ object_mass: 0.1
939
+ table_offset: null
940
+ eval_camera_offset:
941
+ - 2
942
+ - -2
943
+ - 1
944
+ action_transform_module_cfg: models/sonic_sm_3pt_heading_hh-20260203_131215/model_config.yaml
945
+ action_transform_module_checkpoint: models/sonic_sm_3pt_heading_hh-20260203_131215/model_step_092000.pt
946
+ meta_action_dim: 66
947
+ needs_policy_atm: true
948
+ obs:
949
+ obs_dict: {}
950
+ obs_dims: {}
951
+ group_obs_dims: {}
952
+ group_obs_names: {}
953
+ action_clip_value: 20.0
954
+ robot:
955
+ type: g1_43dof
956
+ algo_obs_dim_dict: {}
957
+ rewards:
958
+ num_critics: 1
959
+ train_only_events:
960
+ - push_robot
961
+ - force_push_robot
962
+ safe_nan: true
963
+ gpu_collision_stack_size_exp: 30
964
+ replicate_physics: false
965
+ add_object: true
966
+ object_is_dynamic: true
967
+ add_table: true
968
+ lift_contact_force_threshold: 0.1
969
+ scene_scale: null
970
+ table_size:
971
+ - 1.5
972
+ - 0.7
973
+ - 0.04
974
+ use_motion_hand_actions: true
975
+ use_finger_primitive: true
976
+ motion_meta_info_path: null
977
+ contact_sensor_finger_links:
978
+ - right_hand_palm_link
979
+ - right_hand_thumb_0_link
980
+ - right_hand_thumb_1_link
981
+ - right_hand_thumb_2_link
982
+ - right_hand_index_0_link
983
+ - right_hand_index_1_link
984
+ - right_hand_middle_0_link
985
+ - right_hand_middle_1_link
986
+ use_latent_residual: true
987
+ latent_residual_mode: pre_quantization
988
+ latent_residual_scale: 0.1
989
+ tokenizer_action_dim: 64
990
+ hand_action_dim: 2
991
+ finger_primitive:
992
+ primitive_action_map:
993
+ left:
994
+ dof_names:
995
+ - left_hand_index_0_joint
996
+ - left_hand_index_1_joint
997
+ - left_hand_middle_0_joint
998
+ - left_hand_middle_1_joint
999
+ - left_hand_thumb_0_joint
1000
+ - left_hand_thumb_1_joint
1001
+ - left_hand_thumb_2_joint
1002
+ pos_0:
1003
+ - 0.0
1004
+ - 0.0
1005
+ - 0.0
1006
+ - 0.0
1007
+ - 0.0
1008
+ - 0.0
1009
+ - 0.0
1010
+ pos_1:
1011
+ - -1.42857143
1012
+ - -2.14285714
1013
+ - -1.42857143
1014
+ - -2.14285714
1015
+ - 0.0
1016
+ - 1.0
1017
+ - 1.0
1018
+ discrete: true
1019
+ right:
1020
+ dof_names:
1021
+ - right_hand_index_0_joint
1022
+ - right_hand_index_1_joint
1023
+ - right_hand_middle_0_joint
1024
+ - right_hand_middle_1_joint
1025
+ - right_hand_thumb_0_joint
1026
+ - right_hand_thumb_1_joint
1027
+ - right_hand_thumb_2_joint
1028
+ pos_0:
1029
+ - 0.0
1030
+ - 0.0
1031
+ - 0.0
1032
+ - 0.0
1033
+ - 0.0
1034
+ - 0.0
1035
+ - 0.0
1036
+ pos_1:
1037
+ - 1.42857143
1038
+ - 2.14285714
1039
+ - 1.42857143
1040
+ - 2.14285714
1041
+ - 0.0
1042
+ - -1.0
1043
+ - -1.0
1044
+ discrete: true
1045
+ use_staged_wrapper: false
1046
+ object_usd_path: data/motion_lib_genhoi/p019_0324_ha/object_usd
1047
+ use_manager_env: true
1048
+ exp_base: ${hydra:runtime.choices.exp}
1049
+ motion_shard_by_rank: true
1050
+ exp_var: pnp_table_p19_2604301955
1051
+ actor_prop_history_length: 10
1052
+ actor_actions_history_length: 10
1053
+ critic_prop_history_length: 10
1054
+ critic_actions_history_length: 10
checkpoint/SONIC/models/pnp_table/last.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d47e573595c41912b7061797cd82022818a60cebd7eaf08e61e024caf8efc119
3
+ size 17066469
checkpoint/SONIC/models/sonic_manipulation_base/last.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62f3e336cc11cbfb7517fee1f053ed92c81d44accd3757faa0febf421d0a2cd4
3
+ size 469457707
checkpoint/SONIC/models/sonic_manipulation_base/model_config.yaml ADDED
@@ -0,0 +1,323 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ algo_config:
2
+ actor:
3
+ _target_: groot.rl.trl.modules.actor_critic_modules.Actor
4
+ backbone:
5
+ _target_: groot.rl.trl.modules.universal_token_modules.UniversalTokenModule
6
+ aux_loss_coef:
7
+ g1_recon: 0.01
8
+ g1_smpl_latent: 1.0
9
+ g1_teleop_latent: 1.0
10
+ reencoded_smpl_g1_latent: 1.0
11
+ teleop_smpl_latent: 1.0
12
+ aux_loss_func:
13
+ g1_recon:
14
+ _target_: groot.rl.trl.losses.token_losses.G1ReconLoss
15
+ loss_type: mse
16
+ g1_smpl_latent:
17
+ _target_: groot.rl.trl.losses.token_losses.G1SmplLatentLoss
18
+ loss_type: mse
19
+ g1_teleop_latent:
20
+ _target_: groot.rl.trl.losses.token_losses.G1TeleopLatentLoss
21
+ loss_type: mse
22
+ reencoded_smpl_g1_latent:
23
+ _target_: groot.rl.trl.losses.token_losses.ReencodedSmplG1LatentLoss
24
+ loss_type: mse
25
+ teleop_smpl_latent:
26
+ _target_: groot.rl.trl.losses.token_losses.TeleopSmplLatentLoss
27
+ detach_teleop_target: true
28
+ loss_type: mse
29
+ decoders:
30
+ g1_dyn:
31
+ has_temporal_dim: false
32
+ inputs:
33
+ - token_flattened
34
+ - proprioception
35
+ outputs:
36
+ - action
37
+ params:
38
+ _target_: groot.rl.agents.modules.modules.BaseModule
39
+ input_dim: null
40
+ module_config_dict:
41
+ layer_config:
42
+ activation: SiLU
43
+ hidden_dims:
44
+ - 2048
45
+ - 2048
46
+ - 1024
47
+ - 1024
48
+ - 512
49
+ - 512
50
+ type: MLP
51
+ num_input_temporal_dims: null
52
+ num_output_temporal_dims: null
53
+ output_dim: null
54
+ g1_kin:
55
+ has_temporal_dim: true
56
+ inputs:
57
+ - token
58
+ outputs:
59
+ - command_multi_future_nonflat
60
+ - motion_anchor_ori_heading_mf_nonflat
61
+ params:
62
+ _target_: groot.rl.agents.modules.modules.BaseModule
63
+ input_dim: null
64
+ module_config_dict:
65
+ layer_config:
66
+ activation: SiLU
67
+ hidden_dims:
68
+ - 2048
69
+ - 1024
70
+ - 512
71
+ - 512
72
+ type: MLP
73
+ num_input_temporal_dims: 2
74
+ num_output_temporal_dims: 10
75
+ output_dim: null
76
+ encoder_sample_probs:
77
+ g1: 1.0
78
+ smpl: 1.0
79
+ teleop: 1.0
80
+ encoders:
81
+ g1:
82
+ inputs:
83
+ - command_multi_future_nonflat
84
+ - motion_anchor_ori_heading_mf_nonflat
85
+ params:
86
+ _target_: groot.rl.agents.modules.modules.BaseModule
87
+ input_dim: null
88
+ module_config_dict:
89
+ layer_config:
90
+ activation: SiLU
91
+ hidden_dims:
92
+ - 2048
93
+ - 1024
94
+ - 512
95
+ - 512
96
+ type: MLP
97
+ num_input_temporal_dims: 10
98
+ num_output_temporal_dims: 2
99
+ output_dim: null
100
+ smpl:
101
+ inputs:
102
+ - smpl_joints_multi_future_local_nonflat
103
+ - smpl_root_ori_heading_multi_future
104
+ - joint_pos_multi_future_wrist_for_smpl
105
+ params:
106
+ _target_: groot.rl.agents.modules.modules.BaseModule
107
+ input_dim: null
108
+ module_config_dict:
109
+ layer_config:
110
+ activation: SiLU
111
+ hidden_dims:
112
+ - 2048
113
+ - 1024
114
+ - 512
115
+ - 512
116
+ type: MLP
117
+ num_input_temporal_dims: 10
118
+ num_output_temporal_dims: 2
119
+ output_dim: null
120
+ teleop:
121
+ inputs:
122
+ - command_multi_future_lower_body
123
+ - vr_3point_local_target
124
+ - vr_3point_local_orn_target
125
+ - motion_anchor_ori_heading
126
+ params:
127
+ _target_: groot.rl.agents.modules.modules.BaseModule
128
+ input_dim: null
129
+ module_config_dict:
130
+ layer_config:
131
+ activation: SiLU
132
+ hidden_dims:
133
+ - 2048
134
+ - 1024
135
+ - 512
136
+ - 512
137
+ type: MLP
138
+ num_input_temporal_dims: null
139
+ num_output_temporal_dims: 2
140
+ output_dim: null
141
+ fsq_level_list: 32
142
+ max_num_tokens: 2
143
+ num_fsq_levels: 32
144
+ num_future_frames: 10
145
+ proprioception_features:
146
+ - actor_obs
147
+ quantizer:
148
+ _target_: vector_quantize_pytorch.FSQ
149
+ reencode_smpl_g1_recon: true
150
+ has_aux_loss: true
151
+ input_obs_dict: true
152
+ running_mean_std: false
153
+ actor_learning_rate: 2.0e-05
154
+ adaptive_lr_max: 0.0002
155
+ adaptive_lr_min: 1.0e-05
156
+ clip_param: 0.2
157
+ critic:
158
+ _target_: groot.rl.trl.modules.actor_critic_modules.Critic
159
+ backbone:
160
+ _target_: groot.rl.agents.modules.modules.BaseModule
161
+ module_config_dict:
162
+ input_dim:
163
+ - critic_obs
164
+ layer_config:
165
+ activation: SiLU
166
+ hidden_dims:
167
+ - 2048
168
+ - 2048
169
+ - 1024
170
+ - 1024
171
+ - 512
172
+ - 512
173
+ type: MLP
174
+ output_dim:
175
+ - 1
176
+ type: MLP
177
+ process_output_dim: true
178
+ running_mean_std: true
179
+ critic_learning_rate: 0.001
180
+ desired_kl: 0.01
181
+ empty_cache_every_n_ppo_epoch: -1
182
+ entropy_coef: 0.01
183
+ eval:
184
+ num_eval_episodes: 150
185
+ num_save_episodes: 200
186
+ save_goal_reached_only: true
187
+ save_trajectories: false
188
+ save_videos: false
189
+ video_save_prob: 1.0
190
+ eval_callbacks:
191
+ analysis_plot_cb:
192
+ _target_: groot.rl.agents.callbacks.analysis_plot_motion_tracking.AnalysisPlotMotionTracking
193
+ config:
194
+ compute_metrics: true
195
+ log_single_robot: false
196
+ plot_update_interval: 100
197
+ sim_dt: 0.02
198
+ use_weblogger: false
199
+ eval_frequency: 500
200
+ gamma: 0.99
201
+ global_rank: 0
202
+ init_at_random_ep_len: true
203
+ init_noise_std: 0.05
204
+ lam: 0.95
205
+ load_optimizer: true
206
+ max_grad_norm: 0.1
207
+ num_learning_epochs: 5
208
+ num_learning_iterations: 100000
209
+ num_mini_batches: 4
210
+ num_steps_per_env: 24
211
+ ppo_shuffle_every_epoch: true
212
+ save_interval: 500
213
+ schedule: adaptive
214
+ std_clamp_max: 0.5
215
+ std_clamp_min: 0.001
216
+ sync_advantage_normalization: true
217
+ use_clampped_std: true
218
+ use_clipped_value_loss: true
219
+ use_new_actor_critic: true
220
+ use_padding_mask: false
221
+ value_loss_coef: 1.0
222
+ world_size: 128
223
+ env_config:
224
+ action_clip_value: 20.0
225
+ action_transform_module_cfg: null
226
+ action_transform_module_checkpoint: null
227
+ decimation: 4
228
+ env_spacing: 2.0
229
+ episode_length_s: 10.0
230
+ eval_camera_offset:
231
+ - 2
232
+ - 2
233
+ - 1
234
+ experiment_dir: !!python/object/apply:pathlib.PosixPath
235
+ - models
236
+ - '0227'
237
+ - logs_rl
238
+ - TRL_G1_Track
239
+ - manager
240
+ - universal_token
241
+ - all_modes
242
+ - sonic_sm_3pt_heading_hh-20260203_131215
243
+ headless: true
244
+ meta_action_dim: null
245
+ num_envs: 1
246
+ object_mass: null
247
+ obs:
248
+ group_obs_dims:
249
+ tokenizer:
250
+ command_multi_future_lower_body:
251
+ - 240
252
+ command_multi_future_nonflat:
253
+ - 10
254
+ - 58
255
+ command_z:
256
+ - 1
257
+ command_z_multi_future_nonflat:
258
+ - 10
259
+ - 1
260
+ encoder_index:
261
+ - 3
262
+ joint_pos_multi_future_wrist_for_smpl:
263
+ - 10
264
+ - 6
265
+ motion_anchor_ori_heading:
266
+ - 6
267
+ motion_anchor_ori_heading_mf_nonflat:
268
+ - 10
269
+ - 6
270
+ smpl_joints_multi_future_local_nonflat:
271
+ - 10
272
+ - 72
273
+ smpl_root_ori_heading_multi_future:
274
+ - 10
275
+ - 6
276
+ vr_3point_local_orn_target:
277
+ - 12
278
+ vr_3point_local_target:
279
+ - 9
280
+ group_obs_names:
281
+ tokenizer:
282
+ - encoder_index
283
+ - command_multi_future_nonflat
284
+ - command_z_multi_future_nonflat
285
+ - command_z
286
+ - motion_anchor_ori_heading_mf_nonflat
287
+ - motion_anchor_ori_heading
288
+ - command_multi_future_lower_body
289
+ - vr_3point_local_target
290
+ - vr_3point_local_orn_target
291
+ - smpl_joints_multi_future_local_nonflat
292
+ - smpl_root_ori_heading_multi_future
293
+ - joint_pos_multi_future_wrist_for_smpl
294
+ obs_dict: {}
295
+ obs_dims:
296
+ actor_obs: 930
297
+ critic_obs: 1645
298
+ tokenizer: 1761
299
+ render_results: false
300
+ rewards:
301
+ num_critics: 1
302
+ robot:
303
+ actions_dim: 29
304
+ algo_obs_dim_dict:
305
+ actor_obs: 930
306
+ critic_obs: 1645
307
+ tokenizer: 1761
308
+ type: g1_model_12_dex
309
+ save_rendering_dir: models/0227/logs_rl/TRL_G1_Track/manager/universal_token/all_modes/sonic_sm_3pt_heading_hh-20260203_131215/renderings_training
310
+ sim_dt: 0.005
311
+ table_offset: null
312
+ terrain_type: trimesh
313
+ train_only_events:
314
+ - push_robot
315
+ - compliance_force_push
316
+ viewer_eye:
317
+ - 4.5
318
+ - 0.0
319
+ - 6.0
320
+ viewer_lookat:
321
+ - 0.0
322
+ - 0.0
323
+ - 2.0
checkpoint/SONIC/models/terrain_stairs/config.yaml ADDED
@@ -0,0 +1,809 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ num_gpus: 1
2
+ max_retries: 1
3
+ seed: 0
4
+ codebase_version: 1.0
5
+ headless: true
6
+ num_envs: 1024
7
+ auto_load_latest: false
8
+ checkpoint: null
9
+ project_name: TRL_G1_Track
10
+ experiment_name: ${exp_base}_${exp_var}
11
+ base_dir: logs_rl
12
+ timestamp: ${now:%Y%m%d_%H%M%S}
13
+ experiment_dir: logs_rl/TRL_G1_Track/manager/universal_token/all_modes/sonic_single_hmap_proj_terrain_obj_tnfh_stairs_hmap_obj_full_nodr_2604190246-20260420_184200
14
+ save_dir: ${experiment_dir}/.hydra
15
+ force_flat_terrain: false
16
+ use_wandb: true
17
+ log_task_name: TEST
18
+ multi_gpu: true
19
+ global_rank: 0
20
+ sim_type: isaacsim
21
+ env_spacing: 20
22
+ output_dir: ${experiment_dir}/output
23
+ eval_overrides:
24
+ headless: false
25
+ num_envs: 1
26
+ auto_load_latest: false
27
+ use_wandb: false
28
+ algo:
29
+ trl:
30
+ dataset_name: dummy
31
+ output_dir: logs_rl/TRL_G1_Track/manager/universal_token/all_modes/sonic_single_hmap_proj_terrain_obj_tnfh_stairs_hmap_obj_full_nodr_2604190246-20260420_184200
32
+ learning_rate: ${algo.config.actor_learning_rate}
33
+ num_total_batches: ${algo.config.num_learning_iterations}
34
+ total_episodes: null
35
+ num_ppo_epochs: ${algo.config.num_learning_epochs}
36
+ num_mini_batches: ${algo.config.num_mini_batches}
37
+ per_device_train_batch_size: null
38
+ gradient_accumulation_steps: 1
39
+ report_to: none
40
+ gamma: ${algo.config.gamma}
41
+ lam: ${algo.config.lam}
42
+ vf_coef: ${algo.config.value_loss_coef}
43
+ max_grad_norm: ${algo.config.max_grad_norm}
44
+ lr_scheduler_type: constant
45
+ save_strategy: 'no'
46
+ disable_tqdm: true
47
+ config:
48
+ critic:
49
+ _target_: groot.rl.trl.modules.actor_critic_modules.Critic
50
+ running_mean_std: true
51
+ backbone:
52
+ _target_: groot.rl.trl.modules.base_module.BaseModule
53
+ process_output_dim: true
54
+ module_config_dict:
55
+ type: MLP
56
+ input_dim:
57
+ - critic_obs
58
+ output_dim:
59
+ - 1
60
+ layer_config:
61
+ type: MLP
62
+ hidden_dims:
63
+ - 2048
64
+ - 2048
65
+ - 1024
66
+ - 1024
67
+ - 512
68
+ - 512
69
+ activation: SiLU
70
+ actor:
71
+ backbone:
72
+ quantizer:
73
+ _target_: vector_quantize_pytorch.FSQ
74
+ encoders:
75
+ g1:
76
+ inputs:
77
+ - command_multi_future_nonflat
78
+ - motion_anchor_ori_b_mf_nonflat
79
+ - height_map_z_flat
80
+ params:
81
+ _target_: groot.rl.trl.modules.base_module.BaseModule
82
+ input_dim: null
83
+ output_dim: null
84
+ num_input_temporal_dims: ${manager_env.commands.motion.num_future_frames}
85
+ num_output_temporal_dims: ${algo.config.actor.backbone.max_num_tokens}
86
+ module_config_dict:
87
+ layer_config:
88
+ type: MLP
89
+ hidden_dims:
90
+ - 2048
91
+ - 1024
92
+ - 512
93
+ - 512
94
+ activation: SiLU
95
+ input_projectors:
96
+ height_map_z_flat:
97
+ type: conv2d
98
+ input_shape:
99
+ - 1
100
+ - 11
101
+ - 11
102
+ channels:
103
+ - 16
104
+ - 32
105
+ kernel_sizes:
106
+ - 3
107
+ - 3
108
+ strides:
109
+ - 1
110
+ - 1
111
+ paddings:
112
+ - 1
113
+ - 1
114
+ use_maxpool: true
115
+ hidden_dims:
116
+ - 128
117
+ output_dim: 128
118
+ activation: ReLU
119
+ decoders:
120
+ g1_dyn:
121
+ inputs:
122
+ - token_flattened
123
+ - proprioception
124
+ outputs:
125
+ - action
126
+ has_temporal_dim: false
127
+ params:
128
+ _target_: groot.rl.trl.modules.base_module.BaseModule
129
+ input_dim: null
130
+ output_dim: null
131
+ num_input_temporal_dims: null
132
+ num_output_temporal_dims: null
133
+ module_config_dict:
134
+ layer_config:
135
+ type: MLP
136
+ hidden_dims:
137
+ - 2048
138
+ - 2048
139
+ - 1024
140
+ - 1024
141
+ - 512
142
+ - 512
143
+ activation: SiLU
144
+ g1_kin:
145
+ inputs:
146
+ - token
147
+ outputs:
148
+ - command_multi_future_nonflat
149
+ - motion_anchor_ori_b_mf_nonflat
150
+ has_temporal_dim: true
151
+ params:
152
+ _target_: groot.rl.trl.modules.base_module.BaseModule
153
+ input_dim: null
154
+ output_dim: null
155
+ num_input_temporal_dims: ${algo.config.actor.backbone.max_num_tokens}
156
+ num_output_temporal_dims: ${manager_env.commands.motion.num_future_frames}
157
+ module_config_dict:
158
+ layer_config:
159
+ type: MLP
160
+ hidden_dims:
161
+ - 2048
162
+ - 1024
163
+ - 512
164
+ - 512
165
+ activation: SiLU
166
+ _target_: groot.rl.trl.modules.universal_token_modules.UniversalTokenModule
167
+ num_future_frames: ${manager_env.commands.motion.num_future_frames}
168
+ proprioception_features:
169
+ - actor_obs
170
+ encoder_sample_probs: ${manager_env.commands.motion.encoder_sample_probs}
171
+ num_fsq_levels: 32
172
+ fsq_level_list: 32
173
+ max_num_tokens: 2
174
+ aux_loss_func:
175
+ g1_recon:
176
+ _target_: groot.rl.trl.losses.token_losses.G1ReconLoss
177
+ loss_type: mse
178
+ aux_loss_coef:
179
+ g1_recon: 0.01
180
+ _target_: groot.rl.trl.modules.actor_critic_modules.Actor
181
+ running_mean_std: false
182
+ input_obs_dict: true
183
+ has_aux_loss: true
184
+ num_learning_epochs: 5
185
+ num_mini_batches: 4
186
+ clip_param: 0.2
187
+ gamma: 0.99
188
+ lam: 0.95
189
+ value_loss_coef: 1.0
190
+ entropy_coef: 0.01
191
+ actor_learning_rate: 2.0e-05
192
+ critic_learning_rate: 0.001
193
+ max_grad_norm: 0.1
194
+ use_clipped_value_loss: true
195
+ schedule: adaptive
196
+ desired_kl: 0.01
197
+ adaptive_lr_min: 1.0e-05
198
+ adaptive_lr_max: 0.0002
199
+ use_new_actor_critic: true
200
+ use_padding_mask: false
201
+ ppo_shuffle_every_epoch: true
202
+ sync_advantage_normalization: true
203
+ empty_cache_every_n_ppo_epoch: -1
204
+ num_steps_per_env: 24
205
+ save_interval: 500
206
+ eval_frequency: 500
207
+ load_optimizer: true
208
+ init_noise_std: 0.05
209
+ num_learning_iterations: 30000
210
+ init_at_random_ep_len: true
211
+ eval_callbacks:
212
+ analysis_plot_cb:
213
+ _target_: groot.rl.agents.callbacks.analysis_plot_motion_tracking.AnalysisPlotMotionTracking
214
+ config:
215
+ sim_dt: 0.02
216
+ log_single_robot: false
217
+ plot_update_interval: 100
218
+ compute_metrics: true
219
+ use_weblogger: false
220
+ global_rank: 0
221
+ world_size: 64
222
+ use_clampped_std: true
223
+ std_clamp_min: 0.001
224
+ std_clamp_max: 0.5
225
+ _target_: groot.rl.agents.ppo.ppo_im.PPOIM
226
+ _recursive_: false
227
+ env: ???
228
+ terrain: ???
229
+ callbacks:
230
+ model_save:
231
+ _target_: groot.rl.trl.callbacks.model_save_callback.ModelSaveCallback
232
+ save_dir: ${experiment_dir}
233
+ save_frequency: 500
234
+ max_disk_usage: 14.8
235
+ wandb:
236
+ _target_: groot.rl.trl.callbacks.wandb_callback.WandbCallback
237
+ read_eval:
238
+ _target_: groot.rl.trl.callbacks.read_eval_callback.ReadEvalCallback
239
+ eval_dir: ${experiment_dir}/eval
240
+ check_interval: 1
241
+ im_resample:
242
+ _target_: groot.rl.trl.callbacks.im_resample_callback.ImResampleCallback
243
+ motion_resample_frequency: 250
244
+ trainer:
245
+ _target_: groot.rl.trl.trainer.ppo_trainer_aux_loss.TRLAuxLossPPOTrainer
246
+ wandb:
247
+ wandb_project: null
248
+ wandb_tags: online
249
+ wandb_group: tnfh_stairs_hmap_obj_full_nodr_2604190246
250
+ wandb_id: null
251
+ wandb_entity: null
252
+ wandb_dir: /tmp
253
+ manager_env:
254
+ commands:
255
+ motion:
256
+ encoder_sample_probs:
257
+ g1: 1.0
258
+ teleop: 1.0
259
+ smpl: 1.0
260
+ _target_: groot.rl.envs.manager_env.mdp.commands.TrackingCommandCfg
261
+ asset_name: robot
262
+ motion_lib_cfg:
263
+ motion_file: /mnt/amlfs-04/home/yey/repo/gr00t-locomanip-internal/data/motion_lib_genhoi/st005_0408/robot
264
+ smpl_motion_file: dummy
265
+ asset:
266
+ assetRoot: groot/rl/data/assets/bm/unitree_description/mjcf/
267
+ assetFileName: g1_29dof_rev_1_0.xml
268
+ urdfFileName: ''
269
+ extend_config: []
270
+ target_fps: 50
271
+ multi_thread: true
272
+ filter_motion_keys: null
273
+ adaptive_sampling:
274
+ enable: false
275
+ bin_size: 50
276
+ sequence_length_agnostic: true
277
+ init_num_failures: 1
278
+ uniform_sampling_rate: 0.1
279
+ pre_failure_sample_window: 200
280
+ use_failure_rate_decay: false
281
+ decay_gamma: 0.8
282
+ adp_samp_failure_rate_max_over_mean: 200
283
+ upper_body_augment_prefixes:
284
+ - '2025'
285
+ - sonic_mixed_walking_running
286
+ - sonic_squating_different_height_switching
287
+ - sonic_running
288
+ - sonic_walking
289
+ - sonic_squating_different_height_hold
290
+ - sonic_walking_other_style
291
+ - balance
292
+ smpl_y_up: true
293
+ object_motion_file: /mnt/amlfs-04/home/yey/repo/gr00t-locomanip-internal/data/motion_lib_genhoi/st005_0408/objects
294
+ resampling_time_range:
295
+ - 1000000000.0
296
+ - 1000000000.0
297
+ debug_vis: true
298
+ dt_future_ref_frames: 0.1
299
+ num_future_frames: 10
300
+ pose_range:
301
+ x:
302
+ - 0
303
+ - 0
304
+ 'y':
305
+ - 0
306
+ - 0
307
+ z:
308
+ - 0
309
+ - 0
310
+ roll:
311
+ - 0
312
+ - 0
313
+ pitch:
314
+ - 0
315
+ - 0
316
+ yaw:
317
+ - 0
318
+ - 0
319
+ velocity_range:
320
+ x:
321
+ - 0
322
+ - 0
323
+ 'y':
324
+ - 0
325
+ - 0
326
+ z:
327
+ - 0
328
+ - 0
329
+ roll:
330
+ - 0
331
+ - 0
332
+ pitch:
333
+ - 0
334
+ - 0
335
+ yaw:
336
+ - 0
337
+ - 0
338
+ joint_position_range:
339
+ - 0
340
+ - 0
341
+ joint_velocity_range:
342
+ - 0
343
+ - 0
344
+ anchor_body: pelvis
345
+ vr_3point_body:
346
+ - left_wrist_yaw_link
347
+ - right_wrist_yaw_link
348
+ - torso_link
349
+ vr_3point_body_offset:
350
+ - - 0.18
351
+ - -0.025
352
+ - 0.0
353
+ - - 0.18
354
+ - 0.025
355
+ - 0.0
356
+ - - 0.0
357
+ - 0.0
358
+ - 0.35
359
+ reward_point_body:
360
+ - torso_link
361
+ - left_wrist_yaw_link
362
+ - right_wrist_yaw_link
363
+ - left_ankle_roll_link
364
+ - right_ankle_roll_link
365
+ reward_point_body_offset:
366
+ - - 0.0
367
+ - 0.0
368
+ - 0.5
369
+ - - 0.0
370
+ - -0.0
371
+ - 0.0
372
+ - - 0.0
373
+ - -0.0
374
+ - 0.0
375
+ - - 0.0
376
+ - 0.0
377
+ - 0.0
378
+ - - 0.0
379
+ - 0.0
380
+ - 0.0
381
+ body_names:
382
+ - pelvis
383
+ - left_hip_roll_link
384
+ - left_knee_link
385
+ - left_ankle_roll_link
386
+ - right_hip_roll_link
387
+ - right_knee_link
388
+ - right_ankle_roll_link
389
+ - torso_link
390
+ - left_shoulder_roll_link
391
+ - left_elbow_link
392
+ - left_wrist_yaw_link
393
+ - right_shoulder_roll_link
394
+ - right_elbow_link
395
+ - right_wrist_yaw_link
396
+ use_height_map: true
397
+ smpl_num_future_frames: 10
398
+ smpl_dt_future_ref_frames: 0.02
399
+ cat_upper_body_poses: true
400
+ cat_upper_body_poses_prob: 0.5
401
+ terrain_aware_sampling: false
402
+ flat_to_terrain_ratio: 3
403
+ init_z_offset: 0.05
404
+ use_paired_motions: true
405
+ _target_: groot.rl.envs.manager_env.mdp.commands.CommandsCfg
406
+ actions:
407
+ joint_pos:
408
+ _target_: isaaclab.envs.mdp.actions.JointPositionActionCfg
409
+ asset_name: robot
410
+ joint_names:
411
+ - .*
412
+ use_default_offset: true
413
+ _target_: groot.rl.envs.manager_env.mdp.actions.ActionsCfg
414
+ observations:
415
+ policy:
416
+ gravity_dir:
417
+ _target_: isaaclab.managers.ObservationTermCfg
418
+ func: groot.rl.envs.manager_env.mdp:gravity_dir
419
+ params:
420
+ command_name: motion
421
+ history_length: ${actor_prop_history_length}
422
+ noise:
423
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
424
+ n_min: -0.05
425
+ n_max: 0.05
426
+ base_ang_vel:
427
+ _target_: isaaclab.managers.ObservationTermCfg
428
+ func: groot.rl.envs.manager_env.mdp:base_ang_vel
429
+ history_length: ${actor_prop_history_length}
430
+ noise:
431
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
432
+ n_min: -0.2
433
+ n_max: 0.2
434
+ joint_pos:
435
+ _target_: isaaclab.managers.ObservationTermCfg
436
+ func: groot.rl.envs.manager_env.mdp:joint_pos_rel
437
+ history_length: ${actor_prop_history_length}
438
+ noise:
439
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
440
+ n_min: -0.01
441
+ n_max: 0.01
442
+ joint_vel:
443
+ _target_: isaaclab.managers.ObservationTermCfg
444
+ func: groot.rl.envs.manager_env.mdp:joint_vel_rel
445
+ history_length: ${actor_prop_history_length}
446
+ noise:
447
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
448
+ n_min: -0.5
449
+ n_max: 0.5
450
+ actions:
451
+ _target_: isaaclab.managers.ObservationTermCfg
452
+ func: groot.rl.envs.manager_env.mdp:last_action
453
+ history_length: ${actor_actions_history_length}
454
+ object_pos_b:
455
+ _target_: isaaclab.managers.ObservationTermCfg
456
+ func: groot.rl.envs.manager_env.mdp:object_pos_b
457
+ params:
458
+ command_name: motion
459
+ noise: null
460
+ object_ori_b_6d:
461
+ _target_: isaaclab.managers.ObservationTermCfg
462
+ func: groot.rl.envs.manager_env.mdp:object_ori_b_6d
463
+ params:
464
+ command_name: motion
465
+ noise: null
466
+ object_pos_delta_multi_future:
467
+ _target_: isaaclab.managers.ObservationTermCfg
468
+ func: groot.rl.envs.manager_env.mdp:object_pos_delta_multi_future
469
+ params:
470
+ command_name: motion
471
+ noise:
472
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
473
+ n_min: -0.02
474
+ n_max: 0.02
475
+ object_ori_delta_multi_future_6d:
476
+ _target_: isaaclab.managers.ObservationTermCfg
477
+ func: groot.rl.envs.manager_env.mdp:object_ori_delta_multi_future_6d
478
+ params:
479
+ command_name: motion
480
+ noise:
481
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
482
+ n_min: -0.02
483
+ n_max: 0.02
484
+ _target_: groot.rl.envs.manager_env.mdp.observations.PolicyCfg
485
+ enable_corruption: false
486
+ concatenate_terms: true
487
+ critic:
488
+ command_multi_future:
489
+ _target_: isaaclab.managers.ObservationTermCfg
490
+ func: groot.rl.envs.manager_env.mdp:command_multi_future
491
+ params:
492
+ command_name: motion
493
+ motion_anchor_pos_b:
494
+ _target_: isaaclab.managers.ObservationTermCfg
495
+ func: groot.rl.envs.manager_env.mdp:motion_anchor_pos_b
496
+ params:
497
+ command_name: motion
498
+ motion_anchor_ori_b:
499
+ _target_: isaaclab.managers.ObservationTermCfg
500
+ func: groot.rl.envs.manager_env.mdp:motion_anchor_ori_b
501
+ params:
502
+ command_name: motion
503
+ body_pos:
504
+ _target_: isaaclab.managers.ObservationTermCfg
505
+ func: groot.rl.envs.manager_env.mdp:robot_body_pos_b
506
+ params:
507
+ command_name: motion
508
+ body_ori:
509
+ _target_: isaaclab.managers.ObservationTermCfg
510
+ func: groot.rl.envs.manager_env.mdp:robot_body_ori_b
511
+ params:
512
+ command_name: motion
513
+ base_lin_vel:
514
+ _target_: isaaclab.managers.ObservationTermCfg
515
+ func: groot.rl.envs.manager_env.mdp:base_lin_vel
516
+ history_length: ${critic_prop_history_length}
517
+ base_ang_vel:
518
+ _target_: isaaclab.managers.ObservationTermCfg
519
+ func: groot.rl.envs.manager_env.mdp:base_ang_vel
520
+ history_length: ${critic_prop_history_length}
521
+ joint_pos:
522
+ _target_: isaaclab.managers.ObservationTermCfg
523
+ func: groot.rl.envs.manager_env.mdp:joint_pos_rel
524
+ history_length: ${critic_prop_history_length}
525
+ joint_vel:
526
+ _target_: isaaclab.managers.ObservationTermCfg
527
+ func: groot.rl.envs.manager_env.mdp:joint_vel_rel
528
+ history_length: ${critic_prop_history_length}
529
+ actions:
530
+ _target_: isaaclab.managers.ObservationTermCfg
531
+ func: groot.rl.envs.manager_env.mdp:last_action
532
+ history_length: ${critic_actions_history_length}
533
+ object_pos_b:
534
+ _target_: isaaclab.managers.ObservationTermCfg
535
+ func: groot.rl.envs.manager_env.mdp:object_pos_b
536
+ params:
537
+ command_name: motion
538
+ object_ori_b_6d:
539
+ _target_: isaaclab.managers.ObservationTermCfg
540
+ func: groot.rl.envs.manager_env.mdp:object_ori_b_6d
541
+ params:
542
+ command_name: motion
543
+ object_pos_delta_multi_future:
544
+ _target_: isaaclab.managers.ObservationTermCfg
545
+ func: groot.rl.envs.manager_env.mdp:object_pos_delta_multi_future
546
+ params:
547
+ command_name: motion
548
+ object_ori_delta_multi_future_6d:
549
+ _target_: isaaclab.managers.ObservationTermCfg
550
+ func: groot.rl.envs.manager_env.mdp:object_ori_delta_multi_future_6d
551
+ params:
552
+ command_name: motion
553
+ _target_: groot.rl.envs.manager_env.mdp.observations.PrivilegedCfg
554
+ tokenizer:
555
+ encoder_index:
556
+ _target_: isaaclab.managers.ObservationTermCfg
557
+ func: groot.rl.envs.manager_env.mdp:get_command_obs
558
+ params:
559
+ command_name: motion
560
+ obs_name: episode_encoder_index
561
+ command_multi_future_nonflat:
562
+ _target_: isaaclab.managers.ObservationTermCfg
563
+ func: groot.rl.envs.manager_env.mdp:command_multi_future
564
+ params:
565
+ command_name: motion
566
+ non_flatten: true
567
+ command_z_multi_future_nonflat:
568
+ _target_: isaaclab.managers.ObservationTermCfg
569
+ func: groot.rl.envs.manager_env.mdp:command_z_multi_future
570
+ params:
571
+ command_name: motion
572
+ non_flatten: true
573
+ motion_anchor_ori_b_mf_nonflat:
574
+ _target_: isaaclab.managers.ObservationTermCfg
575
+ func: groot.rl.envs.manager_env.mdp:motion_anchor_ori_b_mf
576
+ params:
577
+ command_name: motion
578
+ non_flatten: true
579
+ noise:
580
+ _target_: isaaclab.utils.noise.AdditiveUniformNoiseCfg
581
+ n_min: -0.05
582
+ n_max: 0.05
583
+ height_map_z_flat:
584
+ _target_: isaaclab.managers.ObservationTermCfg
585
+ func: groot.rl.envs.manager_env.mdp.observations:height_map_z_flat
586
+ params:
587
+ command_name: motion
588
+ random: false
589
+ _target_: groot.rl.envs.manager_env.mdp.observations.TokenizerCfg
590
+ enable_corruption: false
591
+ concatenate_terms: false
592
+ _target_: groot.rl.envs.manager_env.mdp.observations.ObservationsCfg
593
+ rewards:
594
+ tracking_anchor_pos:
595
+ _target_: isaaclab.managers.RewardTermCfg
596
+ func: groot.rl.envs.manager_env.mdp:tracking_anchor_pos_error
597
+ weight: 0.5
598
+ params:
599
+ command_name: motion
600
+ std: 0.3
601
+ tracking_anchor_ori:
602
+ _target_: isaaclab.managers.RewardTermCfg
603
+ func: groot.rl.envs.manager_env.mdp:tracking_anchor_ori_error
604
+ weight: 0.5
605
+ params:
606
+ command_name: motion
607
+ std: 0.4
608
+ tracking_relative_body_pos:
609
+ _target_: isaaclab.managers.RewardTermCfg
610
+ func: groot.rl.envs.manager_env.mdp:tracking_relative_body_pos_error
611
+ weight: 1.0
612
+ params:
613
+ command_name: motion
614
+ std: 0.3
615
+ tracking_relative_body_ori:
616
+ _target_: isaaclab.managers.RewardTermCfg
617
+ func: groot.rl.envs.manager_env.mdp:tracking_relative_body_ori_error
618
+ weight: 1.0
619
+ params:
620
+ command_name: motion
621
+ std: 0.4
622
+ tracking_body_linvel:
623
+ _target_: isaaclab.managers.RewardTermCfg
624
+ func: groot.rl.envs.manager_env.mdp:tracking_body_linvel_error
625
+ weight: 1.0
626
+ params:
627
+ command_name: motion
628
+ std: 1.0
629
+ tracking_body_angvel:
630
+ _target_: isaaclab.managers.RewardTermCfg
631
+ func: groot.rl.envs.manager_env.mdp:tracking_body_angvel_error
632
+ weight: 1.0
633
+ params:
634
+ command_name: motion
635
+ std: 3.14
636
+ action_rate_l2:
637
+ _target_: isaaclab.managers.RewardTermCfg
638
+ func: groot.rl.envs.manager_env.mdp:action_rate_l2
639
+ weight: -0.1
640
+ joint_limit:
641
+ _target_: isaaclab.managers.RewardTermCfg
642
+ func: groot.rl.envs.manager_env.mdp:joint_pos_limits
643
+ weight: -10.0
644
+ params:
645
+ asset_cfg:
646
+ _target_: isaaclab.managers.SceneEntityCfg
647
+ name: robot
648
+ joint_names:
649
+ - .*
650
+ undesired_contacts:
651
+ _target_: isaaclab.managers.RewardTermCfg
652
+ func: groot.rl.envs.manager_env.mdp:undesired_contacts
653
+ weight: -0.1
654
+ params:
655
+ sensor_cfg:
656
+ _target_: isaaclab.managers.SceneEntityCfg
657
+ name: contact_forces
658
+ body_names:
659
+ - ^(?!left_ankle_roll_link$)(?!right_ankle_roll_link$)(?!left_wrist_yaw_link$)(?!right_wrist_yaw_link$)(?!left_elbow_link$)(?!right_elbow_link$).+$
660
+ threshold: 1.0
661
+ anti_shake_ang_vel:
662
+ _target_: isaaclab.managers.RewardTermCfg
663
+ func: groot.rl.envs.manager_env.mdp:anti_shake_ang_vel_l2
664
+ weight: -0.005
665
+ params:
666
+ command_name: motion
667
+ threshold: 1.5
668
+ body_names:
669
+ - left_wrist_yaw_link
670
+ - right_wrist_yaw_link
671
+ - head_link
672
+ tracking_vr_5point_local:
673
+ _target_: isaaclab.managers.RewardTermCfg
674
+ func: groot.rl.envs.manager_env.mdp:tracking_local_vr_5point_error
675
+ weight: 2.0
676
+ params:
677
+ command_name: motion
678
+ std: 0.1
679
+ feet_acc:
680
+ _target_: isaaclab.managers.RewardTermCfg
681
+ func: groot.rl.envs.manager_env.mdp:joint_acc_l2
682
+ weight: -2.5e-07
683
+ params:
684
+ asset_cfg:
685
+ _target_: isaaclab.managers.SceneEntityCfg
686
+ name: robot
687
+ joint_names:
688
+ - .*ankle.*
689
+ _target_: groot.rl.envs.manager_env.mdp.rewards.RewardsCfg
690
+ terminations:
691
+ anchor_pos:
692
+ _target_: isaaclab.managers.TerminationTermCfg
693
+ func: groot.rl.envs.manager_env.mdp:exceeded_anchor_height
694
+ params:
695
+ command_name: motion
696
+ threshold: 0.15
697
+ threshold_adaptive: true
698
+ down_threshold: 0.75
699
+ root_height_threshold: 0.5
700
+ anchor_ori_full:
701
+ _target_: isaaclab.managers.TerminationTermCfg
702
+ func: groot.rl.envs.manager_env.mdp:exceeded_anchor_ori
703
+ params:
704
+ asset_cfg:
705
+ _target_: isaaclab.managers.SceneEntityCfg
706
+ name: robot
707
+ command_name: motion
708
+ threshold: 0.2
709
+ ee_body_pos:
710
+ _target_: isaaclab.managers.TerminationTermCfg
711
+ func: groot.rl.envs.manager_env.mdp:exceeded_body_height
712
+ params:
713
+ command_name: motion
714
+ threshold: 0.15
715
+ threshold_adaptive: true
716
+ down_threshold: 0.75
717
+ root_height_threshold: 0.5
718
+ body_names:
719
+ - left_ankle_roll_link
720
+ - right_ankle_roll_link
721
+ - left_wrist_yaw_link
722
+ - right_wrist_yaw_link
723
+ time_out:
724
+ _target_: isaaclab.managers.TerminationTermCfg
725
+ func: groot.rl.envs.manager_env.mdp:tracking_time_out
726
+ time_out: true
727
+ params:
728
+ command_name: motion
729
+ foot_pos_xyz:
730
+ _target_: isaaclab.managers.TerminationTermCfg
731
+ func: groot.rl.envs.manager_env.mdp:exceeded_body_pos
732
+ params:
733
+ command_name: motion
734
+ threshold: 0.2
735
+ body_names:
736
+ - left_ankle_roll_link
737
+ - right_ankle_roll_link
738
+ _target_: groot.rl.envs.manager_env.mdp.terminations.TerminationsCfg
739
+ events:
740
+ physics_material: null
741
+ add_joint_default_pos: null
742
+ base_com: null
743
+ push_robot: null
744
+ randomize_rigid_body_mass: null
745
+ _target_: groot.rl.envs.manager_env.mdp.events.EventCfg
746
+ curriculum:
747
+ _target_: groot.rl.envs.manager_env.mdp.curriculum.CurriculumCfg
748
+ recorders:
749
+ _target_: groot.rl.envs.manager_env.mdp.recorders.RecordersCfg
750
+ _target_: groot.rl.envs.manager_env.modular_tracking_env_cfg.ModularTrackingEnvCfg
751
+ config:
752
+ num_envs: ${num_envs}
753
+ env_spacing: 10.0
754
+ decimation: 4
755
+ episode_length_s: 10.0
756
+ sim_dt: 0.005
757
+ viewer_eye:
758
+ - 4.5
759
+ - 0.0
760
+ - 6.0
761
+ viewer_lookat:
762
+ - 0.0
763
+ - 0.0
764
+ - 2.0
765
+ render_results: false
766
+ save_rendering_dir: ${experiment_dir}/renderings_training
767
+ experiment_dir: ${experiment_dir}
768
+ terrain_type: plane
769
+ object_mass: null
770
+ table_offset: null
771
+ eval_camera_offset:
772
+ - 2
773
+ - 2
774
+ - 1
775
+ action_transform_module_cfg: null
776
+ action_transform_module_checkpoint: null
777
+ meta_action_dim: null
778
+ needs_policy_atm: true
779
+ obs:
780
+ obs_dict: {}
781
+ obs_dims: {}
782
+ group_obs_dims: {}
783
+ group_obs_names: {}
784
+ action_clip_value: 20.0
785
+ robot:
786
+ type: g1_model_12
787
+ algo_obs_dim_dict: {}
788
+ rewards:
789
+ num_critics: 1
790
+ train_only_events:
791
+ - push_robot
792
+ - compliance_force_push
793
+ add_object: true
794
+ terrain_motion_dir: /mnt/amlfs-04/home/yey/repo/gr00t-locomanip-internal/data/motion_lib_genhoi/st005_0408
795
+ terrain_usd_path: null
796
+ terrain_motion_keys_path: null
797
+ flat_motion_dir: null
798
+ flat_motion_keys_path: null
799
+ flat_usd_path: null
800
+ flat_to_terrain_ratio: 0
801
+ enable_depth_camera: false
802
+ safe_nan: true
803
+ use_manager_env: true
804
+ exp_base: ${hydra:runtime.choices.exp}
805
+ exp_var: tnfh_stairs_hmap_obj_full_nodr_2604190246
806
+ actor_prop_history_length: 10
807
+ actor_actions_history_length: 10
808
+ critic_prop_history_length: 10
809
+ critic_actions_history_length: 10
checkpoint/SONIC/models/terrain_stairs/last.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9af1354d104aef73837daf7d6f7fa9b8f77b356c457c7aa513faa6e2737df91f
3
+ size 388073846