Endpoint-Explicit Differential Dynamic Programming via Exact Resolution
Maria Parilli, Sergi Martinez, Carlos Mastalli
TL;DR
This work tackles the challenge of enforcing endpoint constraints in constrained differential dynamic programming (DDP) by introducing an endpoint-explicit formulation that achieves exact, quadratic convergence. It derives two exact factorization strategies for the resulting saddle-point KKT system: a Schur-complement approach and a rank-deficient-friendly nullspace decomposition, enabling efficient Riccati recursions and separation of endpoint-independent and endpoint-dependent directions. The method supports both forward and inverse dynamics and is demonstrated on a broad set of robotics problems, including gymnastic maneuvers and MPC-like trials, showing superior endpoint satisfaction and convergence speed compared to penalty-based methods. The approach, implemented openly in Crocoddyl, promises real-time applicability to complex robotic control by reusing unconstrained Riccati structures and providing robust handling of rank deficiencies in endpoints and stagewise constraints.
Abstract
We introduce a novel method for handling endpoint constraints in constrained differential dynamic programming (DDP). Unlike existing approaches, our method guarantees quadratic convergence and is exact, effectively managing rank deficiencies in both endpoint and stagewise equality constraints. It is applicable to both forward and inverse dynamics formulations, making it particularly well-suited for model predictive control (MPC) applications and for accelerating optimal control (OC) solvers. We demonstrate the efficacy of our approach across a broad range of robotics problems and provide a user-friendly open-source implementation within CROCODDYL.
