# Microduck Obstacle Avoidance — Sim2Real Workflow with Isaac Lab and Newton

> NVIDIA tutorial shows how to add local obstacle avoidance to the Microduck robot by training a separate ToF-based controller in Isaac Lab while keeping the walking policy fixed.

- **Category**: ARTICLE
- **Impact**: NOTABLE
- **Publisher**: NVIDIA
- **Published**: 2026-11-24T16:34:13Z
- **Canonical URL**: https://aitrending.dev/news/microduck-obstacle-avoidance-isaac-lab-newton/

## Quick Facts

- **Robot**: Microduck
- **Simulation**: NVIDIA Isaac Lab (open-source) + Newton physics
- **Sensor**: Time-of-flight (ToF), modeled with Newton's raycaster
- **Walking Policy**: Reused from first tutorial, weights kept fixed
- **Assets**: SimReady Central on Hugging Face (cardboard box, office bin, bedside cabinet, cones)
- **Install**: git clone --branch exp/microduck https://github.com/isaac-sim/IsaacLab.git; uv sync --frozen
- **Published**: November 24, 2026

## What Is It

This is an NVIDIA tutorial article describing a sim-to-real workflow for adding obstacle avoidance to the Microduck walking robot. It builds on a prior Microduck tutorial, reusing that walking policy unchanged and training a separate avoidance controller that adjusts gamepad velocity commands before they reach the walking policy. The workflow covers simulation training in Isaac Lab, physics and ToF depth simulation in Newton, evaluation, export, and deployment to a physical robot.

## How It Works

The walking policy keeps Microduck balanced but does not steer around obstacles, so a second controller is trained to modify the user's gamepad velocity command based on time-of-flight sensor readings. Newton simulates physics and the ToF depth measurements via its raycaster, while Isaac Lab trains policies across thousands of GPU-parallel simulations. Obstacle courses are assembled from simple primitives plus OpenUSD SimReady assets (cardboard box, office bin, bedside cabinet, cones), and at each episode reset the environment samples a layout, shuffles props, and varies placement and rotation, including mirrored layouts and aligned or staggered rows. Goals are placed ahead of the duck, and movement commands guide it toward the goal while the policy adjusts them around obstacles.

## Why It Matters

The tutorial gives developers a concrete pattern for layering a learned avoidance controller on top of an existing locomotion policy without retraining it, which keeps the walking behavior stable. Using SimReady assets and Newton's raycaster for ToF sensing means the training environment can be built from reusable, physically plausible props rather than custom geometry. The workflow explicitly covers export and hardware testing, so teams can follow the same steps to deploy on a real Microduck, though it requires a compatible NVIDIA GPU, Linux, and a configured robot with a supported ToF sensor.

## Verified Sources (5)

1. [Microduck Obstacle Avoidance: A Sim2Real Workflow with Isaac Lab and Newton](https://huggingface.co/blog/nvidia/microduck-obstacle-avoidance) *(Primary)*
2. [first Microduck tutorial](https://huggingface.co/blog/nvidia/microduck-isaac-lab-sim-to-real) *(Primary)*
3. [Newton](https://github.com/newton-physics/newton) *(Primary)*
4. [SimReady Central](https://huggingface.co/spaces/nvidia/simready-central) *(Primary)*
5. [cardboard box](https://huggingface.co/datasets/nvidia/simready-assets/tree/main/box_cardboard_a01) *(Primary)*

## Related Catalog Entities

- Tool: [Isaac Lab](https://aitrending.dev/tools/isaac-lab/)
