The present invention may provide a method of generating a walking pattern
for a humanoid robot. The method of generating the walking pattern for
the humanoid includes determining a position of a next Zero Moment Point
(ZMP) along a moving direction of the humanoid robot, obtaining a first
condition for generating a walking pattern based on the determined ZMP by
using a periodic step module, generating trajectories of a ZMP and a
Center of Mass (CoM) in an initial step based on the first condition and
an initial value obtained from an initial state of the humanoid robot by
using a transient step module, generating trajectories of a ZMP and a CoM
in a steady step based on the ZMP of two steps by using a steady step
module, and generating trajectories of a ZMP and a CoM in a final step by
using the transient step module.