Skip to content
context Robotics

NVIDIA and Hugging Face tutorial: training obstacle avoidance for the Microduck robot in Isaac Lab

only one source so far

NVIDIA and Hugging Face have released a tutorial showing how to train a standalone obstacle-avoidance controller for the Microduck robot with a ToF sensor in the Isaac Lab and Newton simulator and deploy it on physical hardware.

NVIDIA, in collaboration with Hugging Face, has released a tutorial describing how to teach the Microduck robot to avoid obstacles using a standalone controller, while its existing walking policy remains unchanged. During movement, the controller adjusts velocity commands (forward, lateral, rotation) based on data from the VL53L5CX time-of-flight (ToF) sensor, before passing them to the fixed walking policy, which converts them into joint movements.

Training takes place in the NVIDIA Isaac Lab environment with the Newton physics simulator, which also models the behavior of the ToF sensor — according to the source, the simulated sensor has a 45° field of view and a range of 0.12 to 4 meters, measuring on an 8×8 point grid at a frequency of 15 Hz. Training runs in parallel across thousands of GPU simulations. The training environment combines simple geometric shapes with models from the SimReady Central library on Hugging Face (a cardboard box, an office trash can, a nightstand, cones), whose placement was randomly changed at every episode reset. The training rewards favor progress toward the goal while maintaining sufficient distance from obstacles, and penalize rapid approach, sudden command changes, collisions, and falls.

According to the source, the tutorial covers the entire process, from setting up the environment (Git LFS, the uv package manager, cloning the exp/microduck branch of the Isaac Lab repository) through downloading the pretrained walking policy and assets, to exporting and deploying the resulting controller on a physical robot using a gamepad. Physical testing requires a configured Microduck robot, a supported ToF sensor, a gamepad, and a test space with obstacles. The rest of the article with further details was not available — see the source article for details.

What changed

Why it matters

The approach demonstrates a practical sim2real technique — training a partial robot capability (obstacle avoidance) separately from the base walking policy, which can be reused unchanged. For developers of small robotic platforms, this means a lower barrier to adding new capabilities, since they don't have to retrain the entire locomotion system and can make use of publicly available 3D assets and open code.

Two audiences, two different impacts

What this means

01

For individuals

Developers and robotics enthusiasts get a concrete, reproducible procedure (code, configuration, assets) for teaching a robot to avoid obstacles using a ToF sensor and deploying the solution from simulation to physical hardware.

What to do For those interested in robotics: try cloning the exp/microduck branch of the Isaac Lab repository and go through the tutorial step by step.
More practical updates →
02

For a business

The approach shows that companies developing small robots can add a standalone safety module to an existing walking policy without having to retrain the entire locomotion system, which reduces the development cost of adding further robot capabilities.

Development More business impacts →
Microduck NVIDIA Isaac Lab obstacle avoidance reinforcement learning Sim2Real ToF sensor

Check the original

Event sources

only one source so far · 1 publisher, 0 independent. We count feeds from the same owner only once.

1
Hugging Face Blog primary source · first detected Microduck Obstacle Avoidance: A Sim2Real Workflow with Isaac Lab and Newton