Home▸Robotics & Kinematics▸Quadruped Ground-Reaction Force QP

Quadruped Ground-Reaction Force QP

Interactive whole-body-control demo: solve the per-cycle quadratic program that distributes ground-reaction forces across a quadruped's stance feet to realize a desired body wrench while respecting unilateral and Coulomb friction-cone constraints.

Robotics & Kinematics3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
Quadruped Ground-Reaction Force QP ↗ Open standalone

Whole-body controllers for legged robots don't just plan joint motions — every cycle they also solve a small quadratic program that splits a desired net body force and moment across whichever feet are currently on the ground, subject to each foot only being able to push (never pull) and only within its Coulomb friction cone. This simulator renders a quadruped in stance, lets you dial in a desired push, lean torque, and friction coefficient, and lifts individual legs on demand, then solves that contact-force QP live via a minimum-norm equality projection alternated with an exact closed-form projection onto each foot's friction cone — exactly the force-allocation module that sits inside real whole-body controllers, shown here as force arrows and cone wireframes colour-coded by how close each foot is to slipping.

⚙ Under the hood

Solve the per-cycle quadratic program that a legged whole-body controller uses to distribute ground-reaction forces across a quadruped's stance feet, realizing a desired body wrench while respecting unilateral and Coulomb friction-cone constraints.

roboticswhole-body controlquadratic programfriction conelegged robotscontact forces

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)