| CPC B25J 9/1666 (2013.01) [B25J 13/085 (2013.01); B62D 57/032 (2013.01)] | 20 Claims |

|
1. A computer-implemented method for controlling a legged robot, comprising:
in response to detection of a collision event associated with a foot of a swing leg of the biped robot, terminating a trajectory component planning of the swing leg in a collision direction, wherein the trajectory component planning in the collision direction comprises a trajectory component in a forward direction and a trajectory component in a lateral movement direction of a single-leg motion planning trajectory of the robot;
calculating a position offset in the collision direction according to an external force that is received by the foot of the swing leg in the collision direction and obtained in real time, based on a foot dragging control mode, and determining a replanned trajectory component in the collision direction based on the position offset; and
controlling the swing leg to move based on the replanned trajectory component in the collision direction and a desired trajectory component of the swing leg in a non-collision direction.
|