360 likes | 383 Views
Generate dynamic motions optimizing legged robot trajectories using Towr for optimal control and contact constraints.
E N D
Motion Planning: Generate Dynamic Motions for Legged Robots Mathieu Geisert MEMMO WS
Generate Dynamic Motions for Legged Robots TOWR repository: https://github.com/ethz-adrl/towr VM: https://cloud.laas.fr/index.php/s/r8hu0GnFDxCfeX3
Dynamic Model Rigid Body Dynamics Representation Governing Equations Assumptions or • Rigid body, i.e. no deformation when forces are applied
Dynamic Model Centroidal Dynamics Representation Governing Equations Assumptions Torque motor feasible or
Dynamic Model Centroidal Dynamics Representation Governing Equations Assumptions Torque motor feasible or Underaction => plan trajectories Optimal Control
Dynamic Model Centroidal Dynamics Representation
Dynamic Models Contact constraints Representation Legged Robots Forces only when contact+ Friction cone Reachable contact positions
Contacts Discovering contact with optimal control? Local approximation Constant 0 force
Contacts Guiding optimization to contacts Local approximation Increase when closer
Contacts Predefining contacts Stance/swing phase for each leg. Contact Switching DS SS - right foot DS SS - left foot
Contacts Predefining contacts Stance/swing phase for each leg. Contact Switching DS SS - right foot DS SS - left foot Carpentier’s 3d Pattern Generator TOWR A. W. Winkler, C. D. Bellicoso, M. Hutter, and J. Buchli, ‘Gait and Trajectory Optimization for Legged Systems Through Phase-Based End-Effector Parameterization’, IEEE Robotics and Automation Letters, vol. 3, no. 3, pp. 1560–1567, Jul. 2018. Justin Carpentier, Nicolas Mansard, “Multi-contact Locomotion of Legged Robots”, IEEE Transactions on Robotics 2018.
Dynamic Models Single Rigid Body Dynamics Representation Governing Equations Assumptions • Negligible momentum due to joints, i.e. the effect of joints’ velocities is insignificant • Negligible change in full-body inertia, i.e. the effect of joints’ positions is insignificant Single Rigid Body Dynamics: End-effector position/forces:-Zero forces at swing phases.-Height at stance phase = height map.
Collocation, Parametrisation and Constraints Cubic (Hermite) Polynomial Parametrisation Collocation and Constraints
Range of Motion [1] A. W. Winkler, C. D. Bellicoso, M. Hutter, and J. Buchli, ‘Gait and Trajectory Optimization for Legged Systems Through Phase-Based End-Effector Parameterization’, IEEE Robotics and Automation Letters, vol. 3, no. 3, pp. 1560–1567, Jul. 2018. [2] M. Hutter et al., ‘ANYmal - a highly mobile and dynamic quadrupedal robot’, in 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2016, pp. 38–44.
Contact Model [1] S. Caron, ‘Computational Foundation for Planner-in-the-Loop Multi-Contact Whole-Body Control of Humanoid Robots’, The University of Tokyo, 2017. [2] A. W. Winkler, C. D. Bellicoso, M. Hutter, and J. Buchli, ‘Gait and Trajectory Optimization for Legged Systems Through Phase-Based End-Effector Parameterization’, IEEE Robotics and Automation Letters, vol. 3, no. 3, pp. 1560–1567, Jul. 2018.
TOWR - test Changing friction coefficient: towr/include/towr/terrain/height_map.h Changing maximum force: towr/src/parameters.cc
Contact Model Negligible Friction Actuator Force Limited
Range of Motion Chaotic movement of end-effectors Cuboidal ranges not respected
Range of Motion Carpentier’s PG: -Compute the Range of Motion as a density of probability using random sampling. -Approximate the density using Gaussian Mixture Models. -Add a cost corresponding to -log(p) => The integration of this cost will allow a continuous checking of the constraint.
TOWR - test Changing the environment:towr/include/terrain/example/height_map_example.hhtowr/src/height_map_example.cc
Contact position Local approximation of the height map.
Contact position Local approximation of the height map: timestep 1
Contact position Local approximation of the height map: timestep 2
Contact position Local approximation of the height map: timestep 3
Contact position Local approximation of the height map: timestep 3 => Precomputed the contact surfaces using HPP contact planner..
Contact position: MEMMO pipeline Andrea Del Prete: TSIDNicolas Mansard/Carlos Mastalli Steve Tonneau : HPP rbprm
Reactive Replanning via Model Predictive Control (MPC) If motion planning is achieved through a high-raterecursive optimisation of the robot dynamics, the method is termed Model Predictive Control (MPC).
Reactive Replanning via Model Predictive Control (MPC) Reducing computation time:- Convex approximation of the angular momentum Ponton, B., Herzog, A., Schaal, S., Righetti, L. A, “Convex Model of Momentum Dynamics for Multi-Contact Motion Generation”, IEEE-RAS Humanoids 2016. - Quadratic approximation of the frictional wrench coneJustin Carpentier, Nicolas Mansard, “Multi-contact Locomotion of Legged Robots”, IEEE Transactions on Robotics 2018. - Better initial guess
Reactive Replanning via Model Predictive Control (MPC) Reducing computation time:- Convex approximation of the angular momentum Ponton, B., Herzog, A., Schaal, S., Righetti, L. A, “Convex Model of Momentum Dynamics for Multi-Contact Motion Generation”, IEEE-RAS Humanoids 2016. - Quadratic approximation of the frictional wrench coneJustin Carpentier, Nicolas Mansard, “Multi-contact Locomotion of Legged Robots”, IEEE Transactions on Robotics 2018. - Better initial guess Nicolas Mansard, Andrea Del Prete, Mathieu Geisert, Steve Tonneau, Olivier Stasse. “Using a Memory of Motion to Efficiently Warm-Start a Nonlinear Predictive Controller”, IEEE ICRA 2018. MEMMO