Robust Control of Legged Robot Based on Ultrasonic Sensor