Locomotion on Constrained Footholds via Layered Architectures and Model Predictive Control

Zachary Olkin, Aaron D. AmesHumanoids 2025 · DOI

TL;DR

This paper introduces a novel "layered" control architecture for legged robots that combines a sampling-based method for choosing footholds with a fast, real-time Model Predictive Control (MPC) for motion generation. This approach allows robots to navigate complex, uneven terrain more optimally and reliably than existing methods, achieving real-time performance even for humanoids.

What Problem Does This Paper Address?

Controlling legged robots, especially for dynamic locomotion over challenging terrain like "stepping stones," is a significant challenge. The core difficulty lies in the hybrid nature of these systems, which involve both continuous (joint positions, velocities) and discrete (contact on/off) variables. Optimizing these simultaneously in real-time is computationally prohibitive. Existing methods either sacrifice optimality for speed (e.g., heuristic-based approaches) or are too slow for real-time application (e.g., mixed-integer optimization). This paper aims to bridge this gap by enabling robots to make intelligent, optimal discrete choices (where to step) while maintaining fast, continuous control.

Methods

The proposed solution is a two-layer architecture:

  1. Sampling-Based Foothold Selection: This layer handles the discrete decision-making. Given a desired velocity command, it samples potential footholds around the robot's predicted path. This is done by creating a "sample tree" that explores combinations of terrain pieces for each foot. The sampling is weighted by the area of the terrain within the robot's kinematic limits to favor larger, more stable footholds. This layer outputs a set of chosen terrain pieces (polytopes) for the MPC.
  2. Fixed-Mode Model Predictive Control (MPC): This layer takes the fixed discrete footholds from the sampling layer and generates smooth, continuous motion. It formulates a nonlinear program (NLP) to optimize trajectories over a finite horizon. To achieve real-time performance, the MPC uses a "Real Time Iterations" approach, solving only one iteration of a Sequential Quadratic Programming (SQP) method per control cycle. Crucially, it optimizes in the quaternion tangent space to avoid singularities associated with Euler angles and uses an inverse dynamics formulation for the dynamics constraints.

Datasets

Not discussed in the paper. The paper focuses on simulation and hardware experiments using existing robots (Unitree Go2 quadruped and Unitree G1 humanoid).

Key Insights and Ideas

  • Layered Optimization is Key: Separating the discrete foothold selection from the continuous motion control is the core innovation. This allows each problem to be solved with appropriate methods (sampling for discrete, smooth NLP for continuous) without overwhelming the system.
  • Sampling for Discrete Choices: Using a sampling-based approach for discrete decisions (like foothold selection) is more robust and generalizable than relying on hand-crafted heuristics, especially for tasks beyond simple stepping stones.
  • Quaternion Tangent Space for Orientation: Optimizing orientation in the quaternion tangent space is a critical detail for avoiding singularities and ensuring smooth, reliable control, particularly for humanoid robots.
  • Real-Time Iterations for MPC: Solving only one SQP iteration per control cycle is essential for achieving real-time performance, even if it means not fully converging the optimization. The paper shows this is sufficient for dynamic locomotion.
  • Robustness through Constraint Shrinking: Slightly shrinking the terrain polytopes (constraints) in the MPC helps prevent infeasibility and guides the robot away from edges, improving robustness to model inaccuracies.

Key Results

  • Improved Performance over Heuristics: In simulations, the sampling-based method significantly outperformed the Raibert heuristic for terrain selection, with the heuristic failing to reach the goal 80% of the time, while the sampling method succeeded in most cases.
  • Real-Time Operation: The controller was demonstrated to run in real-time on both a quadruped and a simulated humanoid robot.
  • Hardware Validation: The system was successfully tested on a Unitree Go2 quadruped navigating a challenging terrain with small blocks, even with wobbling platforms and unmodeled lidar weight.
  • Humanoid Arm/Waist Optimization: In simulation, the humanoid robot effectively used its arms and waist for balance while traversing gaps, showcasing the benefit of optimizing these degrees of freedom.
  • Speed: The algorithm is reported to be faster than other Contact-Implicit MPC (CIMPC) approaches and full-order sampling methods running on GPUs.

Limitations and Future Work

  • Sampling Algorithm: While effective, the paper suggests further experimentation with the sampling algorithm itself, potentially integrating more advanced sampling methods like MPPI.
  • Real-Time Iterations and Changing Constraints: The interaction between the "Real Time Iterations" MPC approach (where the QP is not fully solved) and the dynamically changing constraints from the sampling process is an area for future investigation.
  • Generalization: The authors believe the architecture can be applied to other tasks beyond stepping stones, such as push recovery using arms to brace against a wall, and suggest this as future work.
  • Adaptive Discretization: The paper uses fixed non-uniform discretization for the MPC horizon, but adaptive discretization could potentially offer further improvements.

Summary updated

BibTeX
@inproceedings{olkin2025locomotion,
  author = {Zachary Olkin and Aaron D. Ames},
  title = {{Locomotion on Constrained Footholds via Layered Architectures and Model Predictive Control}},
  booktitle = {Humanoids},
  year = {2025},
  doi = {10.1109/humanoids65713.2025.11203039},
}
Figure