by Drew Owens
Open-source 15-DoF XL330 biped goose robot with Spine molecule PCB, 3D-printed chassis, and Isaac Lab to MuJoCo sim-to-real RL stack
main
| Name | Last updated |
|---|---|
| contrib | |
| robots | |
| __init__.py | |
| install_into_isaaclab.sh | |
| microgoose_env_cfg.py | |
| randomizations.py | |
| README.md | |
| rewards.py | |
| rsl_rl_ppo_cfg.py |
Isaac Lab 3.0 & Newton Microgoose Task (isaaclab_microgoose)
Native GPU-parallel locomotion task and robot asset configuration for Microgoose, built directly on Isaac Lab 3.0 (kit-less), Newton 1.8 (MuJoCo-Warp), NVIDIA Warp, rsl_rl PPO with sagittal mirror symmetry augmentation, and Rhoban BAM m6 (XL330-M288-T) voltage-controlled servo dynamics.
Registered Environments
| Gymnasium ID | Terrain & Colliders | Policy I/O | Critic Obs | Control Rate |
|---|---|---|---|---|
IsaacContrib-Velocity-Flat-MicroGoose |
Flat ground, sole colliders (microgoose_walk.usda) |
[1, 64] -> [1, 15] |
79 floats |
50 Hz (4x decimation @ dt = 0.005 s) |
IsaacContrib-Velocity-Rough-MicroGoose |
Procedural rough terrain (microgoose_walk.usda) |
[1, 64] -> [1, 15] |
79 floats |
50 Hz (4x decimation @ dt = 0.005 s) |
*-Play variants |
Deterministic evaluation & ONNX export | [1, 64] -> [1, 15] |
79 floats |
50 Hz |
Observation & Action Contract (64 -> 15)
- Policy Observations (
64floats):[0:3]: Body-frame angular velocitybase_ang_vel(rad/s, 1-step lag)[3:6]: Body-frame projected gravityprojected_gravity(1-step lag)[6:21]: Joint position residualsjoint_pos - default_joint_pos(15joints in hardwaredxlId1..15order,1-step lag)[21:36]: Joint velocitiesjoint_vel(15joints indxlId1..15order,1-step lag)[36:51]: Previous raw policy outputlast_action(15floats)[51:54]: Velocity command[v_x, v_y, omega_z][54:58]: Neck and head tracking command[neck_pitch, head_pitch, head_yaw, head_roll][58:64]: 6-D body pose command (zerosduring standard walking)
- Actions (
15floats):- Target joint angles
q_target = q_default + 1.0 * actionacross all15XL330-M288-Tservos (left_leg1..5,right_leg6..10,neck_pitch11,head_pitch12,head_yaw13,head_roll14,beak_pitch15), driven throughBamActuatorCfg(kp_fw = 200.0,vin = 6.0..8.4 V2SLi-Ion sag,1..3step command delay).
- Target joint angles
Setup & Commands
# 1. Link Microgoose asset and task into Isaac Lab 3.0
chmod +x rl/isaaclab_microgoose/install_into_isaaclab.sh
./rl/isaaclab_microgoose/install_into_isaaclab.sh ~/project/robot-sim/envs/IsaacLab
# 2. Convert CAD-exact MJCF (60 meshes, 15 joints) to USD
~/project/robot-sim/bin/rsim mjcf2usd rl/assets/microgoose_walk.xml rl/assets/usd_walk
~/project/robot-sim/bin/rsim mjcf2usd rl/assets/microgoose_allcollisions.xml rl/assets/usd_allcollisions
# 3. Run GPU-parallel PPO training (16,384 envs on RTX 4090)
~/project/robot-sim/bin/rsim train IsaacContrib-Velocity-Flat-MicroGoose --envs 16384 --iters 80
# 4. Export ONNX policy and pack single-file opset-18 artifact
~/project/robot-sim/bin/rsim play IsaacContrib-Velocity-Flat-MicroGoose <run_dir>/model_79.pt --steps 100
~/project/robot-sim/bin/rsim pack <run_dir>/exported/policy.onnx rl/policies/isaaclab_newton_microgoose_short.onnx \
--obs 64 --act 15 --task IsaacContrib-Velocity-Flat-MicroGoose --checkpoint model_79.pt
# 5. Cross-check packed ONNX policy in CPU MuJoCo 4.0.1 + Rhoban BAM and MIT/TRI Drake 1.58.0
python3 validation/sim2sim_isaaclab_mujoco_drake.py