Kinematics of a walking biped robot