Microduck Obstacle Avoidance: A Sim2Real Workflow with Isaac Lab and Newton
Summary of an article by Hugging Face blog — AI Made
This tutorial describes how to add local obstacle avoidance to the Microduck robot without changing its existing walking policy. The walking weights from an earlier tutorial stay frozen. A separate navigation controller takes the direction chosen on a gamepad and adjusts the forward, lateral and yaw commands 50 times per second before they reach the walker.
Training happens in Isaac Lab, with Newton handling physics and simulated depth readings. The sensor model reproduces a compact time-of-flight unit that reads an 8×8 grid of distances, with a 45-degree view and a range of roughly 0.12 to 4 metres. Noise, delays and dropped readings are added so the policy copes with imperfect data. Each episode builds a new obstacle course from primitive shapes, cones and ready-made USD assets such as a box, a bin and a cabinet. Rewards favour safe progress toward a goal, while penalties apply to collisions, falls, fast approaches and abrupt command changes.
The default run uses PPO with 16,384 parallel environments for 1,500 iterations. A smaller run on a DGX Spark took about six hours. After playback and export to ONNX, the model runs on a laptop and sends adjusted commands to the robot. Hardware testing starts with a dry run, followed by supervised gamepad control with a default speed cap of 0.15 m/s.
Publishers: to have your site removed from our sources, write to info@weare1801.com.
Read the original at Hugging Face blog →