← Back to Visual Lab

Control playground · 02

Swing up,
catch, balance.

A cart drives two serial links from the hanging equilibrium toward upright. Watch a trajectory-optimized controller catch the remaining motion—or take over the actuator and attempt the swing-up yourself.

Live model

Serial double pendulum

Ready · trajectory tracking t = 0.00 s
Cart position 0.00 m
Link 1 angle 180.0°
Link 2 angle 180.0°
Actuator force 0.0 N

What this demonstrates. The automatic run tracks one precomputed swing-up trajectory for two seconds, then hands off to a local upright LQR law. Manual mode exposes the same force-limited plant without feedback so you can attempt the swing-up directly. The automatic controller recovers from the offered ±2 N·s impulses in this model, but it is not a globally stabilizing swing-up law. With feedback off, modest viscous friction at both joints dissipates the links’ motion toward the hanging configuration.