Skip to content

Software

Aligator

By SimpleRobotics, France (checked on github.com/Simple-Robotics (opens in a new tab)), from github.com/Simple-Robotics/aligator (opens in a new tab)

  • Robot arms and industry
  • Library
  • BSD-2-Clause

Aligator is a C++ library with Python bindings for constrained trajectory optimization, used in robotics for motion planning, state estimation and model-predictive control.

Facts

GitHub stars
348read on 27 Nov 2026
Last update
24 Nov 2026Newest commit on main
Maintenance
Activea commit in the last 90 days
Difficulty
Advanced

Checked on GitHub on 27 Nov 2026.

Licenses

Code
BSD-2-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-2-Clause) at commit 5407fd1 (opens in a new tab), on 27 Nov 2026.

Commercial use
Yes

At a glance

What it is
  • Provides a node-per-node modelling interface for optimal control problems.
  • Implements the ProxDDP and FeasibleDDP solvers for constrained trajectory optimization.
  • Offers several routines for factorizing the linear problems that arise in numerical optimal control.
  • Supports the Pinocchio rigid-body dynamics library and its analytical derivatives.
  • Includes an interface to the Crocoddyl trajectory optimization library as an alternative frontend.
  • Exposes a Python API for prototyping formulations and deploying them.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
BSD-2-Clause. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's website (opens in a new tab)
Maintenance
Active, last commit on 24 Nov 2026.

Use it

