Software
Pinocchio
From github.com/stack-of-tasks/pinocchio (opens in a new tab)
- Robot arms and industry
- Library
- BSD-2-Clause
Pinocchio is an open-source C++ library, with Python bindings, for fast rigid multi-body dynamics and kinematics computations. It is mainly aimed at robotics and also used in other fields.
Facts
- GitHub stars
- 3,891read on 28 Nov 2026
- Last update
- 26 Nov 2026Newest commit on devel
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Advanced
- Hardware it needs, as the project states it
- It notes that its performance benchmarks were run on a laptop with an Intel Core i7 CPU @ 2.4 GHz, and that it is supported on Windows, Mac OS X, Unix and Linux.
Checked on GitHub on 28 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 e07eddd (opens in a new tab), on 28 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Implements rigid body algorithms for poly-articulated systems, including forward kinematics and forward/inverse dynamics.
- Provides analytical derivatives of the main rigid body algorithms, supporting gradient-based optimization and control.
- Handles closed-loop mechanisms, frictional contact solvers, centroidal dynamics and kinematic/dynamic regressors.
- Reads robot description formats including URDF, SDF, MJCF and SRDF, or models can be built programmatically.
- Built on Eigen for linear algebra and coal for collision detection; header-only C++17/20/23 template library.
- Installable through Conda, pip (Linux only), Docker or ROS packages; several visualizers are supported.
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 README (opens in a new tab)
- Maintenance
- Active, last commit on 26 Nov 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/stack-of-tasks/pinocchio (opens in a new tab)
- The version Robotheca reade07eddd (opens in a new tab)
- Latest releasepinocchio 4.1.0 (7 Jul 2026)
Robotheca read the repository at two versions: the summary at 700472f and the facts and the README at e07eddd (read on 28 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 @stack-of-tasks, at commit e07eddd, under BSD-2-Clause (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here

(opens in a new tab) (opens in a new tab) (opens in a new tab) Image: Coverage Report (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) Image: pre-commit.ci status (opens in a new tab) (opens in a new tab)
Pinocchio is open-source software actively developed by the Willow (opens in a new tab) team at Inria (opens in a new tab) in the lovely city of Paris. Pinocchio instantiates state-of-the-art Rigid Body Algorithms for poly-articulated systems, building upon and revisiting the foundational algorithms introduced by Roy Featherstone.
Beyond traditional rigid-body dynamics formulations, Pinocchio delivers cutting-edge algorithmic solutions for modern robotics and physics-based simulation challenges. It efficiently handles closed-loop kinematic mechanisms, solves frictional contact problems, and differentiates physics computations — making it a powerful and versatile library for both research and industrial applications.
Pinocchio also provides analytical derivatives of the main Rigid Body Algorithms — such as the Recursive Newton-Euler Algorithm and the Articulated-Body Algorithm — enabling gradient-based optimization, control, and learning in both simulation and real-world settings.
Pinocchio was originally designed for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and coal for collision detection. Pinocchio includes a Python interface for fast code prototyping, directly accessible (opens in a new tab) through Conda (opens in a new tab).
Pinocchio is now at the heart of various robotics software as Aligator (opens in a new tab), Crocoddyl (opens in a new tab), an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks (opens in a new tab), an open-source and versatile hierarchical controller framework, or the Humanoid Path Planner (opens in a new tab), open-source software for Motion and Manipulation Planning. Pinocchio is also a primary source of inspiration for the Kamino (opens in a new tab) simulator developed by Disney Research, which populates the Newton physics engine.
If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper (opens in a new tab) and the online documentation (opens in a new tab) or DeepWiki (opens in a new tab).
If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):
conda install pinocchio -c conda-forge
or via pip (currently only available on Linux):
pip install pin
Table of contents
- Table of contents
- Pinocchio main features
- Documentation
- Examples
- Tutorials
- Pinocchio continuous integrations
- Performances
- Ongoing developments
- Installation
- Visualization
- Citing Pinocchio
- Citing specific algorithmic contributions
- Contribution
- Core-dev team
- Credits
- Open-source projects relying on Pinocchio
- Acknowledgments
Pinocchio main features
Pinocchio is fast:
- C++ template library,
- cache-friendly,
- support custom scalar type.
Pinocchio is versatile, implementing basic and more advanced rigid body dynamics algorithms:
- forward kinematics and its analytical derivatives,
- forward/inverse dynamics and their analytical derivatives,
- centroidal dynamics and its analytical derivatives,
- computations of kinematic and dynamic regressors for system identification and more,
- full support of closed-loop mechanisms,
- state-of-the-art frictional contact solvers (opens in a new tab),
- low-complexity constrained articulated body algorithms,
- sparse constrained dynamics (opens in a new tab) and its analytical derivatives,
- full support of multiple-precision floating-point (MPFR) (opens in a new tab) in Python and C++,
- support of modern and open-source Automatic Differentiation frameworks like CppAD (opens in a new tab) or CasADi (opens in a new tab),
- automatic code generation support is available via CppADCodeGen (opens in a new tab).
Pinocchio can support description formats:
- URDF format,
- SDF format,
- MJCF format,
- SRDF format,
- programmatically.
Pinocchio is flexible:
- header only,
- template instantiation,
- C++ 17/20/23 compliant.
Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit tests, simulations, and real-world robotics applications). Pinocchio is supported and tested on Windows, Mac OS X, Unix, and Linux (see build status here (opens in a new tab)).
Documentation
The online documentation for the latest release of Pinocchio is available here (opens in a new tab). A cheat sheet pdf with the main functions and algorithms can be found here (opens in a new tab).
Examples
In the examples (opens in a new tab) directory, we provide some basic examples of using Pinocchio in Python. Additional examples introducing Pinocchio are also available in the documentation (opens in a new tab).
Tutorials
Pinocchio comes with a large set of tutorials that introduce the basic tools for robot control. Tutorial and training documents are listed here (opens in a new tab). You can also consider the interactive Jupyter notebook set of tutorials (opens in a new tab) developed by Nicolas Mansard (opens in a new tab) and Yann de Mont-Marin (opens in a new tab).
Pinocchio continuous integrations
Pinocchio is constantly tested for several platforms and distributions, as reported below:
Performances
Pinocchio exploits, at best, the sparsity induced by the kinematic tree of robotics systems. Thanks to modern programming language paradigms, Pinocchio can unroll most of the computations directly at compile time, allowing to achieve impressive performances for an extensive range of robots, as illustrated by the plot below, obtained on a standard laptop equipped with an Intel Core i7 CPU @ 2.4 GHz.

