Skip to content
aiqbench takeAI Products

aiqbench analysis

This article details a workflow for training bipedal robot policies in NVIDIA Isaac Lab simulation and deploying them on the open-source Microduck hardware, highlighting the integration of domain randomization and ONNX export. It focuses specifically on bridging the gap between simulated environments and real-world robotic actuation, which is central to advancing AI robotics capabilities.
Sources coveringHugging Face, NVIDIA
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

Train in Simulation, Deploy on a Real Robot: Microduck with Isaac Lab 3.0

Hugging Face7 min read

This post was written in collaboration with Antoine Pirrone, Augustin Crampette, Matthieu Lapeyre, Coralie Deplanne, Anne-Charlotte Passanisi, and Thomas Wolf.

Microduck is a newly released affordable open-source bipedal robot by Pollen Robotics and Hugging Face. And now you can train Microduck to walk with Isaac Lab and Newton. Test the policy, export it as ONNX, and deploy it on the real robot. Share it on the Hugging Face Hub or validate it for competition in Microduck Arena, then explore more advanced tasks with NVIDIA Isaac Lab.

A walking policy trained in simulation must also handle the friction, delays, and mechanical play of real robot servos.. NVIDIA Isaac Lab is an open-source framework for training policies across thousands of GPU-parallel simulations. With Newton, actuator modeling, and domain randomization, developers can prepare policies for real hardware. Microduck brings this workflow to life: train a walking policy in simulation, export it as ONNX, and deploy it on a real biped robot.

This tutorial walks you through training and evaluating Microduck with Isaac Lab and Newton, then exporting the policy for deployment. From there, you can share your model on the Hugging Face Hub, test its compatibility and compete in Microduck Arena, or put it to work on your own Microduck. Walking is the starting point—with linked examples to help you explore more of Isaac Lab 3.0.

1. Install Isaac Lab and prepare for Microduck training

A Linux workstation with a supported NVIDIA GPU and driver. See requirements.

A Linux workstation with a supported NVIDIA GPU and driver. See requirements.

A configured physical Microduck.

A configured physical Microduck.

Its onboard robot software is installed and working.

Its onboard robot software is installed and working.

A supported control interface, such as a paired gamepad.

A supported control interface, such as a paired gamepad.

2. Understand the ready-to-train Microduck environment

Isaac Lab already provides Microduck’s robot model, scene, observations, actions, rewards, and domain randomization. Start with the flat-walking task; the rough variant adds stairs, slopes, and uneven terrain.

Figure 2. Microduck environments side by side: flat terrain (left) and uneven terrain (right).

The policy takes 61 observation values and outputs 14 joint-positions. Keep the observation order, normalization, and action scaling consistent when exporting and deploying. See the Microduck task configuration for the full observations, rewards, and simulation settings.

3. Accelerate locomotion training with parallel Isaac Lab environments

Isaac Lab accelerates Microduck locomotion training by running simulated environments in parallel on the GPU. Isaac Lab can also run distributed training across GPUs, for instance training with 16 GPUs to speed-up the training and increase robustness. In this configuration, we can reach up to 1.25M steps per seconds with rough terrain and backlash enabled.

In this tutorial, we use Newton with the MJWarp solver and Newton-based Better Actuator Models (BAM) to model servo response, together with the backlash preset to turn position targets into realistic servo torques by modelling the firmware controller, motor electrical limits, friction and delay. To allow the policy to transfer from simulation, we make use of domain randomization. On each duck we randomize the mass/centre of mass, ground friction, joint inertia, encoder offsets, battery voltage/sag and command latency. We also vary terrain and apply pushes; as well as backlash independently per joint to represent uneven wear.

Backlash is the mechanical play in a gearbox, when a joint changes direction, the transmission can move slightly before engaging. Modeling this effect and varying it across joints during training exposes the policy to differences it may encounter on the real robot.

4. Evaluate the Microduck walking policy and export it to ONNX

To deploy a Microduck walking policy on the physical robot, export it to ONNX after evaluating it in simulation. Isaac Lab’s RSL-RL playback workflow automatically exports both TorchScript (policy.pt) and ONNX (policy.onnx) files. Use policy.onnx with Microduck’s onboard runtime, keeping the observation order, normalization, and action scaling consistent with training.

Replace latest with the path to a specific checkpoint.

Figure 4. Microducks execute a walking policy across uneven terrain in simulation.

For deployment we will be using the policy for the rough-terrain environment. The current RSL-RL playback implementation exports both TorchScript and ONNX files to an exported directory associated with the selected run:

