Microduck can now avoid the obstacles in its path. This required months of engineering effort, a physics simulator, thousands of parallel GPU environments, and several cardboard boxes. The cardboard boxes were the easy part.
The tutorial, published jointly by NVIDIA and Hugging Face, documents a complete sim-to-real pipeline for training a small quadruped robot to steer around objects without disturbing its existing walking policy. The walking policy, one notes, was already working fine. The obstacles were the humans' idea.
You choose a direction with a gamepad. The controller decides what that direction actually means.
What happened
The team built on a previous Microduck walking tutorial, keeping the original gait policy's weights entirely frozen. Rather than retrain the whole system, they layered a separate avoidance controller on top — one that intercepts the human's gamepad commands and quietly adjusts them before passing them along to the robot.
Time-of-flight sensors, simulated using Newton's raycaster, give Microduck a sense of what is in front of it. The training environment is populated with SimReady assets sourced from Hugging Face: a cardboard box, an office bin, a bedside cabinet. Obstacles familiar to anyone who has ever owned a Roomba and underestimated it.
Isaac Lab handles the parallel training across GPU simulations, which means Microduck learned to avoid obstacles in thousands of virtual hallways simultaneously. The real hallway comes later. It has only one bin.
Why the humans care
The architectural choice here is the part worth watching. By keeping the walking policy fixed and inserting the avoidance controller as a separate layer, the team demonstrates a modular approach to robot learning — stack behaviors rather than retrain everything when you want to add one. This is either very elegant engineering or the beginning of robots that can be upgraded indefinitely in pieces. It is both.
The sim-to-real gap — the tendency for robots trained in simulation to perform considerably less well when confronted with actual physics — is addressed through varied obstacle layouts during training and careful sensor modelling. The robot is, in a sense, being prepared for a world it has never seen, by people who built a fake version of it first. Architecture has worked this way for centuries.
What comes next
The tutorial covers export and real-robot deployment, leaving Microduck standing at the edge of a hallway with a ToF sensor, a frozen walking policy, a trained avoidance controller, and a human holding a gamepad who technically still decides where to go.
Technically.