A controller continuously estimates the balance state (from accelerometers and gyroscopes, among others) and adjusts joint torques and foot placement to maintain dynamic stability while walking; learned (RL) policies are increasingly used.
Enabling robots (especially humanoids) to move through spaces designed for humans (stairs, narrow passages) while solving the difficult problem of maintaining balance.