How to install it, in the creator's words: The project's website (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 5407fd1

Robotheca read the repository at two versions: the summary at 05f19ca and the facts and the README at 5407fd1 (read on 27 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by SimpleRobotics, at commit 5407fd1, under BSD-2-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Aligator

(opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) Image (opens in a new tab) (opens in a new tab)

Aligator is an efficient and versatile trajectory optimization library for robotics and beyond.

It can be used for motion generation and planning, optimal estimation, deployment of model-predictive control on complex systems, and much more.

Developing advanced, open-source, and versatile robotics software such as aligator takes time and energy while requiring a lot of engineering support. In recognition of our commitment, we would be grateful if you would quote our papers and software in your publications, software, and research articles. Please refer to the Citation section for further details.

Table of contents
Features

Aligator is a C++ library, which provides

  • a modelling interface for optimal control problems, node-per-node
  • a set of efficient solvers for constrained trajectory optimization
  • multiple routines for factorization of linear problems arising in numerical OC
  • support for the pinocchio (opens in a new tab) rigid-body dynamics library and its analytical derivatives
  • an interface to the Crocoddyl (opens in a new tab) trajectory optimization library which can be used as an alternative frontend
  • a Python API which can be used for prototyping formulations or even deployment.

Aligator provides efficient implementations of the following algorithms for (constrained) trajectory optimization:

Installation
From Conda

From either conda-forge or our channel (opens in a new tab).

conda install -c conda-forge aligator
From source with Pixi

To build aligator from source the easiest way is to use Pixi (opens in a new tab).

Pixi (opens in a new tab) is a cross-platform package management tool for developers that will install all required dependencies in .pixi directory. It's used by our CI agent so you have the guarantee to get the right dependencies.

Run the following command to install dependencies, configure, build and test the project:

pixi run test

The project will be built in the build directory. You can run pixi shell and build the project with cmake and ninja manually.

Build from source
git clone https://github.com/Simple-Robotics/aligator --recursive
cmake -DCMAKE_INSTALL_PREFIX=your_install_folder -S . -B build/ && cd build/
cmake --build . -jNCPUS
Dependencies
Python dependencies
Notes on building
  • For developers, add the -DCMAKE_EXPORT_COMPILE_COMMANDS=1 when working with language servers e.g. clangd.
  • To use the Crocoddyl interface, add -DBUILD_CROCODDYL_COMPAT=ON
  • By default, building the library will instantiate the templates for the double scalar type.
  • To build against a Conda environment, activate the environment and run export CMAKE_PREFIX_PATH=$CONDA_PREFIX before running CMake and use $CONDA_PREFIX as your install folder.
Usage

aligator can be used in both C++ (with CMake to create builds) and Python.

Users can refer to examples (opens in a new tab) in either language to see how to build a trajectory optimization problem, create a solver instance (with parameters), and solve their problem.

For how to use aligator in CMake, including creation of a Python extension module in C++, please refer to the advanced user's guide (opens in a new tab).

Aligator parallel & CPU optimizations

Please see the advanced user's guide (opens in a new tab)

Benchmarking

The repo aligator-bench (opens in a new tab) provides a comparison of aligator against other solvers.

For developer info on benchmarking, see doc/advanced-user-guide.md (opens in a new tab).

Citing aligator

To cite aligator in your academic research, please use the following bibtex entry:

@misc{aligatorweb,
  author = {Jallet, Wilson and Bambade, Antoine and El Kazdadi, Sarah and Carpentier, Justin and Mansard, Nicolas},
  title = {aligator},
  url = {https://github.com/Simple-Robotics/aligator}
}

Please also consider citing the reference paper for the ProxDDP algorithm:

@article{jalletPROXDDPProximalConstrained2025,
  title = {PROXDDP: Proximal Constrained Trajectory Optimization},
  shorttitle = {PROXDDP},
  author = {Jallet, Wilson and Bambade, Antoine and Arlaud, Etienne and {El-Kazdadi}, Sarah and Mansard, Nicolas and Carpentier, Justin},
  year = {2025},
  month = mar,
  journal = {IEEE Transactions on Robotics},
  volume = {41},
  pages = {2605--2624},
  issn = {1941-0468},
  doi = {10.1109/TRO.2025.3554437},
  urldate = {2025-04-04}
}
Contribution

If you want to ask a question, report a bug, request a new feature or contributing with a pull requests please, follow the contribution guideline (opens in a new tab).

Core-dev team

The currently active core developers of Aligator are:

Credits

In addition to the core dev team, the following people have also been involved in the development of Aligator and are warmly thanked for their contributions:

If you have participated in the development of Aligator, please add your name and contribution to this list.

Acknowledgments

The development of Aligator is actively supported by the Willow team (opens in a new tab) @INRIA (opens in a new tab) and the Gepetto team (opens in a new tab) @LAAS-CNRS (opens in a new tab).

Associated scientific and technical publications
  • E. Ménager, A. Bilger, W. Jallet, J. Carpentier, and C. Duriez, ‘Condensed semi-implicit dynamics for trajectory optimization in soft robotics’, in IEEE International Conference on Soft Robotics (RoboSoft), San Diego (CA), United States: IEEE, Apr. 2024. doi: 10.1109/RoboSoft60065.2024.10521997.
  • W. Jallet, N. Mansard, and J. Carpentier, ‘Implicit Differential Dynamic Programming’, in 2022 International Conference on Robotics and Automation (ICRA), Philadelphia, United States: IEEE Robotics and Automation Society, May 2022. doi: 10.1109/ICRA46639.2022.9811647.
  • W. Jallet, A. Bambade, N. Mansard, and J. Carpentier, ‘Constrained Differential Dynamic Programming: A primal-dual augmented Lagrangian approach’, in 2022 IEEE/RSJ International Conference on Intelligent Robots and Systems, Kyoto, Japan, Oct. 2022. doi: 10.1109/IROS47612.2022.9981586.
  • W. Jallet, A. Bambade, N. Mansard, and J. Carpentier, ‘ProxNLP: a primal-dual augmented Lagrangian solver for nonlinear programming in Robotics and beyond’, in 6th Legged Robots Workshop, Philadelphia, Pennsylvania, United States, May 2022. Accessed: Oct. 10, 2022. [Online]. Available: https://hal.archives-ouvertes.fr/hal-03680510 (opens in a new tab)
  • W. Jallet, A. Bambade, E. Arlaud, S. El-Kazdadi, N. Mansard, and J. Carpentier, ‘PROXDDP: Proximal Constrained Trajectory Optimization’, IEEE Transactions on Robotics, vol. 41, pp. 2605–2624, Mar. 2025, doi: 10.1109/TRO.2025.3554437.
  • S. Kazdadi, J. Carpentier, and J. Ponce, ‘Equality Constrained Differential Dynamic Programming’, presented at the ICRA 2021 - IEEE International Conference on Robotics and Automation, May 2021. Accessed: Sep. 07, 2021. [Online]. Available: https://hal.inria.fr/hal-03184203 (opens in a new tab)
  • A. Bambade, S. El-Kazdadi, A. Taylor, and J. Carpentier, ‘PROX-QP: Yet another Quadratic Programming Solver for Robotics and beyond’, in Robotics: Science and Systems XVIII, Robotics: Science and Systems Foundation, Jun. 2022. doi: 10.15607/RSS.2022.XVIII.040.
  • W. Jallet, E. Dantec, E. Arlaud, N. Mansard, and J. Carpentier, ‘Parallel and Proximal Constrained Linear-Quadratic Methods for Real-Time Nonlinear MPC’, in Proceedings of Robotics: Science and Systems, Delft, Netherlands, Jul. 2024. doi: 10.15607/RSS.2024.XX.002.
  • E. Dantec, W. Jallet, and J. Carpentier, ‘From centroidal to whole-body models for legged locomotion: a comparative analysis’, presented at the 2024 IEEE-RAS International Conference on Humanoid Robots, Nancy, France: IEEE, Jul. 2024. [Online]. Available: https://inria.hal.science/hal-04647996 (opens in a new tab)

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.