An Evaluation of Moreau’s time-stepping scheme for the simulation of a legged robot.