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

In one sentence

This tutorial demonstrates how to train a ToF-based local obstacle avoidance controller for the Microduck robot using Isaac Lab and Newton while keeping its walking policy fixed.

Key points

  • The workflow reuses the Microduck walking policy with frozen weights and trains a separate navigation controller to adjust gamepad velocity commands.
  • Varied obstacle courses are procedurally generated at each episode reset using SimReady OpenUSD assets from Hugging Face and primitive geometries.
  • Newton's raycaster models the 15Hz 8x8 VL53L5CX ToF sensor, incorporating noise, delays, and missing measurements to match real hardware.
  • The navigation policy is trained with PPO across 16,384 parallel environments for 1,500 iterations for Sim2Real deployment.

In depth

An AI-written overview of the original article, not the article itself.

A Hugging Face blog tutorial details how to add local obstacle avoidance to the Microduck robot using NVIDIA Isaac Lab and Newton. By keeping the existing walking policy's weights fixed and training a separate avoidance controller in simulation for real-robot deployment, the workflow demonstrates an efficient Sim2Real transfer approach.

Layered Control and Avoidance Training

According to the article, the approach decouples balance from path planning. It freezes a pre-trained walking policy and trains a separate 50 Hz navigation policy. When an operator inputs movement commands via a gamepad, the navigation policy adjusts forward, lateral, and yaw velocities based on sensor data before passing them to the walking policy to generate joint actions.

Training uses PPO in Isaac Lab across up to 16,384 parallel environments for 1,500 iterations, though a smaller setup on NVIDIA DGX Spark with 4,096 environments took about 6 hours. Obstacle courses combine SimReady OpenUSD assets—such as cardboard boxes, office bins, and bedside cabinets—with primitive cones, randomizing layouts on every reset.

Sensor Modeling and Sim2Real Deployment

To match real hardware perception, the team used Newton's raycaster to model the VL53L5CX time-of-flight (ToF) sensor on Microduck's head. The simulated sensor outputs an 8x8 depth grid at 15 Hz with a 45-degree field of view and a 0.12 to 4 m range. Training introduces noise, delays, and missing edge measurements to prepare the policy for imperfect real-world data.

For physical deployment, policies are exported to ONNX. A laptop runs the navigation model over SSH and sends adjusted gamepad commands to the onboard walking policy. Safety measures include a default 0.15 m/s forward speed cap, close-obstacle braking, and a dry-run mode to verify inference before movement.

Read originalOpens huggingface.co

This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.

Recent stories from this source