Crocoddyl: An Efficient and Versatile Framework for Multi-Contact Optimal Control

Carlos Mastalli, Rohan Budhiraja, Wolfgang Merkt, Guilhem Saurel, Bilal Hammoud +5 more
9/11/2019
cs.ROmath.OC

Official code: loco-3d/crocoddyl (1,321 stars, BSD-3-Clause, last commit 2026-10-20).

Abstract

We introduce Crocoddyl (Contact RObot COntrol by Differential DYnamic Library), an open-source framework tailored for efficient multi-contact optimal control. Crocoddyl efficiently computes the state trajectory and the control policy for a given predefined sequence of contacts. Its efficiency is due to the use of sparse analytical derivatives, exploitation of the problem structure, and data sharing. It employs differential geometry to properly describe the state of any geometrical system, e.g. floating-base systems. Additionally, we propose a novel optimal control algorithm called Feasibility-driven Differential Dynamic Programming (FDDP). Our method does not add extra decision variables which often increases the computation time per iteration due to factorization. FDDP shows a greater globalization strategy compared to classical Differential Dynamic Programming (DDP) algorithms. Concretely, we propose two modifications to the classical DDP algorithm. First, the backward pass accepts infeasible state-control trajectories. Second, the rollout keeps the gaps open during the early "exploratory" iterations (as expected in multiple-shooting methods with only equality constraints). We showcase the performance of our framework using different tasks. With our method, we can compute highly-dynamic maneuvers (e.g. jumping, front-flip) within few milliseconds.

View on arXivView PDF

Code Implementations(1)

loco-3d/crocoddylOfficial100%
BSD-3-Clause

Crocoddyl is an optimal control library for robot control under contact sequence. Its solver is based on various efficient Differential Dynamic Programming (DDP)-like algorithms

1,321215C++, NixJun 4, 20192 days agoBSD-3-Clause
code-generationcondacrocoddyldifferential-dynamic-programminglegged-robotics+6 more

Similar Papers

Cite this paper

@article{mastalli2019crocoddyl,
  title  = {Crocoddyl: An Efficient and Versatile Framework for Multi-Contact Optimal Control},
  author = {Carlos Mastalli and Rohan Budhiraja and Wolfgang Merkt and Guilhem Saurel and Bilal Hammoud and Maximilien Naveau and Justin Carpentier and Ludovic Righetti and Sethu Vijayakumar and Nicolas Mansard},
  year   = {2019},
  eprint = {1909.04947},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.04947}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.04947.svg)](https://codeofpaper.com/paper/1909.04947)

Discussion