Sim-to-Real Learning of Footstep-Constrained Bipedal Dynamic Walking

Helei Duan, Ashish Malik, Jeremy Dao, Aseem Saxena, Kevin Green, Jonah Siekmann, Alan Fern, Jonathan Hurst · DOI

Introduction

Bipedal robots offer the promise of navigating complex, human-centric environments. While Reinforcement Learning (RL) has successfully produced robust walking controllers capable of maintaining balance under external disturbances, these controllers often lack the precision required for specific foot placement. In real-world scenarios—such as navigating stepping stones, avoiding obstacles, or climbing narrow stairs—a robot must be able to follow precise footstep commands without compromising its dynamic stability.

This research, conducted by teams at Oregon State University and Agility Robotics, introduces a framework that enables the bipedal robot Cassie to execute precise footstep commands. By integrating a footstep-constrained RL policy with a learned reachability map, the authors bridge the gap between agile, robust locomotion and high-level motion planning.

Methodology: Constrained Reinforcement Learning

The core of the system is a control policy trained using Proximal Policy Optimization (PPO). Unlike traditional velocity-based controllers that command a general direction and speed, this policy is conditioned on specific relative footstep targets $(L_{step}, \theta_{step})$, representing the desired distance and angle for the next touchdown.

Reward Structure

To balance the competing objectives of stability and accuracy, the researchers implemented a "two-time scale" reward system:

  1. Dense Rewards (40Hz): These are calculated at every control step to encourage pelvis stability, smooth joint trajectories, and energy efficiency.
  2. Sparse Rewards (Touchdown): These are only calculated at the moment of foot impact. The reward is based on the Euclidean distance between the actual touchdown location and the commanded target.

Adaptive Frequency Modulation

A significant innovation in this work is the use of a variable periodic clock. By adjusting a phase multiplier ($\gamma$), the controller can dynamically "slow down" or "speed up" the swing leg. This allows the robot to extend its reach for distant targets by giving the leg more time to travel, or to shorten its stride for closer targets, significantly improving accuracy across a wide range of commands.

Predictive Reachability Modeling

To make the controller useful for higher-level planners, the researchers developed a "Touchdown-to-Touchdown" (TD2TD) transition model. Using a Convolutional Neural Network (CNN) trained on 9 million data points from simulation, this model predicts a "reachability map." This map provides a 2D grid indicating which future footstep locations are physically achievable and likely to result in low error given the robot's current state.

The model revealed a critical insight: as the robot's velocity increases, the reachable set of footsteps shrinks and narrows. This phenomenon reflects the physical reality that higher momentum limits the robot's ability to make sudden changes in direction or step length.

Experimental Results

The framework was validated both in the MuJoCo simulation environment and on physical hardware.

Simulation Performance

In simulation, the controller demonstrated high precision, with the majority of commanded footsteps resulting in an error of less than 0.1 meters. The policy proved robust enough to handle rapid sequences of varying step lengths and directions.

Hardware Validation

When deployed on the physical Cassie robot, the policy successfully transferred from simulation to reality without the need for complex curriculum learning. On a treadmill, the robot followed commands with reasonable accuracy:

  • For a 0.3m target, the robot achieved 0.32m (±0.03).
  • For a 0.8m target, the robot achieved 0.62m (±0.06).

The observed "undershooting" at larger distances was attributed to physical torque limits and drift in the robot's internal state estimation. Despite these hardware constraints, the robot remained stable under external perturbations and while navigating uneven terrain.

Conclusion and Future Work

This work demonstrates that RL can produce controllers that are both dynamically stable and precisely controllable. The introduction of the reachability map provides a vital interface for future vision-based planners.

Current limitations include state estimation drift and a "blindness" to ground height variations. Future iterations of this research aim to incorporate step height into the command interface and extend the reachability model to multi-step look-ahead planning, enabling autonomous navigation through complex obstacle courses.

Summary updated

Abstract

Recently, work on reinforcement learning (RL) for bipedal robots has successfully learned controllers for a variety of dynamic gaits with robust sim-to-real demonstrations. In order to maintain balance, the learned controllers have full freedom of where to place the feet, resulting in highly robust gaits. In the real world however, the environment will often impose constraints on the feasible footstep locations, typically identified by perception systems. Unfortunately, most demonstrated RL controllers on bipedal robots do not allow for specifying and responding to such constraints. This missing control interface greatly limits the real-world application of current RL controllers. In this paper, we aim to maintain the robust and dynamic nature of learned gaits while also respecting footstep constraints imposed externally. We develop an RL formulation for training dynamic gait controllers that can respond to specified touchdown locations. We then successfully demonstrate simulation and sim-to-real performance on the bipedal robot Cassie. In addition, we use supervised learning to induce a transition model for accurately predicting the next touchdown locations that the controller can achieve given the robot's proprioceptive observations. This model paves the way for integrating the learned controller into a full-order robot locomotion planner that robustly satisfies both balance and environmental constraints.
BibTeX
@misc{duan2022sim,
  author = {Helei Duan and Ashish Malik and Jeremy Dao and Aseem Saxena and Kevin Green and Jonah Siekmann and Alan Fern and Jonathan Hurst},
  title = {{Sim-to-Real Learning of Footstep-Constrained Bipedal Dynamic Walking}},
  year = {2022},
  eprint = {2203.07589},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.07589},
}
Figure