Following the principle of chaos control, the robot produces regular leg movements when walking normally. In addition, it can use the uncontrolled chaotic movement pattern to free itself when its leg is trapped in a hole.