Understanding The Fundamentals of Bipedal Locomotion In Humans And Robots