NAO robots tested balance on sand and stairs.

Researchers used ankle-joint trajectory compensation guided by zero-moment-point feedback to keep two-legged robots stable on uneven terrain.

The control strategy has only been proven on lab stairs and sand, not real-world terrain.

Sources: Nature