Skip to content

Add WBC-AGILE e2e velocity policy for G1#489

Draft
lgulich wants to merge 2 commits intorelease/0.1.1from
lgulich/add-agile-wbc-policy
Draft

Add WBC-AGILE e2e velocity policy for G1#489
lgulich wants to merge 2 commits intorelease/0.1.1from
lgulich/add-agile-wbc-policy

Conversation

@lgulich
Copy link
Collaborator

@lgulich lgulich commented Mar 20, 2026

Summary

  • Add G1AgilePolicy class integrating the WBC-AGILE end-to-end ONNX policy (unitree_g1_velocity_e2e.onnx) as a new lower-body WBC option alongside the existing Homie policy
  • The AGILE model takes raw sensor inputs and manages observation history internally via ONNX feedback connections, controlling 14 joints (legs + waist_roll/pitch)
  • Register "agile" as a new wbc_version in the policy factory with corresponding AgileConfig dataclass

Setup

The ONNX model binary must be obtained separately from https://github.com/nvidia-isaac/WBC-AGILE and placed at:

wbc_policy/models/agile/unitree_g1_velocity_e2e.onnx

Test plan

  • 16 unit tests passing (ONNX model verification, joint mapping correctness, policy integration with mock robot model, multi-env support, reset, multi-step feedback propagation)
  • Full simulation integration test with IsaacLab environment

🤖 Generated with Claude Code

@lgulich lgulich marked this pull request as draft March 20, 2026 09:47
Integrate the AGILE e2e ONNX policy (unitree_g1_velocity_e2e.onnx) as a new
lower-body WBC policy alongside the existing Homie policy. The AGILE model
takes raw sensor inputs and manages observation history internally via ONNX
feedback connections, controlling 14 joints (legs + waist_roll/pitch).

The ONNX model binary must be obtained separately from
https://github.com/nvidia-isaac/WBC-AGILE and placed at
wbc_policy/models/agile/unitree_g1_velocity_e2e.onnx

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lgulich lgulich force-pushed the lgulich/add-agile-wbc-policy branch from d859868 to 5ff5222 Compare March 20, 2026 09:49
Add docker/setup/download_wbc_models.sh that downloads and SHA256-verifies
the AGILE ONNX model from GitHub. The policy constructor now raises a clear
FileNotFoundError if the model is missing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant