Modeling and Control of Humanoid Robots