The Balancing Cube, balancing on one of its corners.
(Video taken by Sergei Lupashin.)
Measurements from six inertial measurement units (IMUs) on the cube are used to estimate the tilt of the body. The three lower modules use this information to shift their weight such that the cube balances.