IEEE/RSJ IROS 2026 · T. Chunawala, J. Kim, K. Akbari Hamed

▶ Watch the Video 📄 Read the Paper (arXiv)

This project lets a quadrupedal robot walk upright on its rear legs while bracing its front legs against nearby walls, for tight corridors and cluttered spaces. A multi-rate nonlinear MPC (MR-NMPC) plans the slow-updating footstep locations and the fast-updating body trajectory together in one optimization, instead of relying on a heuristic foot-placement rule.

Simulation snapshots of a Unitree A1 in wall-supported bipedal stance: with the Raibert heuristic the robot leaves the red safety envelope on irregular terrain and under a push, while with MR-NMPC it stays inside the green envelope

Simulation (Unitree A1). Top: with Raibert-heuristic foot placement, the robot leaves the safety envelope (red) on irregular terrain and under an external push. Bottom: with the MR-NMPC planner, it stays within the envelope (green).


Problem

  • An upright, wall-supported posture is underactuated, hybrid and dynamically unstable, with brief, small-area contacts.
  • Body motion, contact forces and foot placement are strongly coupled, and they evolve at different rates.
  • Standard MPC assumes uniform input rates and usually places feet with a heuristic (such as the Raibert rule), which breaks down on irregular terrain at higher speeds.

Approach

Layered control architecture: a multi-rate NMPC planner with a slow footstep planner and fast single-rigid-body dynamics feeds a whole-body controller that sends joint torques to the robot

Layered control architecture. The multi-rate NMPC planner (100 Hz) contains a slow footstep planner and the fast SRB dynamics; footstep updates δ(t)Δv are applied only at switching instants. A whole-body controller tracks the plan using the full-order dynamics.

  • Multi-Rate NMPC (High Level): Plans footstep locations together with the center-of-mass and orientation trajectories, using a single-rigid-body (SRB) model with contact constraints.
  • Multi-Rate Formulation: Footstep locations are added to the state, and their updates are gated by an indicator function that is nonzero only at contact-switching instants. This lets one optimization handle slow footstep decisions (5 Hz) alongside fast body-motion and contact-force updates (100 Hz), without a separate footstep planner.
  • Foothold Propagation: Future footholds are part of the prediction dynamics, so the controller can choose asymmetric front and rear step lengths to keep balance.
  • Whole-Body Controller (Low Level): A nonlinear QP controller based on virtual constraints tracks the MPC references using the full-order robot dynamics.

  • Wall-Supported Gait: Each gait domain cycles through four-, three- and two-contact phases, with the front feet bracing against the wall.
Contact schedule of the four feet over two 200 ms gait domains

Contact schedule over two gait domains (filled = foot in contact). Each 200 ms domain moves from four contacts (50 ms) to three (30 ms) to two (120 ms), alternating sides.

ParameterValue
High-Level MR-NMPC Rate100 Hz
Footstep Update Rate5 Hz (once per gait domain)
Prediction Horizon20 steps (200 ms)
Mean Solve Time8.26 ms
SolverCasADi / IPOPT
Low-Level Whole-Body Controller Rate1 kHz
Simulation PlatformUnitree A1 in RaiSim
Hardware PlatformUnitree Go2 (Preliminary)

Results

Simulation (Unitree A1)

  • 2.9× higher success rate than MPC with Raibert-heuristic foot placement: 68.8% vs. 23.6% across 250 randomized 7 m tracks with random wooden-block terrain, with speeds ramped up to 0.8 m/s.
Survival plot: share of 250 trials still successful versus distance traveled; MR-NMPC ends at 68.8%, Raibert heuristic at 23.6%

Share of 250 randomized trials still successful versus distance traveled. Both controllers perform similarly for the first 2 m; as speed increases, the Raibert heuristic fails more often, while MR-NMPC keeps 68.8% of trials successful at 7 m.

  • Rejects a 50 N sinusoidal push while staying within safety and kinematic limits, by choosing shorter, asymmetric steps where the heuristic over-steps.

Preliminary Hardware (Unitree Go2)

  • Real-Time Deployment: The robot moves from a crouch to upright wall-supported bipedal locomotion and keeps its balance for over 60 s.
  • State Estimation: A dedicated estimator reduced noise in the velocity estimates, which was critical for getting the Go2 to stand and balance upright.
  • Next Step: Wall-supported bipedal walking over uneven terrain on the Go2 hardware.
Unitree A1 in simulation on uneven wooden-block terrain

Simulation: Unitree A1 on randomized wooden-block terrain.

Unitree Go2 in a wall-supported upright bipedal stance

Hardware: Unitree Go2 in wall-supported bipedal locomotion.


What I Built

  • The MR-NMPC formulation and its CasADi/IPOPT implementation
  • A multithreaded real-time C++ control stack linking the NMPC to the whole-body controller
  • A 1 kHz kinematics–IMU state estimator that reduced velocity-estimation noise, enabling upright balance on hardware
  • The randomized-terrain benchmark against the Raibert heuristic