Freeze the Walker, Train the Navigator: A Sim2Real Pattern for Robot Obstacle Avoidance
NVIDIA's Isaac Lab team describes a control architecture where a pre-trained walking policy stays frozen while a separate navigation controller learns to adjust velocity commands using time-of-flight sensor data. The tutorial covers sensor modeling, PPO training across thousands of parallel environments, ONNX export, and real-robot deployment with a gamepad interface.
A walking policy keeps a robot balanced and moving. It does not know how to steer around a box in its path. NVIDIA's Isaac Lab team addresses this gap with a two-layer architecture: the locomotion policy stays frozen, and a separate navigation controller learns to adjust its velocity commands using time-of-flight sensing.
The navigation policy operates at 50 Hz on forward, lateral, and yaw velocity commands. The frozen walking policy converts those adjusted commands into joint actions, allowing the robot to learn obstacle avoidance without retraining its walking behavior. During training, the navigation policy's actor receives ToF history and body and controller state available on the real robot. Its critic has access to additional simulation state to guide learning but is not needed for deployment.
The sensor model follows the hardware closely. MicroDuckToFCamera extends Newton's raycaster to simulate the VL53L5CX, a compact ToF chip that measures distance across an 8×8 grid at 15 Hz with a 45° field of view and a 0.12–4 meter range. The simulated sensor follows the duck's head, with placement informed by real recordings. Training injects noise, delays, and missing measurements—including near the grid's edges—so the policy encounters imperfect data during learning rather than only during deployment.
Rewards encourage progress toward a goal placed ahead of the robot, safe arrivals, and movement around obstacles. Following a movement command earns credit only when the robot makes progress with sufficient clearance; risky approaches reduce that credit. Penalties discourage fast approaches, abrupt command changes, collisions, and falls. The team trained with PPO across 16,384 parallel environments for 1,500 iterations, noting that this is configurable rather than a minimum. They also demonstrated the workflow on an NVIDIA DGX Spark using 4,096 environments for 3,000 updates in approximately six hours.