OFICIAL Hugging Face Blog

Microduck Obstacle Avoidance: A Sim2Real Workflow with Isaac Lab and Newton

What happened
Based on Hugging Face Blog · Nov 24, 2026

Hugging Face demonstrates a sim-to-real workflow for Microduck obstacle avoidance using Isaac Lab and Newton, training a separate controller while preserving a fixed walking policy.

Microduck Obstacle Avoidance: A Sim2Real Workflow with Isaac Lab and Newton
Hugging Face Blog — Hugging Face
Key points
·
Microduck’s obstacle avoidance controller is trained separately while keeping its walking policy fixed using Isaac Lab and Newton.
·
The navigation policy adjusts gamepad velocity commands at 50 Hz based on ToF sensor data modeled after a VL53L5CX sensor.
·
Training runs for 1,500 PPO iterations across 16,384 parallel environments with rewards for goal progress and penalties for collisions.
Key numbers
·
Playback uses the same assets and randomization as training, saving TorchScript and ONNX models for deployment, and the workflow was also demonstrated on NVIDIA DGX Spark in approximately 6 hours using 4,096 parallel environments.

Microduck’s existing walking policy maintains balance but does not steer around obstacles, prompting a follow-up workflow that trains a separate avoidance controller using time-of-flight (ToF) sensing. The approach reuses the frozen walking policy from a prior tutorial, while a new navigation policy adjusts gamepad velocity commands in real time based on ToF sensor data. NVIDIA Isaac Lab provides the open-source training environment, simulating physics and sensor depth measurements, and the workflow covers simulation, evaluation, export, and real-robot deployment.

The workflow requires a Linux system with a compatible NVIDIA GPU, Git with Git LFS, the uv package manager, a configured Microduck robot, a supported ToF sensor, a paired gamepad, and a level test area with obstacles. The environment combines OpenUSD assets from SimReady Central, including cardboard boxes, office bins, bedside cabinets, and cones, which are automatically arranged into varied obstacle layouts during each episode reset.

Training occurs in Isaac Lab using the PPO algorithm across 16,384 parallel environments for 1,500 iterations, with the fixed walking policy checkpoint and obstacle assets loaded via task configuration. The navigation policy’s actor receives ToF history and robot state, while the critic uses additional simulation state during training but is not required for deployment. Rewards encourage progress toward goals and safe obstacle clearance, while penalties discourage collisions, falls, and abrupt command changes.

The obstacle-avoidance task is implemented in isaaclab_tasks.contrib.microduck_obstacle, with configurations in obstacle_avoidance_env_cfg.py and sensor modeling in MicroDuckToFCamera, which simulates a VL53L5CX ToF sensor with an 8×8 grid, 45° field of view, and 0.12–4 m range. Playback uses the same assets and randomization as training, saving TorchScript and ONNX models for deployment, and the workflow was also demonstrated on NVIDIA DGX Spark in approximately 6 hours using 4,096 parallel environments.

Original source → Deals on Clipraptor.com →