Overview
OTTO rolls on two wheels and uses its two-joint legs to change height and leave the ground. This project makes it perform a full forward somersault. It crouches, pushes off, rotates a full turn in the air, lands on its wheels and recovers.
The robot is underactuated at the wheel contact, and once it leaves the ground its angular momentum is fixed, so the landing is decided at push-off. Earlier controllers hand-design the take-off and landing or impose a full terminal state without reporting the touchdown rate it demands. This project plans the maneuver around what landing the recovery controller can accept.
Process
Model the robot
The planar rigid-body model has six coordinates, with the two legs commanded as one. Every mass, inertia and joint origin is read from the URDF the robot runs on, and the plan and the stance NMPC use the same dynamics.
Plan the whole maneuver
Stance and flight are solved as one problem, transcribed by Hermite-Simpson direct collocation, with both phase durations left free.
Define a landing the robot can catch
Instead of fixing an exact touchdown state, the plan bounds the touchdown pitch rate and centers the landing pose on the recovery controller's own equilibrium.
Track it with NMPC
During stance, an acados NMPC re-solves its prediction every \(20\,\mathrm{ms}\) over a horizon of 40 grid steps. The plan uses only a share \(\alpha\) of each joint's torque, which leaves the share \(1-\alpha\) for the NMPC correction.
Hold the plan in flight
Once the wheels leave the ground, the total angular momentum is fixed and the NMPC no longer runs. The legs track the plan. The wheels hold the planned wheel speed.
Recover at touchdown
At touchdown, the sequencer hands control to an LQR on an eight-state wheeled inverted pendulum linearized at the upright pose. Its equilibrium pose centers the touchdown band and is the entire interface between the plan and this controller.
Stress-test in simulation
Mass error, IMU noise, lower ground and extra payload show how much the plan and the tracker can each absorb. The controllers run in MuJoCo through ros2_control.
Results
The nominal case and every disturbance level run ten times, and 196 of the 200 runs complete the somersault. A run completes when two conditions hold.
- The body turns at least \(270^\circ\) in flight, three quarters of the commanded turn.
- No body other than the wheels touches the ground beyond a brief graze at landing.
Nominal Somersault
Table 1. Nominal somersault, ten runs. Rotation in flight, pitch from level at touchdown, peak tilt after touchdown
| Metric | Min | Max | Run Shown |
|---|---|---|---|
| Done | 10/10 | ||
| Rotation (deg) | 367.9 | 381.7 | 372.9 |
| Touchdown Pitch (deg) | −2.9 | +1.8 | −0.5 |
| Peak Tilt (deg) | 10.6 | 22.5 | 22.5 |
| Min Base Height (m) | 0.2157 | 0.2162 | 0.2161 |
| Flight (s) | 0.372 | 0.404 | 0.384 |
The run shown lands \(0.5^\circ\) from level. It leaves the ground with an angular momentum \(11.0\%\) below the plan, and still completes the turn.
Real-Time Feasibility
Table 2. Stance NMPC solve time over ten nominal runs
| Metric | Value |
|---|---|
| Mean | 8.11 ms |
| Median | 8.06 ms |
| 95th Percentile | 8.45 ms |
| Maximum | 8.72 ms |
| Over the 20 ms Period | 0 of 10 |
| Machine | Intel Core i7-12700 |
Every solve sits inside the \(20\,\mathrm{ms}\) control period.
Robustness to Uncertainty
Three errors are tested.
- A wrong torso mass belief in the controller.
- Noise on the orientation and rate the controller reads.
- A landing surface below the planned height.
Ranges are over the completed runs.
Table 3. Robustness, ten runs per level. Rotation in flight, pitch from level at touchdown
| Case | Rotation (deg) | Touchdown Pitch (deg) | Done |
|---|---|---|---|
| Mass Belief −40% | 357.5 to 374.6 | −19.5 to +1.6 | 10/10 |
| Mass Belief −20% | 364.6 to 374.5 | −8.2 to +0.6 | 9/10 |
| Mass Belief +20% | 367.8 to 376.4 | −12.3 to −0.5 | 10/10 |
| Mass Belief +40% | 367.5 to 379.6 | −6.3 to +0.6 | 10/10 |
| IMU 33% | 367.0 to 375.7 | −4.1 to +0.6 | 10/10 |
| IMU 67% | 365.1 to 376.3 | −7.5 to −0.4 | 10/10 |
| IMU 100% | 333.6 to 380.8 | −47.6 to +2.2 | 9/10 |
| Ground −5 cm | 359.8 to 377.1 | −16.0 to +3.7 | 9/10 |
| Ground −10 cm | 355.7 to 364.8 | −16.5 to −0.3 | 10/10 |
A torso mass belief \(20\%\) low, full IMU noise and a surface \(5\,\mathrm{cm}\) lower each complete 9 of 10 runs. Every other level completes all ten.
Added Torso Mass
Re-solving the plan for a known torso mass change is tested from \(+20\) to \(+100\%\) against the nominal plan kept fixed. The fixed plan completes 49 of 50 runs and the re-solved plan completes all 50. At \(+60\%\), the run shown lands \(0.3^\circ\) from level with the re-solved plan, against \(5.7^\circ\) for the fixed plan.
Table 4. Added torso mass, ten runs per level. Pitch from level at touchdown
| Mass | Fixed Plan | Re-solved Plan | ||
|---|---|---|---|---|
| Pitch (deg) | Done | Pitch (deg) | Done | |
| +20% | −8.8 to +1.1 | 10/10 | −40.1 to +0.5 | 10/10 |
| +40% | −9.0 to +1.8 | 10/10 | −5.1 to +0.1 | 10/10 |
| +60% | −57.3 to −3.1 | 10/10 | −56.1 to +0.5 | 10/10 |
| +80% | −50.3 to +0.8 | 10/10 | −24.1 to +1.7 | 10/10 |
| +100% | −4.9 to +1.6 | 9/10 | −5.8 to +1.8 | 10/10 |

