Repository navigation
Add G1 whole-body motion tracking with Newton - #8878
Conversation
[Medium impact] The PR adds a new G1 training workflow and an optional shared reward. End episodes at clip boundaries before merging so training does not continue across robot teleports. FindingsSummaryAdds
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Named motion data] --> B[Motion command]
B --> C[Policy observations]
C --> D[RSL-RL action]
D --> E[Four Newton physics steps]
E --> F[Contact history]
E --> G[Tracking rewards and episode checks]
F --> G
G --> H[Reset finished episodes]
H --> B
Reviews (1) · Last reviewed commit: "Add G1 whole-body motion tracking with N..." · Reviewed by Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: API (1), Style consistency (4). Other reviewed categories look good.
- PR description: Body matches scope but omits physics-rate scene updates and exact validation commands; add reproducible baseline/candidate throughput with revisions, workload, hardware, backend, environment count, warmup, and steps/second.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: The public self_collision_cost alone bypasses the established SceneEntityCfg contact-term contract, losing manager entity resolution and body selection; accept sensor_cfg instead of sensor_name.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: Implementation looks good.
- Style consistency: MotionCommandCfg eagerly binds its runtime class, making configuration imports load implementation dependencies; move it to a config-only module and use a resolvable class_type string.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 5 inline findings.
Automated review; human maintainers own approval decisions.
StafaH
left a comment
There was a problem hiding this comment.
Hi @Double7sBurger, please move all the data to the server and fetch it like how other assets are fetched, that will avoid having the data in the repository directly.
Yes! That's what I was thinking. Doing it now. |
ooctipus
left a comment
There was a problem hiding this comment.
please check the tracking_env.py is needed
b658fa8 to
fa14f86
Compare
maxkra15
left a comment
There was a problem hiding this comment.
All six motion clips are available from the asset server now. Could you update the setup notes and run Docker CI once the clip-boundary and alignment issues are addressed? Please clarify where sim-to-real is tracked.
|
run-ci |
|
run-ci |
|
run-ci |
Description
Adds
Isaac-Motion-Tracking-G1, a whole-body motion-tracking task using Newton and RSL-RL. Supports six server-hosted reference motions, separate actor and critic observations, adaptive motion sampling, and domain randomization.Also adds a reusable self-collision reward to the shared MDP rewards.
All six reference clips are available from the production asset server under
IsaacLab/Motions/G1/v1/. The loader downloads and caches the selected clip automatically; joint and body names are embedded in each NPZ. See the data format and provenance and SHA-256 checksums.Setup
Train the default spin-kick motion:
To select another clip, append
env.commands.motion.motion_file=<full NPZ URL>using the prefixhttps://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/6.2/Isaac/IsaacLab/Motions/G1/v1/. Available files:g1_spinkick.npz,g1_walk.npz,g1_run.npz,g1_cartwheel.npz,g1_speed_vault.npz, andg1_cr7_grounded.npz.Sim-to-real scope
Deployment work is maintained separately in g1_deploy. This PR covers the Isaac Lab simulation task, reference-data loading, and training/playback. Robot-side deployment and validation on hardware are outside this PR; the simulation checks below do not establish hardware validation of this revision.
Validation
uv run isaaclab --format).MotionLoaderfrom the production URL and local copies.