Adaptive gait control of a biped robot based on realtime sensing of the ground profile | Synapse