Repository navigation
Commit b656a03
feat: add motion imitation tracking for G1 humanoid
Migrate motion tracking implementation from mjlab to UniLab architecture.
Adapts BeyondMimic-style motion imitation to UniLab's non-manager based
environment system with CPU simulation and GPU training.
Key components:
- Math utilities for quaternion operations and transforms
- Motion loader with adaptive/uniform/start sampling modes
- G1 motion tracking environment with exponential reward functions
- MuJoCo backend extensions for body state access
- CSV to NPZ motion preprocessing script
Architecture differences from mjlab:
- Direct NpEnv inheritance vs manager-based system
- CPU MuJoCo simulation vs GPU MuJoCo-Warp
- Decorator-based registration vs automatic config registration
- Inline reward/observation computation vs manager terms
Training config: 4096 envs, 30k iterations, 50 Hz control
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a1030ea commit b656a03
9 files changed
Lines changed: 1750 additions & 3 deletions
File tree
- scripts/motion
- unilab
- base/backend
- config
- envs/locomotion/g1
- motion_tracking
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
0 commit comments