Text this: Smooth and Energy Saving Gait Planning for Humanoid Robot Using Geodesics