Perceptive Locomotion through Nonlinear Model Predictive Control

Ruben Grandia, Fabian Jenelten, Shaohui Yang, Farbod Farshidian, Marco Hutter

TL;DR

This paper presents a novel approach to enable quadrupedal robots to navigate complex, uneven terrain in real-time. By tightly integrating perception with nonlinear Model Predictive Control (MPC), the robot can simultaneously optimize its entire body's motion, including foot placement and collision avoidance, leading to state-of-the-art dynamic locomotion.

What Problem Does This Paper Address?

Autonomous robots, especially legged ones, struggle to navigate challenging environments like rough terrain, which requires precise foot placement, collision avoidance, and dynamic stability. Existing methods often rely on simplified assumptions (e.g., flat terrain) or separate perception and control pipelines, leading to suboptimal or brittle performance. The core challenge is to reliably plan and execute complex, dynamic motions in real-time while accounting for imperfect and incomplete sensory information about the environment.

Methods

The authors propose a complete perception, planning, and control pipeline built around Nonlinear Model Predictive Control (MPC). Key innovations include:

  • Perceptive Foothold Constraints: Instead of relying on pre-defined footholds, the system extracts local approximations of feasible footholds from terrain data (e.g., convex polygons). This allows the optimization to actively choose and refine foot placements.
  • Signed Distance Field (SDF) for Collision Avoidance: An SDF is precomputed to represent the terrain, enabling the MPC to actively avoid collisions with the environment, including with the robot's own limbs.
  • Simultaneous Optimization: The MPC optimizes over all degrees of freedom of the robot, including its torso and leg motions, and contact forces. This holistic approach avoids the limitations of decoupled planning.
  • Efficient Numerical Strategy: A combination of multiple-shooting discretization, sequential quadratic programming (SQP), and a filter-based line-search is used to solve the complex optimization problem in real-time. This strategy is designed to be robust and fast, even in challenging scenarios.
  • Perception Pipeline: A 20 Hz perception pipeline preprocesses elevation map data to classify steppable areas, segment planes, and compute the SDF and torso references, which are then fed into the 100 Hz MPC.

Datasets

The paper does not explicitly mention training datasets. Evaluation is performed using:

  • Simulation: Scenarios include gaps, slopes, stepping stones, an obstacle course, and stairs.
  • Hardware Experiments: The ANYmal quadruped robot is used to validate the method on real-world terrains, including uneven stepping stones, stairs, and an obstacle course.

Key Insights and Ideas

  • The power of integrating perception directly into the optimization: By treating terrain as a set of geometric constraints within the MPC, the robot can make more informed and dynamic decisions about foot placement and collision avoidance.
  • Local convex approximations are key: Representing complex terrain locally with convex shapes (like polygons) for foothold constraints strikes a good balance between capturing terrain geometry and maintaining computational tractability for the optimizer.
  • Simultaneous optimization of all DOFs is crucial for dynamic maneuvers: Decoupling torso and leg motion planning leads to suboptimal solutions and makes it hard to handle complex interactions like limb-terrain collisions.
  • Robust numerical methods are essential for real-time performance: The combination of multiple-shooting, SQP, and a filter-based line-search is critical for reliably solving the nonlinear optimization problem under tight time constraints.
  • The importance of modeling the full robot dynamics: Using a simplified rigid body dynamics model can lead to significant errors in center of mass estimation, especially in dynamic gaits on uneven terrain, causing instability.

Key Results

  • The proposed method achieves state-of-the-art dynamic climbing and robust locomotion across various challenging terrains (gaps, slopes, stepping stones, stairs).
  • The system can optimize motions for all degrees of freedom in real-time, with an MPC update rate of 100 Hz.
  • The perception pipeline (classification, segmentation, SDF computation) runs at 20 Hz, efficiently preparing data for the MPC.
  • The inclusion of knee collision avoidance was shown to be critical for successfully stepping up obstacles.
  • The multiple-shooting solver demonstrated superior robustness compared to DDP-based methods (like iLQR) in complex scenarios where rollouts become unstable.
  • Hardware experiments validated the controller's ability to handle real-world challenges, including uneven stepping stones and stairs, with reactive behaviors for contact mismatches.

Limitations and Future Work

  • Gait Pattern: The current controller relies on an externally given gait pattern, with only limited adaptation for early/late touchdown. The authors suggest that more sophisticated reactive behaviors or learned policies could improve robustness to disturbances.
  • Independent Plane Segmentation: The current plane segmentation treats each leg's foothold constraints independently. This can lead to issues where all legs might end up on the same tread when walking sideways on stairs, creating fragile support. Future work could consider simultaneous consideration of all legs.
  • Local Motion Planning: The method focuses on local motion planning and control, not global navigation.
  • Local Optima and Infeasibility: While the proposed methods mitigate these issues, the controller can still get stuck in local optima, particularly in scenarios with thin, tall obstacles where SDF gradients might not provide sufficient cues. The authors suggest exploring sampling-based recovery strategies or learned initializations.
  • Perceptive Information Limitations: In some hardware scenarios, artefacts from impacts and state estimation drift can degrade the quality of the elevation map, making it unusable.

Summary updated

BibTeX
@article{grandia2022perceptive,
  author = {Ruben Grandia and Fabian Jenelten and Shaohui Yang and Farbod Farshidian and Marco Hutter},
  title = {{Perceptive Locomotion through Nonlinear Model Predictive Control}},
  journal = {IEEE Trans. Robotics},
  year = {2022},
}
Figure