Hugging FaceOluwaseun Doherty, Oyindamola Omotuyi, Richard, Asier ArranzTutorial
Train in Simulation, Deploy on a Real Robot: Microduck with Isaac Lab 3.0
Summary
Microduck, an affordable open-source bipedal robot by Pollen Robotics and Hugging Face, can now be trained to walk using NVIDIA Isaac Lab 3.0 with the Newton physics solver and Better Actuator Models. The training runs 4096 GPU-parallel environments at up to 1.25 million steps per second on rough terrain, using domain randomization and backlash modeling for sim-to-real transfer. After evaluating the policy in simulation, Isaac Lab automatically exports it as ONNX with 61 observation inputs and 14 joint-position outputs. The ONNX file is copied to the physical Microduck via scp and loaded using robotctl policy load, enabling walking, turning, and fall recovery. Developers can share the policy on Hugging Face Hub, test it in Microduck Arena against challenges, or extend it to perception and custom tasks.
Context
Tutorial for training a locomotion policy on the Microduck biped robot using NVIDIA Isaac Lab and Newton, then deploying the exported ONNX policy onto real hardware.
Approach / What changed
Train using Isaac Lab with RSL-RL, using Newton’s BAM actuator models and backlash presets. Run 4096 parallel environments on GPU, domain randomizing mass, ground friction, joint inertia, encoder offsets, battery voltage, command latency, and terrain variation. Evaluate and export to ONNX via uv run isaaclab play . Deploy by copying the ONNX file to the robot using scp and loading it with sudo robotctl policy load walk /home/microduck/my_walking.onnx .
Takeaways
The policy accepts 61 observation values and outputs 14 joint-position actions; this interface must stay consistent during export and deployment.
Domain randomization, including backlash modeling per joint, improves sim-to-real transfer by exposing the policy to mechanical play and uneven wear.
After training, Isaac Lab’s RSL-RL playback automatically exports both TorchScript and ONNX files; use policy.onnx for Microduck’s onboard runtime.
FAQ
What hardware is needed for simulation and training?
A Linux workstation with a supported NVIDIA GPU and driver is required. Git and uv are also needed for the install.
How is the trained policy deployed to the physical Microduck?
Copy the policy.onnx file to the robot using scp, then load it with 'sudo robotctl policy load walk /home/microduck/my_walking.onnx'. The robot should be supported on its stand before loading.
What is the purpose of the backlash preset?
Backlash models the mechanical play in a gearbox when a joint changes direction. Modeling this effect varies backlash per joint during training to prepare the policy for differences it may encounter on the real robot.
Source and freshness
- Source
- huggingface.co
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.