Legged robots can outperform wheeled machines over rough, unknown terrains. Terrain-awareness is required to keep them out of trouble. Researchers have now developed a real-time, dynamic foothold adaptation strategy based on visual feedback to enable quadruped robots to adjust the landing position their feet.
Only onboard computers and sensors are used to pull this off. The above video shows the quadruped robot HyQ utilizing this approach.
[Source]