Abstract
Animals are capable of precise and agile locomotion using vision. Replicating this ability has been a long-standing goal in robotics. The traditional approach has been to decompose this problem into elevation mapping and foothold planning phases. The elevation mapping, however, is susceptible to failure and large noise artifacts, requires specialized hardware, and is biologically implausible. In this paper, we present the first end-to-end locomotion system capable of traversing stairs, curbs, stepping stones, and gaps. We show this result on a medium-sized quadruped robot using a single front-facing depth camera. The small size of the robot necessitates discovering specialized gait patterns not seen elsewhere. The egocentric camera requires the policy to remember past information to estimate the terrain under its hind feet. We train our policy in simulation. Training has two phases - first, we train a policy using reinforcement learning with a cheap-to-compute variant of depth image and then in phase 2 distill it into the final policy that uses depth using supervised learning. The resulting policy transfers to the real world and is able to run in real-time on the limited compute of the robot. It can traverse a large variety of terrain while being robust to perturbations like pushes, slippery surfaces, and rocky terrain.
Introduction
Traditionally, visually-guided legged locomotion relies on a decoupled pipeline: the robot uses cameras to build a 3D metric "elevation map" of its surroundings, and then a planner calculates precise footholds on that map. However, building these maps requires tracking the camera's pose over time, which is highly susceptible to noise, drift, and calibration errors. When a robot tries to cross a gap or step on a small stone, even a slight mapping error can cause a catastrophic fall.
Furthermore, most existing locomotion controllers rely on pre-programmed gait priors (e.g., forcing the robot to trot or walk in a specific rhythm). For smaller, inexpensive robots like the Unitree A1, standard gaits fail on human-sized obstacles like stairs because the robot's legs simply aren't long enough to step up normally. This research tackles the challenge of creating a robust, vision-based locomotion system that doesn't rely on fragile elevation maps or restrictive gait priors.
Methodology
We propose a two-phase training pipeline in simulation to learn a policy that maps raw egocentric depth images and proprioception (joint angles, velocities) directly to motor commands.
-
Phase 1: Reinforcement Learning with "Scandots" Rendering realistic depth images during RL is computationally expensive. Instead, we train a "teacher" policy using Proximal Policy Optimization (PPO). This teacher is fed "scandots"—cheap-to-compute 1D height queries of the terrain directly under and around the robot. The reward function minimizes energy consumption and penalizes hardware-damaging behaviors (like dragging feet or colliding with stairs), with no predefined gait trajectories.
-
Phase 2: Supervised Distillation The teacher policy is distilled into a "student" policy using supervised learning (DAgger). The student only has access to the sensors available on the real robot: a front-facing depth camera and proprioception.
Crucially, the student policy uses a Recurrent Neural Network (RNN). Because the camera only looks forward, the RNN acts as a short-term memory, implicitly tracking the terrain as it passes out of view and under the robot's hind legs. The final policy runs onboard the robot at 50Hz without ever constructing a metric map.
Experimental Setup
Policies were trained in the IsaacGym simulator using a curriculum of procedurally generated terrains, including slopes, stairs, discrete obstacles, and stepping stones with fractal noise added for robustness. Real-world evaluation was conducted on physical obstacle courses (upstairs, downstairs, 26cm gaps, and stepping stones) as well as unstructured outdoor environments such as hiking trails, rocky riverbeds, and beaches.
Key Insights
- Memory beats mapping: You don't need to build a complex 3D map to walk over rough terrain. Just like humans look a few steps ahead and "remember" where to place their feet, an RNN can successfully encode a short-term memory of the terrain to guide the hind legs once the obstacle leaves the camera's field of view.
- Tabula rasa learning unlocks physical limits: By not forcing the robot to use standard walking gaits, the RL agent discovered highly unconventional, emergent behaviors. For example, to climb stairs nearly as tall as its own legs, the robot learned a dramatic "hip abduction" (swinging its legs wide to the side) to avoid hitting its knees on the stair edges.
- End-to-end vision is robust: By mapping pixels directly to torques (via joint targets), the system avoids the compounding errors of traditional pose estimation and mapping pipelines, making it highly reliable on precision-critical tasks like stepping stones.
Results
In simulation, the vision-based policies outperformed "blind" and "noisy elevation map" baselines by 60-90% in terms of mean time to fall and average distance traveled across complex terrains.
In physical testing, the robot achieved a 100% success rate traversing stairs, curbs, and 26cm gaps. On stepping stones, it achieved a 94% success rate, whereas a blind baseline failed completely (0%). Despite having a hip joint height of only 28cm, the robot successfully climbed stairs up to 25cm high (89% of its leg height), significantly outperforming existing methods for robots of this size.
Conclusion
While the system is robust, it is vulnerable to the "sim-to-real gap" if it encounters visual textures or geometries fundamentally different from the training environment. Future work will explore leveraging real-world data to continuously improve the policy post-deployment and combining these robust locomotion policies with articulated robotic arms for active interaction with complex environments.
Summary updated