Robotics

NVIDIA Isaac Lab + Newton Enable Sim-to-Real Obstacle Avoidance for Microduck Robots

Hugging Face publishes a workflow for training obstacle-avoidance controllers on Microduck quadrupeds using GPU-parallel simulation and time-of-flight sensing.

Last verified:

According to the Hugging Face Blog, NVIDIA and Hugging Face released a complete sim-to-real workflow for training obstacle-avoidance controllers on Microduck quadrupeds. The tutorial uses Isaac Lab, an open-source robot-learning framework, to train policies across GPU-parallel simulations, and Newton’s physics engine to model time-of-flight (ToF) sensor depth measurements. The trained controller adjusts gamepad velocity commands around obstacles while keeping the fixed walking policy unchanged, then deploys to physical hardware.

Modular Control Architecture Decouples Walking from Navigation

The key design choice is separation of concerns: Microduck’s walking policy, trained in a prior tutorial, remains frozen throughout this workflow. A second, lightweight avoidance controller sits upstream and intercepts gamepad input, adjusting velocity commands to steer around detected obstacles before passing the corrected signal to the walker.

According to Hugging Face, this approach allows reuse of the existing walking checkpoint without retraining and isolates the obstacle-avoidance task to a simpler control problem. The user selects direction via gamepad; the trained controller modulates speed and heading in response to ToF sensor readings.

Simulation Training and Sensor Modeling

Isaac Lab provides the distributed training framework, spinning up thousands of parallel simulation environments on compatible NVIDIA GPUs. Within each environment, Newton simulates both rigid-body physics and the ToF sensor’s raycaster, generating synthetic depth readings as the robot navigates obstacles.

According to the blog, training data comes from varied obstacle layouts—the tutorial uses reusable SimReady assets including cardboard boxes, office bins, bedside cabinets, and cones. These assets are hosted on Hugging Face’s SimReady Central dataset repository and can be downloaded and arranged into different course configurations, exposing the learned policy to diverse spatial scenarios during training.

Deployment Path: Evaluation and Hardware Integration

The workflow covers three stages: training in simulation, evaluating resulting policies, and exporting for hardware testing. According to Hugging Face, the hardware setup requires a configured Microduck with the upstream walking-policy export, a supported ToF sensor with recorded configuration, a gamepad, and a level test area with physical obstacles.

The tutorial provides command-line examples to download the walking checkpoint, list available Isaac Lab environments, and train the avoidance controller using the rsl_rl reinforcement-learning library. Export options support deployment to the physical robot while maintaining the gamepad control interface.

Why This Matters

This tutorial addresses a practical gap in quadruped robotics: a walking policy alone does not enable autonomous navigation in cluttered spaces. By decoupling walking from obstacle avoidance and using simulation for fast policy search, teams can iterate on navigation without retraining expensive walking models. The release of reusable SimReady assets on Hugging Face lowers the barrier for researchers to build varied training environments, and the open-source Isaac Lab framework with Newton integration enables reproducible sim-to-real workflows. For roboticists training on Microduck or similar platforms, this workflow compresses the path from simulation to hardware-tested deployment.

Frequently Asked Questions

Can I use an existing walking policy with this obstacle-avoidance controller?

Yes. The workflow reuses a fixed walking policy from the upstream Microduck task and trains only a separate avoidance controller on top of it, keeping the walking weights unchanged.

What sensors does the obstacle-avoidance system require?

The controller uses time-of-flight (ToF) depth sensing to detect nearby obstacles and adjust velocity commands from a gamepad before passing them to the walking policy.

Do I need to build a custom obstacle course for training?

The tutorial uses reusable SimReady assets (cardboard boxes, office bins, cabinets, cones) available from Hugging Face's SimReady Central, but you can customize the layout to train on varied obstacle configurations.

#sim2real #quadruped #obstacle-avoidance #isaac-lab #newton #microduck