For other benchmarks, and mainly the capacity of Pinocchio to exploit, at best, your CPU capacities using advanced code generation techniques, we refer to the technical paper (opens in a new tab). In addition, the introspection (opens in a new tab) may also help you to understand and compare the performances of the modern rigid body dynamics libraries.
Ongoing developments
If you want to follow the current developments, you can refer to the devel branch (opens in a new tab). The devel branch (opens in a new tab) only contains the latest release. Any new Pull Request should be submitted on the devel branch (opens in a new tab).
Installation
Pinocchio can be easily installed on various Linux (Ubuntu, Fedora, etc.) and Unix distributions (Mac OS X, BSD, etc.). Please refer to the installation procedure (opens in a new tab).
Conda
You simply need this simple line:
conda install pinocchio -c conda-forge
Docker
docker run --rm -it ghcr.io/stack-of-tasks/pinocchio:devel
ROS
Pinocchio is also deployed on ROS. You may follow its deployment status below.
If you're interested in using Pinocchio on systems and/or with packages that integrate with the ROS ecosystem, we recommend the installation of Pinocchio via the binaries distributed via the ROS PPA. Here, you can install Pinocchio using:
sudo apt install ros-$ROS_DISTRO-pinocchio
This installs Pinocchio with Coal support for collision checking and with Python bindings. You can then use Pinocchio in your ROS packages by:
- Depending on Pinocchio in your
package.xmlconfig (<depend>pinocchio</depend>) - Including Pinocchio via CMake (
find_package(pinocchio REQUIRED)) and linking against Pinocchio (target_link_libraries(my_library pinocchio::pinocchio))
We include support and hooks to discover the package for ROS build systems. A ROS 2 example can be found in this repository (opens in a new tab).
Please note that we always advise including the pinocchio/fwd.hpp header as the first include to avoid compilation errors from differing Boost-variant sizes.
| ROS 2 Distro | Build Status |
|---|---|
| Humble | Image (opens in a new tab) (opens in a new tab) |
| Jazzy | Image (opens in a new tab) (opens in a new tab) |
| Kilted | Image (opens in a new tab) (opens in a new tab) |
| Lyrical | Image (opens in a new tab) (opens in a new tab) |
| Rolling | Image (opens in a new tab) (opens in a new tab) |
Visualization
Pinocchio provides support for many open-source and free visualizers:
- Gepetto Viewer (opens in a new tab): a C++ viewer based on OpenSceneGraph (opens in a new tab) with Python bindings and Blender export. See here (opens in a new tab) for a C++ example on mixing Pinocchio and Gepetto Viewer.
- Meshcat (opens in a new tab): supporting visualization in Python and which can be embedded inside any browser.
- Panda3d (opens in a new tab): supporting visualization in Python and which can be embedded inside any browser.
- RViz (opens in a new tab): supporting visualization in Python and which can interact with other ROS packages.
- Viser (opens in a new tab): supporting browser-based visualization in Python, with support for widgets such as sliders and interactive markers.
Many external viewers can also be integrated. For more information, see the example here (opens in a new tab).
Citing Pinocchio
To cite Pinocchio in your academic research, please consider citing the software paper (opens in a new tab) and use the following BibTeX entry:
@inproceedings{carpentier2019pinocchio,
title={The Pinocchio C++ library -- A fast and flexible implementation of rigid body dynamics algorithms and their analytical derivatives},
author={Carpentier, Justin and Saurel, Guilhem and Buondonno, Gabriele and Mirabel, Joseph and Lamiraux, Florent and Stasse, Olivier and Mansard, Nicolas},
booktitle={IEEE International Symposium on System Integrations (SII)},
year={2019}
}
And the following one for the link to the GitHub codebase:
@misc{pinocchioweb,
author = {Justin Carpentier and Florian Valenza and Nicolas Mansard and others},
title = {Pinocchio: fast forward and inverse dynamics for poly-articulated systems},
howpublished = {https://stack-of-tasks.github.io/pinocchio},
year = {2015--2021}
}
Citing specific algorithmic contributions
Pinocchio goes beyond implementing the standard rigid-body dynamics algorithms and results from active research on simulation, learning, and control. Pinocchio provides state-of-the-art algorithms for handling constraints, closed-loops mechanisms, differentiating forward and inverse dynamics, etc. If you use these algorithms, please consider citing them in your research articles.
- de Mont-Marin, Y. Montaut, L. Ponce, J. Herbet, M. & Carpentier, J. (2026). On the Conic Complementarity of Planar Contacts (opens in a new tab). In 2026 International Conference on Robotics and Automation (ICRA).
- Sathya, A., Montaut, L. de Mont-Marin, Y. & Carpentier, J. (2026). Matrix-Free Delassus Operations: Scalable and Memory-Efficient Algorithms (opens in a new tab). Preprint.
- Sathya, A. & Carpentier, J. (2025). Constrained articulated body algorithms for closed-loop mechanisms (opens in a new tab). In Transactions on Robotics.
- Sathya, A. & Carpentier, J. (2024). Constrained Articulated Body Dynamics Algorithms (opens in a new tab). In Transactions on Robotics.
- Carpentier, J., Le Lidec, Q. & Montaut, L. (2024, July). From Compliant to Rigid Contact Simulation: a Unified and Efficient Approach (opens in a new tab). In RSS 2024-Robotics: Science and Systems (RSS 2024).
- Le Lidec, Q., Jallet, W., Montaut, L., Laptev, I., Schmid, C., & Carpentier, J. (2024). Contact models in robotics: a comparative analysis (opens in a new tab). IEEE Transactions on Robotics.
- Montaut, L., Le Lidec, Q., Petrik, V., Sivic, J., & Carpentier, J. (2024). GJK++: Leveraging Acceleration Methods for Faster Collision Detection (opens in a new tab). IEEE Transactions on Robotics.
- Sathya, A., & Carpentier, J. (2024). Constrained Articulated Body Dynamics Algorithms (opens in a new tab). IEEE Transactions on Robotics.
- Montaut, L., Le Lidec, Q., Bambade, A., Petrik, V., Sivic, J., & Carpentier, J. (2023, May). Differentiable collision detection: a randomized smoothing approach (opens in a new tab). In 2023 IEEE International Conference on Robotics and Automation (ICRA).
- Montaut, L., Le Lidec, Q., Petrik, V., Sivic, J., & Carpentier, J. (2022, June). Collision Detection Accelerated: An Optimization Perspective (opens in a new tab). In Robotics: Science and Systems (RSS 2022).
- Carpentier, J., Budhiraja, R., & Mansard, N. (2021, July). Proximal and sparse resolution of constrained dynamic equations (opens in a new tab). In Robotics: Science and Systems (RSS 2021).
- Carpentier, J., & Mansard, N. (2018, June). Analytical derivatives of rigid body dynamics algorithms (opens in a new tab). In Robotics: Science and Systems (RSS 2018).
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 Pinocchio are:
- Justin Carpentier (opens in a new tab) (Inria): main developer and manager of the project
- Guilhem Saurel (opens in a new tab) (LAAS-CNRS): CI/CD, packaging
- Etienne Arlaud (opens in a new tab) (Inria): core developer
- Wilson Jallet (opens in a new tab) (Inria): extension of Python bindings, C++ visualization API
- Fabian Schramm (opens in a new tab) (Inria): core developper
- Joris Vaillant (opens in a new tab) (Inria): core developer and project manager
- Ajay Sathya (opens in a new tab) (Inria): core developer
- Louis Montaut (opens in a new tab) (Inria): core developer
- Quentin Le Lidec (opens in a new tab) (NYU/formerly Inria): core developer
- Yann de Mont-Marin (opens in a new tab) (Inria): core developer
- Jeanne Matheron (opens in a new tab) (Inria): core developer
Credits
In addition to the core dev team, the following people have also been involved in the development of Pinocchio and are warmly thanked for their contributions:
- Nicolas Mansard (opens in a new tab) (LAAS-CNRS): initial project instructor
- Joseph Mirabel (opens in a new tab) (Eureka Robotics): Lie groups and hpp-fcl support
- Antonio El Khoury (opens in a new tab) (Wandercraft): bug fixes
- Gabriele Buondono (opens in a new tab) (LAAS-CNRS): features extension, bug fixes, and Python bindings
- Florian Valenza (opens in a new tab) (Astek): core developments and hpp-fcl support
- Wolfgang Merkt (opens in a new tab) (University of Oxford): ROS integration and support
- Rohan Budhiraja (opens in a new tab) (Inria/LAAS-CNRS): features extension
- Loïc Estève (opens in a new tab) (Inria): Conda integration and support
- Igor Kalevatykh (opens in a new tab) (Inria): Panda3d viewer support
- Matthieu Vigne (opens in a new tab) (Wandercraft): MeshCat viewer support
- Robin Strudel (opens in a new tab) (Inria): features extension
- François Keith (opens in a new tab) (CEA): Windows support
- Sarah El Kazdadi (opens in a new tab) (Inria): multi-precision arithmetic support
- Nicolas Torres Alberto (opens in a new tab) (Inria): features extension
- Shubham Singh (opens in a new tab) (UT Austin): second-order inverse dynamics derivatives
- Sebastian Castro (opens in a new tab): Viser visualizer and MeshCat visualizer feature extension
- Lev Kozlov (opens in a new tab): Kinetic and potential energy regressors
- Simeon Nedelchev (opens in a new tab): Pseudo inertia and Log-Cholesky parametrization
- Alexy Legrand (opens in a new tab): Viser color bug fixes
- Pierre Puchaud (opens in a new tab): Ellipsoid Joint
- Lucas Joseph (opens in a new tab): Ellipsoid Joint
- Megane Millan (opens in a new tab): core developer (MJCF, joint mimic, etc.)
- Tingfan Wu (opens in a new tab): Viser visualizer mesh-scale bug fix
- Kazuki Sugihara (opens in a new tab): addFrame bug fix
- Sergi Martinez (opens in a new tab): scalar-generic Python bindings
- tandede (opens in a new tab): GCC 10 compatibility for aligned matrix map comparisons
- Amane Inoue (opens in a new tab): MJCF parser bug fixes
- Benjamin Delpech (opens in a new tab): collisionPairMapping bug fix
- Beichen Zhuo (opens in a new tab): quaternion Log map sign flip bug fix
- Marvel Harisson (opens in a new tab): bug fixes
If you have participated in the development of Pinocchio, please add your name and contribution to this list.
Open-source projects relying on Pinocchio
- Crocoddyl (opens in a new tab): A software to realize model predictive control for complex robotics platforms.
- TSID (opens in a new tab): A software that implements a Task Space Inverse Dynamics QP.
- HPP (opens in a new tab): A SDK that implements motion planners for humanoids and other robots.
- Jiminy (opens in a new tab): A simulator based on Pinocchio.
- ocs2 (opens in a new tab): A toolbox for Optimal Control for Switched Systems (OCS2)
- TriFingerSimulation (opens in a new tab): TriFinger Robot Simulation (a Robot to perform RL on manipulation).
- Casadi_Kin_Dyn (opens in a new tab): IIT Package for generation of symbolic (SX) expressions of robot kinematics and dynamics.
- PyRoboPlan (opens in a new tab): An educational Python library for manipulator motion planning using the Pinocchio Python bindings.
- RoboPlan (opens in a new tab): A modern robot motion planning library based on Pinocchio, built in C++ with Python bindings (successor to PyRoboPlan).
- ProxSuite-NLP (opens in a new tab): A primal-dual augmented Lagrangian solver for nonlinear programming on manifolds.
- Aligator (opens in a new tab): A versatile and efficient framework for constrained trajectory optimization.
- Simple (opens in a new tab): The Simple Simulator: Simulation Made Simple.
- LoIK (opens in a new tab): Low-Complexity Inverse Kinematics.
- PlaCo (opens in a new tab): Rhoban's planning and control library, featuring task-space inverse kinematics and dynamics high-level API for whole-body control tasks.
- CRISP controllers (opens in a new tab): Collection of real-time, C++ controllers for compliant torque-based control for manipulators compatible with
ros2_control.
Acknowledgments
The development of Pinocchio is actively led by the Willow team (opens in a new tab) @INRIA (opens in a new tab), with the support of the Gepetto team (opens in a new tab) @LAAS-CNRS (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.