Microduck’s onboard runtime loads ONNX policies. Use policy.onnx for the hardware handoff. The automatic export is implemented in Isaac Lab’s RSL-RL playback backend.

5. Share policies on Hugging Face and evaluate them in Microduck Arena

With policy.onnx exported, you can:

Compare it in Microduck Arena, a Hugging Face Space for testing compatible policies on shared challenges and comparing leaderboard results. Arena accepts models with 61 observation values, 14 action values, and a maximum size of 64 MiB. Follow the submission guide to check compatibility and enter a challenge.

Compare it in Microduck Arena, a Hugging Face Space for testing compatible policies on shared challenges and comparing leaderboard results. Arena accepts models with 61 observation values, 14 action values, and a maximum size of 64 MiB. Follow the submission guide to check compatibility and enter a challenge.

Run it on the real Microduck. After checking the observation and action interface from section 4, use the ONNX file with the robot’s onboard runtime; section 6 covers transfer to hardware.

Run it on the real Microduck. After checking the observation and action interface from section 4, use the ONNX file with the robot’s onboard runtime; section 6 covers transfer to hardware.

Share it on the Hugging Face Hub. Upload your policy so others can discover and download it. We recommend adding a short model card explaining how to use it. You can also include the training configuration to help others reproduce your results.

Share it on the Hugging Face Hub. Upload your policy so others can discover and download it. We recommend adding a short model card explaining how to use it. You can also include the training configuration to help others reproduce your results.

6. Deploy the ONNX locomotion policy on a real Microduck

After validating the policy in simulation and checking its interface (section 4), deploy policy.onnx to a configured Microduck:

Support the robot on its stand, then load the walking policy. If it is already walking, loading returns it to its home pose and resumes motion.

Use the documented controls to test standing, slow walking, turning, and stopping. Monitor its state; restore the default walking policy if needed:

Follow the Microduck policy-loading guide for runtime setup and behavior. Figure 5 demonstrates the deployed policy’s robustness to falls: Microduck recovers its footing and resumes walking after being knocked over.

Figure 5. Real Microduck walking with the locomotion policy trained in Isaac Lab.

7. Extend Microduck training to rough terrain and perception tasks with Isaac Lab

Isaac Lab 3.0 unlocks GPU-parallel robot learning across locomotion, dexterous manipulation, and vision-based tasks, with extensible environments and configurable physics and rendering backends. Explore these examples and tools:

More complex locomotion: Adapt Microduck’s rough-terrain task for stairs, slopes, and uneven ground, with a curriculum that increases terrain difficulty.

More complex locomotion: Adapt Microduck’s rough-terrain task for stairs, slopes, and uneven ground, with a curriculum that increases terrain difficulty.

Perception and navigation tasks: Extend Microduck’s walking policy with head-camera depth and robot-state observations to explore perception-based tasks in simulation. The GIF below shows ramp traversal. Explore camera-based observations in the Kuka–Allegro examples for vision-enabled manipulation.

Perception and navigation tasks: Extend Microduck’s walking policy with head-camera depth and robot-state observations to explore perception-based tasks in simulation. The GIF below shows ramp traversal. Explore camera-based observations in the Kuka–Allegro examples for vision-enabled manipulation.

Dexterous manipulation: Try the Kuka–Allegro lift and reorient tasks to train an arm and multi-fingered hand to manipulate objects.

Dexterous manipulation: Try the Kuka–Allegro lift and reorient tasks to train an arm and multi-fingered hand to manipulate objects.

Custom environments: Use the project generator to build your own task, then add simulation-ready (SimReady) assets from SimReady Central Library, and tailor observations and rewards to new challenges.

Custom environments: Use the project generator to build your own task, then add simulation-ready (SimReady) assets from SimReady Central Library, and tailor observations and rewards to new challenges.

Figure 7. Parallel training in NVIDIA Isaac Lab lets simulated Microducks practice traversing different ramps and platforms, while learning to maintain balance and avoid falls

Figure 8. Microduck perception task in simulation, with an external view above and RGB, depth, and segmentation views below.

Start with the Microduck task in Isaac Lab, train your first walking policy, and share the exported ONNX model on the Hugging Face Hub. Validate it in Microduck Arena, enter a challenge, and see how your policy compares. Then build on what you learn—try rougher terrain, add perception, or create your own task.

This workflow builds on Pollen Robotics’ Microduck hardware and software, the original Microduck reinforcement-learning project, BAM actuator modeling work, and the Isaac Lab and Newton integrations.

Full text under the publisher's open licence · 1469 words

Related coverage