Hugging FaceOluwaseun Doherty, Oyindamola Omotuyi, RichardTutorial
Microduck Obstacle Avoidance: A Sim2Real Workflow with Isaac Lab and Newton
Summary
Microduck’s walking policy keeps the robot balanced but does not steer around obstacles. This tutorial adds a separate avoidance controller trained with NVIDIA Isaac Lab and Newton, using a simulated time-of-flight sensor modeled after the VL53L5CX. The controller adjusts gamepad velocity commands before passing them to the frozen walking policy. Training runs PPO across 16,384 parallel environments for 1,500 iterations, with varied obstacle layouts built from SimReady assets. The resulting policy is exported to ONNX and deployed on a real Microduck via a laptop that streams adjusted commands to the robot.
Context
Microduck’s existing walking policy keeps the robot balanced but does not steer around obstacles. This tutorial extends that work by adding a local obstacle-avoidance controller that uses time-of-flight sensing, trained in simulation with NVIDIA Isaac Lab and Newton, then deployed on the real robot.
Approach / What changed
Train a separate navigation policy using PPO across 16,384 parallel Isaac Lab environments, with a simulated ToF sensor (modeled after the VL53L5CX) that provides an 8×8 depth grid at 15 Hz. The policy adjusts gamepad velocity commands before passing them to a frozen walking policy. Training runs for 1,500 iterations; the resulting policy is exported to ONNX and deployed via a laptop that sends adjusted commands to the real Microduck.
Takeaways
The obstacle-avoidance controller is trained separately from the walking policy, which remains frozen. This modular approach lets the robot learn to steer without retraining its balance behavior.
The simulated ToF sensor (8×8 grid, 45° FOV, 0.12–4 m range) adds noise, delays, and missing measurements during training to mimic real-sensor imperfections and improve policy robustness.
Training uses 16,384 parallel environments for 1,500 PPO iterations. A smaller configuration (4,096 environments, 3,000 updates) was also demonstrated on an NVIDIA DGX Spark, completing in about 6 hours.
FAQ
What inputs does the navigation policy use?
The navigation policy receives a history of ToF depth measurements (8×8 grid at 15 Hz), plus body and controller state available on the real robot. The critic uses additional simulation state during training but is not needed for deployment.
How is sensor noise modeled in training?
The simulated ToF sensor adds noise, delays, missing measurements (especially near grid edges), and randomizes mount pitch and height. This exposes the policy to imperfect data similar to what the real sensor provides.
What safety limits are applied during real-robot deployment?
Forward speed is capped at 0.15 m/s by default. The deployment also includes a close-obstacle brake and stale-input stopping. The operator holds the gamepad stick forward to request movement; releasing the stick stops the 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.