Package Summary
| Version | 4.0.0 |
| License | BSD-2-Clause |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/stack-of-tasks/pinocchio.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-04-20 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Justin Carpentier
- Wolfgang Merkt
- Guilhem Saurel
Authors
Pinocchio is open-source software actively developed by the Willow team at Inria 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 through Conda.
Pinocchio is now at the heart of various robotics software as Aligator, Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework, or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning. Pinocchio is also a primary source of inspiration for the Kamino 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 and the online documentation or DeepWiki.
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
- Questions and Issues
- 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,
- low-complexity constrained articulated body algorithms,
- sparse constrained dynamics and its analytical derivatives,
- full support of multiple-precision floating-point (MPFR) in Python and C++,
- support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi,
- automatic code generation support is available via CppADCodeGen.
Pinocchio can support description formats:
- URDF format,
- SDF format,
- MJCF format,
- SRDF format,
- programmatically.
Pinocchio is flexible:
File truncated at 100 lines see the full file
Changelog
All notable changes to this project will be documented in this file.
Change that doesn’t affect end user should not be listed:
- CI change
- Github specific file change
The format is based on Keep a Changelog.
[Unreleased]
[4.0.0] - 2026-04-13
Highlights
-
lcabaalgorithm:- Compute forward dynamics for constrained system with closed kinematics loops
- Python example here
- New constraint API:
-
PointContactConstraintModelTpl,PointAnchorConstraintModelTpl,FrameAnchorConstraintModelTpl,JointLimitConstraintModelTplandJointFrictionConstraintModelTplconstraint models - Each constraint model is associated to its own constraint data
- Variants
ConstraintModelTpl/ConstraintDataTplencapsulate all constraints models and data - Delassus operator API:
DelassusOperatorDenseTpl,DelassusOperatorSparseTpl,DelassusOperatorCholeskyExpressionTpl,DelassusOperatorRigidBodyTpl - These operators are tightly linked to the new constraints API All these operators compute the same mathematical operator $J M^{-1} J^T$ ($J$ is the constraints jacobian, $M^{-1}$ is the inverse of the mass matrix), but with different algorithms and internal optimizations
-
-
ADMMConstraintSolverTplandPGSConstraintSolverTplalgorithms: - New header convention
- Introduce omnibus headers:
pinocchio/math.hpppinocchio/spatial.hpppinocchio/mutlibody.hpp- …
- Introduce omnibus headers:
Added
- Add
lcabaalgorithm inpinocchio/algorithm/loop-constrained-aba.hpp- Compute forward dynamics for constrained system with closed kinematics loops
- Add
computeJointMinimalOrderinginpinocchio/constraints.hpp- Compute joint processing order for
lcaba
- Compute joint processing order for
- Add new constraint API in
pinocchio/constraints.hpp-
PointContactConstraintModel: models a unilateral contact constraint with coulomb friction cone -
PointAnchorConstraintModel: models a point-wise equality constraint (bilateral constraint) -
FrameAnchorConstraintModel: models a frame-wise equality constraint (bilateral constraint) -
JointLimitConstraintModel: models a component-wise joint limit lower/upper bound constraint -
JointFrictionConstraintModel: models a component-wise joint friction lower/upper bound constraint
-
- Add new Delassus API in
pinocchio/algorithm/delassus.hpp - Add
ADMMConstraintSolverTplinpinocchio/algorithm/solvers/admm-solver.hpp- Solve constrained dynamics using an ADMM algorithm
- Add
PGSConstraintSolverTplinpinocchio/algorithm/solvers/pgs-solver.hpp- Solve constrained dynamics using a projected Gauss Siedel algorithm
- Add new functions in
pinocchio/multibody/liegroup.hpp-
tangentMap: transforms a configuration variation into a small variation expressed in the parametric space -
tangentMapProductandtangentMapTransport: applytangentMapwhile exploiting sparsity
-
- Add mimic joint support for all Lie group related algorithms
- Add new methods to
JointModelBase:-
jointQrowsandjointQcolsthat make selections of sizeNQ -
jointQVMapthat make selections of sizeNQ x NV -
lieGroupthat returns the Lie group instance associated to a joint
-
- Add
lieGroupfunction that returns the Lie group instance associated to a model - Add new
mjcf::buildModeloverload to load new constraint API from MJCF - Add new
sdf::buildModeloverload to load new constraint API from SDF - Add new Python functions to load MJCF model:
- Add
pinocchio.buildModelFromMJCFAndRootJointload model with a custom root joint - Add
pinocchio.buildModelAndConstraintFromMJCFload model and constraints (new API) - Add
pinocchio.buildModelAndLegacyConstraintFromMJCFload model and constraints (old API)
- Add
- Add Python example showcasing the candlewick visualizer
- Add
PINOCCHIO_DISABLE_UNSUPPORTED_WARNINGSC++ definition to disable unsupported algorithm warnings - Add
PINOCCHIO_BUILD_MPFR_TESTINGCMake option to build MPFR tests - Add
pinocchio/utils/alloca.hpp: Helpers for mapping stack allocation for Eigen::Map - Add
pinochio/container/eigen-storage.hpp: Introduceinternal::EigenStorageTpl - Add
pinochio/container/matrix-stack.hpp: Introduceinternal::MatrixStackTpl - Add
pinochio/container/double-entry-container.hpp: Introduceinternal::DoubleEntryContainer - Add
internal::MatrixBlockElementTplinmath.hpp - Add
internal::BlockDiagonalMatrixTplinmath.hpp - Add
internal::matrix_productinmath.hpp - Add
internal::matrix_inversioninmath.hpp - Add
internal::matrix_inversion_code_generatedinmath.hpp - Add support to
libsdformat> 14
Changed
- C++17 is now the minimal supported version of the C++ standard. Check cppreference to see if your compiler supports it.
- Introduce new header convention described here
- Omnibus header as default pinocchio include
- Replace headers guards by
#pragma once
- Bindings/python: Add missing arg names in
visualizer-visitor.hpp - Renamed
PINOCCHIO_PRAGMA_DEPRECATED_HEADERtoPINOCCHIO_MOVED_HEADER - Docs: update documentation stylesheet, fix some Doxygen config options
- Replace
hpp-fclbycoal(seedoc/_porting.md):- C++:
- Deprecate
pinocchio/multibody/fcl.hppmoved atpinocchio/multibody/coal.hpp - Deprecate
pinocchio/serialization/fcl.hppmoved atpinocchio/serialization/coal.hpp - Deprecate
pinocchio/collision/fcl-pinocchio-conversions.hppmoved atpinocchio/collision/coal-pinocchio-conversions.hpp - Deprecate
pinocchio/bindings/python/collision/fcl/transform.hppmoved atpinocchio/bindings/python/collision/coal/transform.hpp - Deprecate
pinocchio::toFclTransform3freplaced bypinocchio::toCoalTransform3s - Deprecate
PINOCCHIO_WITH_HPP_FCLreplaced byPINOCCHIO_WITH_COLLISION
- Deprecate
- Python:
- C++:
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| jrl_cmakemodules | |
| ros_environment | |
| urdfdom | |
| eigenpy | |
| coal |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged pinocchio at Robotics Stack Exchange
Package Summary
| Version | 4.0.0 |
| License | BSD-2-Clause |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/stack-of-tasks/pinocchio.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-04-20 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Justin Carpentier
- Wolfgang Merkt
- Guilhem Saurel
Authors
Pinocchio is open-source software actively developed by the Willow team at Inria 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 through Conda.
Pinocchio is now at the heart of various robotics software as Aligator, Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework, or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning. Pinocchio is also a primary source of inspiration for the Kamino 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 and the online documentation or DeepWiki.
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
- Questions and Issues
- 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,
- low-complexity constrained articulated body algorithms,
- sparse constrained dynamics and its analytical derivatives,
- full support of multiple-precision floating-point (MPFR) in Python and C++,
- support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi,
- automatic code generation support is available via CppADCodeGen.
Pinocchio can support description formats:
- URDF format,
- SDF format,
- MJCF format,
- SRDF format,
- programmatically.
Pinocchio is flexible:
File truncated at 100 lines see the full file
Changelog
All notable changes to this project will be documented in this file.
Change that doesn’t affect end user should not be listed:
- CI change
- Github specific file change
The format is based on Keep a Changelog.
[Unreleased]
[4.0.0] - 2026-04-13
Highlights
-
lcabaalgorithm:- Compute forward dynamics for constrained system with closed kinematics loops
- Python example here
- New constraint API:
-
PointContactConstraintModelTpl,PointAnchorConstraintModelTpl,FrameAnchorConstraintModelTpl,JointLimitConstraintModelTplandJointFrictionConstraintModelTplconstraint models - Each constraint model is associated to its own constraint data
- Variants
ConstraintModelTpl/ConstraintDataTplencapsulate all constraints models and data - Delassus operator API:
DelassusOperatorDenseTpl,DelassusOperatorSparseTpl,DelassusOperatorCholeskyExpressionTpl,DelassusOperatorRigidBodyTpl - These operators are tightly linked to the new constraints API All these operators compute the same mathematical operator $J M^{-1} J^T$ ($J$ is the constraints jacobian, $M^{-1}$ is the inverse of the mass matrix), but with different algorithms and internal optimizations
-
-
ADMMConstraintSolverTplandPGSConstraintSolverTplalgorithms: - New header convention
- Introduce omnibus headers:
pinocchio/math.hpppinocchio/spatial.hpppinocchio/mutlibody.hpp- …
- Introduce omnibus headers:
Added
- Add
lcabaalgorithm inpinocchio/algorithm/loop-constrained-aba.hpp- Compute forward dynamics for constrained system with closed kinematics loops
- Add
computeJointMinimalOrderinginpinocchio/constraints.hpp- Compute joint processing order for
lcaba
- Compute joint processing order for
- Add new constraint API in
pinocchio/constraints.hpp-
PointContactConstraintModel: models a unilateral contact constraint with coulomb friction cone -
PointAnchorConstraintModel: models a point-wise equality constraint (bilateral constraint) -
FrameAnchorConstraintModel: models a frame-wise equality constraint (bilateral constraint) -
JointLimitConstraintModel: models a component-wise joint limit lower/upper bound constraint -
JointFrictionConstraintModel: models a component-wise joint friction lower/upper bound constraint
-
- Add new Delassus API in
pinocchio/algorithm/delassus.hpp - Add
ADMMConstraintSolverTplinpinocchio/algorithm/solvers/admm-solver.hpp- Solve constrained dynamics using an ADMM algorithm
- Add
PGSConstraintSolverTplinpinocchio/algorithm/solvers/pgs-solver.hpp- Solve constrained dynamics using a projected Gauss Siedel algorithm
- Add new functions in
pinocchio/multibody/liegroup.hpp-
tangentMap: transforms a configuration variation into a small variation expressed in the parametric space -
tangentMapProductandtangentMapTransport: applytangentMapwhile exploiting sparsity
-
- Add mimic joint support for all Lie group related algorithms
- Add new methods to
JointModelBase:-
jointQrowsandjointQcolsthat make selections of sizeNQ -
jointQVMapthat make selections of sizeNQ x NV -
lieGroupthat returns the Lie group instance associated to a joint
-
- Add
lieGroupfunction that returns the Lie group instance associated to a model - Add new
mjcf::buildModeloverload to load new constraint API from MJCF - Add new
sdf::buildModeloverload to load new constraint API from SDF - Add new Python functions to load MJCF model:
- Add
pinocchio.buildModelFromMJCFAndRootJointload model with a custom root joint - Add
pinocchio.buildModelAndConstraintFromMJCFload model and constraints (new API) - Add
pinocchio.buildModelAndLegacyConstraintFromMJCFload model and constraints (old API)
- Add
- Add Python example showcasing the candlewick visualizer
- Add
PINOCCHIO_DISABLE_UNSUPPORTED_WARNINGSC++ definition to disable unsupported algorithm warnings - Add
PINOCCHIO_BUILD_MPFR_TESTINGCMake option to build MPFR tests - Add
pinocchio/utils/alloca.hpp: Helpers for mapping stack allocation for Eigen::Map - Add
pinochio/container/eigen-storage.hpp: Introduceinternal::EigenStorageTpl - Add
pinochio/container/matrix-stack.hpp: Introduceinternal::MatrixStackTpl - Add
pinochio/container/double-entry-container.hpp: Introduceinternal::DoubleEntryContainer - Add
internal::MatrixBlockElementTplinmath.hpp - Add
internal::BlockDiagonalMatrixTplinmath.hpp - Add
internal::matrix_productinmath.hpp - Add
internal::matrix_inversioninmath.hpp - Add
internal::matrix_inversion_code_generatedinmath.hpp - Add support to
libsdformat> 14
Changed
- C++17 is now the minimal supported version of the C++ standard. Check cppreference to see if your compiler supports it.
- Introduce new header convention described here
- Omnibus header as default pinocchio include
- Replace headers guards by
#pragma once
- Bindings/python: Add missing arg names in
visualizer-visitor.hpp - Renamed
PINOCCHIO_PRAGMA_DEPRECATED_HEADERtoPINOCCHIO_MOVED_HEADER - Docs: update documentation stylesheet, fix some Doxygen config options
- Replace
hpp-fclbycoal(seedoc/_porting.md):- C++:
- Deprecate
pinocchio/multibody/fcl.hppmoved atpinocchio/multibody/coal.hpp - Deprecate
pinocchio/serialization/fcl.hppmoved atpinocchio/serialization/coal.hpp - Deprecate
pinocchio/collision/fcl-pinocchio-conversions.hppmoved atpinocchio/collision/coal-pinocchio-conversions.hpp - Deprecate
pinocchio/bindings/python/collision/fcl/transform.hppmoved atpinocchio/bindings/python/collision/coal/transform.hpp - Deprecate
pinocchio::toFclTransform3freplaced bypinocchio::toCoalTransform3s - Deprecate
PINOCCHIO_WITH_HPP_FCLreplaced byPINOCCHIO_WITH_COLLISION
- Deprecate
- Python:
- C++:
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| jrl_cmakemodules | |
| ros_environment | |
| urdfdom | |
| eigenpy | |
| coal |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged pinocchio at Robotics Stack Exchange
Package Summary
| Version | 4.0.0 |
| License | BSD-2-Clause |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/stack-of-tasks/pinocchio.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-04-20 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Justin Carpentier
- Wolfgang Merkt
- Guilhem Saurel
Authors
Pinocchio is open-source software actively developed by the Willow team at Inria 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 through Conda.
Pinocchio is now at the heart of various robotics software as Aligator, Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework, or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning. Pinocchio is also a primary source of inspiration for the Kamino 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 and the online documentation or DeepWiki.
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
- Questions and Issues
- 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,
- low-complexity constrained articulated body algorithms,
- sparse constrained dynamics and its analytical derivatives,
- full support of multiple-precision floating-point (MPFR) in Python and C++,
- support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi,
- automatic code generation support is available via CppADCodeGen.
Pinocchio can support description formats:
- URDF format,
- SDF format,
- MJCF format,
- SRDF format,
- programmatically.
Pinocchio is flexible:
File truncated at 100 lines see the full file
Changelog
All notable changes to this project will be documented in this file.
Change that doesn’t affect end user should not be listed:
- CI change
- Github specific file change
The format is based on Keep a Changelog.
[Unreleased]
[4.0.0] - 2026-04-13
Highlights
-
lcabaalgorithm:- Compute forward dynamics for constrained system with closed kinematics loops
- Python example here
- New constraint API:
-
PointContactConstraintModelTpl,PointAnchorConstraintModelTpl,FrameAnchorConstraintModelTpl,JointLimitConstraintModelTplandJointFrictionConstraintModelTplconstraint models - Each constraint model is associated to its own constraint data
- Variants
ConstraintModelTpl/ConstraintDataTplencapsulate all constraints models and data - Delassus operator API:
DelassusOperatorDenseTpl,DelassusOperatorSparseTpl,DelassusOperatorCholeskyExpressionTpl,DelassusOperatorRigidBodyTpl - These operators are tightly linked to the new constraints API All these operators compute the same mathematical operator $J M^{-1} J^T$ ($J$ is the constraints jacobian, $M^{-1}$ is the inverse of the mass matrix), but with different algorithms and internal optimizations
-
-
ADMMConstraintSolverTplandPGSConstraintSolverTplalgorithms: - New header convention
- Introduce omnibus headers:
pinocchio/math.hpppinocchio/spatial.hpppinocchio/mutlibody.hpp- …
- Introduce omnibus headers:
Added
- Add
lcabaalgorithm inpinocchio/algorithm/loop-constrained-aba.hpp- Compute forward dynamics for constrained system with closed kinematics loops
- Add
computeJointMinimalOrderinginpinocchio/constraints.hpp- Compute joint processing order for
lcaba
- Compute joint processing order for
- Add new constraint API in
pinocchio/constraints.hpp-
PointContactConstraintModel: models a unilateral contact constraint with coulomb friction cone -
PointAnchorConstraintModel: models a point-wise equality constraint (bilateral constraint) -
FrameAnchorConstraintModel: models a frame-wise equality constraint (bilateral constraint) -
JointLimitConstraintModel: models a component-wise joint limit lower/upper bound constraint -
JointFrictionConstraintModel: models a component-wise joint friction lower/upper bound constraint
-
- Add new Delassus API in
pinocchio/algorithm/delassus.hpp - Add
ADMMConstraintSolverTplinpinocchio/algorithm/solvers/admm-solver.hpp- Solve constrained dynamics using an ADMM algorithm
- Add
PGSConstraintSolverTplinpinocchio/algorithm/solvers/pgs-solver.hpp- Solve constrained dynamics using a projected Gauss Siedel algorithm
- Add new functions in
pinocchio/multibody/liegroup.hpp-
tangentMap: transforms a configuration variation into a small variation expressed in the parametric space -
tangentMapProductandtangentMapTransport: applytangentMapwhile exploiting sparsity
-
- Add mimic joint support for all Lie group related algorithms
- Add new methods to
JointModelBase:-
jointQrowsandjointQcolsthat make selections of sizeNQ -
jointQVMapthat make selections of sizeNQ x NV -
lieGroupthat returns the Lie group instance associated to a joint
-
- Add
lieGroupfunction that returns the Lie group instance associated to a model - Add new
mjcf::buildModeloverload to load new constraint API from MJCF - Add new
sdf::buildModeloverload to load new constraint API from SDF - Add new Python functions to load MJCF model:
- Add
pinocchio.buildModelFromMJCFAndRootJointload model with a custom root joint - Add
pinocchio.buildModelAndConstraintFromMJCFload model and constraints (new API) - Add
pinocchio.buildModelAndLegacyConstraintFromMJCFload model and constraints (old API)
- Add
- Add Python example showcasing the candlewick visualizer
- Add
PINOCCHIO_DISABLE_UNSUPPORTED_WARNINGSC++ definition to disable unsupported algorithm warnings - Add
PINOCCHIO_BUILD_MPFR_TESTINGCMake option to build MPFR tests - Add
pinocchio/utils/alloca.hpp: Helpers for mapping stack allocation for Eigen::Map - Add
pinochio/container/eigen-storage.hpp: Introduceinternal::EigenStorageTpl - Add
pinochio/container/matrix-stack.hpp: Introduceinternal::MatrixStackTpl - Add
pinochio/container/double-entry-container.hpp: Introduceinternal::DoubleEntryContainer - Add
internal::MatrixBlockElementTplinmath.hpp - Add
internal::BlockDiagonalMatrixTplinmath.hpp - Add
internal::matrix_productinmath.hpp - Add
internal::matrix_inversioninmath.hpp - Add
internal::matrix_inversion_code_generatedinmath.hpp - Add support to
libsdformat> 14
Changed
- C++17 is now the minimal supported version of the C++ standard. Check cppreference to see if your compiler supports it.
- Introduce new header convention described here
- Omnibus header as default pinocchio include
- Replace headers guards by
#pragma once
- Bindings/python: Add missing arg names in
visualizer-visitor.hpp - Renamed
PINOCCHIO_PRAGMA_DEPRECATED_HEADERtoPINOCCHIO_MOVED_HEADER - Docs: update documentation stylesheet, fix some Doxygen config options
- Replace
hpp-fclbycoal(seedoc/_porting.md):- C++:
- Deprecate
pinocchio/multibody/fcl.hppmoved atpinocchio/multibody/coal.hpp - Deprecate
pinocchio/serialization/fcl.hppmoved atpinocchio/serialization/coal.hpp - Deprecate
pinocchio/collision/fcl-pinocchio-conversions.hppmoved atpinocchio/collision/coal-pinocchio-conversions.hpp - Deprecate
pinocchio/bindings/python/collision/fcl/transform.hppmoved atpinocchio/bindings/python/collision/coal/transform.hpp - Deprecate
pinocchio::toFclTransform3freplaced bypinocchio::toCoalTransform3s - Deprecate
PINOCCHIO_WITH_HPP_FCLreplaced byPINOCCHIO_WITH_COLLISION
- Deprecate
- Python:
- C++:
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| jrl_cmakemodules | |
| ros_environment | |
| urdfdom | |
| eigenpy | |
| coal |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged pinocchio at Robotics Stack Exchange
Package Summary
| Version | 4.0.0 |
| License | BSD-2-Clause |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/stack-of-tasks/pinocchio.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-04-20 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Justin Carpentier
- Wolfgang Merkt
- Guilhem Saurel
Authors
Pinocchio is open-source software actively developed by the Willow team at Inria 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 through Conda.
Pinocchio is now at the heart of various robotics software as Aligator, Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework, or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning. Pinocchio is also a primary source of inspiration for the Kamino 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 and the online documentation or DeepWiki.
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
- Questions and Issues
- 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,
- low-complexity constrained articulated body algorithms,
- sparse constrained dynamics and its analytical derivatives,
- full support of multiple-precision floating-point (MPFR) in Python and C++,
- support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi,
- automatic code generation support is available via CppADCodeGen.
Pinocchio can support description formats:
- URDF format,
- SDF format,
- MJCF format,
- SRDF format,
- programmatically.
Pinocchio is flexible:
File truncated at 100 lines see the full file
Changelog
All notable changes to this project will be documented in this file.
Change that doesn’t affect end user should not be listed:
- CI change
- Github specific file change
The format is based on Keep a Changelog.
[Unreleased]
[4.0.0] - 2026-04-13
Highlights
-
lcabaalgorithm:- Compute forward dynamics for constrained system with closed kinematics loops
- Python example here
- New constraint API:
-
PointContactConstraintModelTpl,PointAnchorConstraintModelTpl,FrameAnchorConstraintModelTpl,JointLimitConstraintModelTplandJointFrictionConstraintModelTplconstraint models - Each constraint model is associated to its own constraint data
- Variants
ConstraintModelTpl/ConstraintDataTplencapsulate all constraints models and data - Delassus operator API:
DelassusOperatorDenseTpl,DelassusOperatorSparseTpl,DelassusOperatorCholeskyExpressionTpl,DelassusOperatorRigidBodyTpl - These operators are tightly linked to the new constraints API All these operators compute the same mathematical operator $J M^{-1} J^T$ ($J$ is the constraints jacobian, $M^{-1}$ is the inverse of the mass matrix), but with different algorithms and internal optimizations
-
-
ADMMConstraintSolverTplandPGSConstraintSolverTplalgorithms: - New header convention
- Introduce omnibus headers:
pinocchio/math.hpppinocchio/spatial.hpppinocchio/mutlibody.hpp- …
- Introduce omnibus headers:
Added
- Add
lcabaalgorithm inpinocchio/algorithm/loop-constrained-aba.hpp- Compute forward dynamics for constrained system with closed kinematics loops
- Add
computeJointMinimalOrderinginpinocchio/constraints.hpp- Compute joint processing order for
lcaba
- Compute joint processing order for
- Add new constraint API in
pinocchio/constraints.hpp-
PointContactConstraintModel: models a unilateral contact constraint with coulomb friction cone -
PointAnchorConstraintModel: models a point-wise equality constraint (bilateral constraint) -
FrameAnchorConstraintModel: models a frame-wise equality constraint (bilateral constraint) -
JointLimitConstraintModel: models a component-wise joint limit lower/upper bound constraint -
JointFrictionConstraintModel: models a component-wise joint friction lower/upper bound constraint
-
- Add new Delassus API in
pinocchio/algorithm/delassus.hpp - Add
ADMMConstraintSolverTplinpinocchio/algorithm/solvers/admm-solver.hpp- Solve constrained dynamics using an ADMM algorithm
- Add
PGSConstraintSolverTplinpinocchio/algorithm/solvers/pgs-solver.hpp- Solve constrained dynamics using a projected Gauss Siedel algorithm
- Add new functions in
pinocchio/multibody/liegroup.hpp-
tangentMap: transforms a configuration variation into a small variation expressed in the parametric space -
tangentMapProductandtangentMapTransport: applytangentMapwhile exploiting sparsity
-
- Add mimic joint support for all Lie group related algorithms
- Add new methods to
JointModelBase:-
jointQrowsandjointQcolsthat make selections of sizeNQ -
jointQVMapthat make selections of sizeNQ x NV -
lieGroupthat returns the Lie group instance associated to a joint
-
- Add
lieGroupfunction that returns the Lie group instance associated to a model - Add new
mjcf::buildModeloverload to load new constraint API from MJCF - Add new
sdf::buildModeloverload to load new constraint API from SDF - Add new Python functions to load MJCF model:
- Add
pinocchio.buildModelFromMJCFAndRootJointload model with a custom root joint - Add
pinocchio.buildModelAndConstraintFromMJCFload model and constraints (new API) - Add
pinocchio.buildModelAndLegacyConstraintFromMJCFload model and constraints (old API)
- Add
- Add Python example showcasing the candlewick visualizer
- Add
PINOCCHIO_DISABLE_UNSUPPORTED_WARNINGSC++ definition to disable unsupported algorithm warnings - Add
PINOCCHIO_BUILD_MPFR_TESTINGCMake option to build MPFR tests - Add
pinocchio/utils/alloca.hpp: Helpers for mapping stack allocation for Eigen::Map - Add
pinochio/container/eigen-storage.hpp: Introduceinternal::EigenStorageTpl - Add
pinochio/container/matrix-stack.hpp: Introduceinternal::MatrixStackTpl - Add
pinochio/container/double-entry-container.hpp: Introduceinternal::DoubleEntryContainer - Add
internal::MatrixBlockElementTplinmath.hpp - Add
internal::BlockDiagonalMatrixTplinmath.hpp - Add
internal::matrix_productinmath.hpp - Add
internal::matrix_inversioninmath.hpp - Add
internal::matrix_inversion_code_generatedinmath.hpp - Add support to
libsdformat> 14
Changed
- C++17 is now the minimal supported version of the C++ standard. Check cppreference to see if your compiler supports it.
- Introduce new header convention described here
- Omnibus header as default pinocchio include
- Replace headers guards by
#pragma once
- Bindings/python: Add missing arg names in
visualizer-visitor.hpp - Renamed
PINOCCHIO_PRAGMA_DEPRECATED_HEADERtoPINOCCHIO_MOVED_HEADER - Docs: update documentation stylesheet, fix some Doxygen config options
- Replace
hpp-fclbycoal(seedoc/_porting.md):- C++:
- Deprecate
pinocchio/multibody/fcl.hppmoved atpinocchio/multibody/coal.hpp - Deprecate
pinocchio/serialization/fcl.hppmoved atpinocchio/serialization/coal.hpp - Deprecate
pinocchio/collision/fcl-pinocchio-conversions.hppmoved atpinocchio/collision/coal-pinocchio-conversions.hpp - Deprecate
pinocchio/bindings/python/collision/fcl/transform.hppmoved atpinocchio/bindings/python/collision/coal/transform.hpp - Deprecate
pinocchio::toFclTransform3freplaced bypinocchio::toCoalTransform3s - Deprecate
PINOCCHIO_WITH_HPP_FCLreplaced byPINOCCHIO_WITH_COLLISION
- Deprecate
- Python:
- C++:
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| jrl_cmakemodules | |
| ros_environment | |
| urdfdom | |
| eigenpy | |
| coal |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged pinocchio at Robotics Stack Exchange
|
pinocchio package from bipedal_mpc repoassets core control estimation gait generation management sim blasfeo_ament eiquadprog hpipm_ament hpipm_interface_ament mujocodl pinocchio pinocchio_interface trans visualization |
ROS Distro
|
Package Summary
| Version | 2.7.1 |
| License | BSD-2 |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/clearlab-sustech/bipedal_mpc.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2024-12-30 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Justin Carpentier
- Wolfgang Merkt
Authors
Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms like the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.
Pinocchio was first tailored 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 FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.
Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.
If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.
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
- Pinocchio main features
- Documentation
- Examples
- Tutorials
- Performances
- Ongoing developments
- Visualization
- Citing Pinocchio
- Questions and Issues
- Credits
- Open-source projects relying on Pinocchio
- Acknowledgments
Pinocchio main features
Pinocchio is fast:
- C++ template library,
- cache friendly,
- automatic code generation support is available via CppADCodeGen.
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,
- support multiple precision arithmetic via Boost.Multiprecision or any similar framework,
- computations of kinematic and dynamic regressors for system identification and more,
- and much more with the support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi.
Pinocchio is flexible:
- header only,
- C++ 98/03/11/14/17/20 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).
Documentation
The online Pinocchio documentation of the last release is available here. A cheat sheet pdf with the main functions and algorithms can be found here.
Examples
We provide some basic examples of using Pinocchio in Python in the examples directory. Additional examples introducing Pinocchio are also available in the documentation.
Tutorials
Pinocchio comes with a large bunch of tutorials aiming at introducing the basic tools for robot control. Tutorial and training documents are listed here. You can also consider the interactive Jupyter notebook set of tutorials developed by Nicolas Mansard and Yann de Mont-Marin.
Pinocchio continuous integrations
File truncated at 100 lines see the full file
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[2.7.1] - 2024-04-26
Changed
- Modify algorithm that appends a model to another (#2218)
- Set NOMINMAX as a public definitions on Windows (#2139)
- Improve documentation of
enum ReferenceFrame(#2190) - Improve documentation of
getJointJacobian(#2193).
Fixed
- CMake now uses Relative Path instead of Absolute (#2202)
- Order of frames in
ReducedModelis now the same as in the full model (#2160) - Remove a lot of warnings (#2139)
-
MeshcatVisualizerdoesn’t crash anymore when there is no collision model defined (#2147) - Fix MSVC build (#2155)
- Fix stub generation (#2166)
- Clean up empty documentation pages and sections (#2167)
- Fix SO(3) title and cross-section reference in the documentation (#2210)
Added
- Add
examples/floating-base-velocity-viewer.pyto visualize floating base velocity (#2143) - Add remark to the documentation of
getFrame(Classical)Accelerationfunctions (#2169) - Allow use of installed jrl-cmakemodules (#2216)
[2.7.0] - 2024-01-23
Added
- Add
GeometryObject::meshMaterialattribute (#2084)
Fixed
- Use bp::ssize_t for recent version of Windows compilers (#2102)
- Fix missing include for Boost >= 1.83 (#2103)
- Remove f-strings to fix install with python 2 (#2110)
- CMake: stop exporting CppAd/cppadcodegen & fetch submodule if not available (#2112)
- Fix malloc issue in CRBA algo (#2126)
- Fix build cppad and cppadcg with Boost < 1.77 (#2132)
[2.6.21] - 2023-11-27
Added
- Add inverse dynamics (
rnea) Python and C++ example (#2083) - Add visualization of Frames in MeshCat viewer (#2098)
Fixed
- Re-initialize
Ycrb[0]incrbaMinimal(#2040) - Fix custom scalar use in
logfunction (#2047) - Raise exception on wrong input size in
XYZQUATToSE3Python binding function (#2073) - Remove memory leak in
buildGeomFromUrdfandbuildGeomFromUrdfStringPython binding functions (#2082https://github.com/stack-of-tasks/pinocchio/pull/2082) - Fix Panda3D viewer examples (#2087)
- Fix centroidal dynamics derivatives with respect to time (#2094))
Changed
- Rename freeflyer_joint to root_joint in
humanoidsample model (#2043) - CMake minimal version is now 3.10 (#2055)
- Split headers and sources in different directories to have a more standard C++ project (#2070)
Removed
- Remove support to
hpp-fcl< v2.0.0 (#2086)
[2.6.20] - 2023-08-09
What’s Changed
- Fix support of recent versions of Boost for CppAD and CppADCodeGen by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/2000
- build(deps): bump ros-industrial/industrial_ci from afbf77f39db26785371161d5691ab435b31bb3ba to 1e0c5aff1147d50d58bf4185a55ff564c9b6e027 by @dependabot in https://github.com/stack-of-tasks/pinocchio/pull/2007
- Enabled copy and deepcopy by @cmastalli in https://github.com/stack-of-tasks/pinocchio/pull/1882
- build(deps): bump ros-industrial/industrial_ci from afbf77f39db26785371161d5691ab435b31bb3ba to 9f963f67ebb889792175776c5ee00134d7bb569b by @dependabot in https://github.com/stack-of-tasks/pinocchio/pull/2013
- Sync submodule cmake by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/2029
[2.6.19] - 2023-06-19
What’s Changed
- Add Motion::toHomogeneousMatrix by @stephane-caron in https://github.com/stack-of-tasks/pinocchio/pull/1946
- The insatiable English teacher PR 🧙 by @stephane-caron in https://github.com/stack-of-tasks/pinocchio/pull/1957
- require C++14 for Boost >= 1.81 by @nim65s in https://github.com/stack-of-tasks/pinocchio/pull/1949
- CMake: an example require python 3 by @nim65s in https://github.com/stack-of-tasks/pinocchio/pull/1966
- Fix IK example in the documentation by @stephane-caron in https://github.com/stack-of-tasks/pinocchio/pull/1963
- Issue templates by @stephane-caron in https://github.com/stack-of-tasks/pinocchio/pull/1971
- build(deps): bump ros-industrial/industrial_ci from 4b78602d67127a63dce62926769d9ec4e2ce72e4 to afbf77f39db26785371161d5691ab435b31bb3ba by @dependabot in https://github.com/stack-of-tasks/pinocchio/pull/1976
- Enhance CMake packaging for Windows by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/1984
- Documentation by @drewhamiltonasdf in https://github.com/stack-of-tasks/pinocchio/pull/1986
- Add support for ccache on Conda build by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/1987
- build(deps): bump ros-industrial/industrial_ci from 4b78602d67127a63dce62926769d9ec4e2ce72e4 to afbf77f39db26785371161d5691ab435b31bb3ba by @dependabot in https://github.com/stack-of-tasks/pinocchio/pull/1988
- Enhance compatibility with new Python versions by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/1996
New Contributors
- @drewhamiltonasdf made their first contribution in https://github.com/stack-of-tasks/pinocchio/pull/1986
[2.6.18] - 2023-04-29
File truncated at 100 lines see the full file
Launch files
Messages
Services
Plugins
Recent questions tagged pinocchio at Robotics Stack Exchange
Package Summary
| Version | 4.0.0 |
| License | BSD-2-Clause |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/stack-of-tasks/pinocchio.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-04-20 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Justin Carpentier
- Wolfgang Merkt
- Guilhem Saurel
Authors
Pinocchio is open-source software actively developed by the Willow team at Inria 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 through Conda.
Pinocchio is now at the heart of various robotics software as Aligator, Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework, or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning. Pinocchio is also a primary source of inspiration for the Kamino 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 and the online documentation or DeepWiki.
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
- Questions and Issues
- 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,
- low-complexity constrained articulated body algorithms,
- sparse constrained dynamics and its analytical derivatives,
- full support of multiple-precision floating-point (MPFR) in Python and C++,
- support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi,
- automatic code generation support is available via CppADCodeGen.
Pinocchio can support description formats:
- URDF format,
- SDF format,
- MJCF format,
- SRDF format,
- programmatically.
Pinocchio is flexible:
File truncated at 100 lines see the full file
Changelog
All notable changes to this project will be documented in this file.
Change that doesn’t affect end user should not be listed:
- CI change
- Github specific file change
The format is based on Keep a Changelog.
[Unreleased]
[4.0.0] - 2026-04-13
Highlights
-
lcabaalgorithm:- Compute forward dynamics for constrained system with closed kinematics loops
- Python example here
- New constraint API:
-
PointContactConstraintModelTpl,PointAnchorConstraintModelTpl,FrameAnchorConstraintModelTpl,JointLimitConstraintModelTplandJointFrictionConstraintModelTplconstraint models - Each constraint model is associated to its own constraint data
- Variants
ConstraintModelTpl/ConstraintDataTplencapsulate all constraints models and data - Delassus operator API:
DelassusOperatorDenseTpl,DelassusOperatorSparseTpl,DelassusOperatorCholeskyExpressionTpl,DelassusOperatorRigidBodyTpl - These operators are tightly linked to the new constraints API All these operators compute the same mathematical operator $J M^{-1} J^T$ ($J$ is the constraints jacobian, $M^{-1}$ is the inverse of the mass matrix), but with different algorithms and internal optimizations
-
-
ADMMConstraintSolverTplandPGSConstraintSolverTplalgorithms: - New header convention
- Introduce omnibus headers:
pinocchio/math.hpppinocchio/spatial.hpppinocchio/mutlibody.hpp- …
- Introduce omnibus headers:
Added
- Add
lcabaalgorithm inpinocchio/algorithm/loop-constrained-aba.hpp- Compute forward dynamics for constrained system with closed kinematics loops
- Add
computeJointMinimalOrderinginpinocchio/constraints.hpp- Compute joint processing order for
lcaba
- Compute joint processing order for
- Add new constraint API in
pinocchio/constraints.hpp-
PointContactConstraintModel: models a unilateral contact constraint with coulomb friction cone -
PointAnchorConstraintModel: models a point-wise equality constraint (bilateral constraint) -
FrameAnchorConstraintModel: models a frame-wise equality constraint (bilateral constraint) -
JointLimitConstraintModel: models a component-wise joint limit lower/upper bound constraint -
JointFrictionConstraintModel: models a component-wise joint friction lower/upper bound constraint
-
- Add new Delassus API in
pinocchio/algorithm/delassus.hpp - Add
ADMMConstraintSolverTplinpinocchio/algorithm/solvers/admm-solver.hpp- Solve constrained dynamics using an ADMM algorithm
- Add
PGSConstraintSolverTplinpinocchio/algorithm/solvers/pgs-solver.hpp- Solve constrained dynamics using a projected Gauss Siedel algorithm
- Add new functions in
pinocchio/multibody/liegroup.hpp-
tangentMap: transforms a configuration variation into a small variation expressed in the parametric space -
tangentMapProductandtangentMapTransport: applytangentMapwhile exploiting sparsity
-
- Add mimic joint support for all Lie group related algorithms
- Add new methods to
JointModelBase:-
jointQrowsandjointQcolsthat make selections of sizeNQ -
jointQVMapthat make selections of sizeNQ x NV -
lieGroupthat returns the Lie group instance associated to a joint
-
- Add
lieGroupfunction that returns the Lie group instance associated to a model - Add new
mjcf::buildModeloverload to load new constraint API from MJCF - Add new
sdf::buildModeloverload to load new constraint API from SDF - Add new Python functions to load MJCF model:
- Add
pinocchio.buildModelFromMJCFAndRootJointload model with a custom root joint - Add
pinocchio.buildModelAndConstraintFromMJCFload model and constraints (new API) - Add
pinocchio.buildModelAndLegacyConstraintFromMJCFload model and constraints (old API)
- Add
- Add Python example showcasing the candlewick visualizer
- Add
PINOCCHIO_DISABLE_UNSUPPORTED_WARNINGSC++ definition to disable unsupported algorithm warnings - Add
PINOCCHIO_BUILD_MPFR_TESTINGCMake option to build MPFR tests - Add
pinocchio/utils/alloca.hpp: Helpers for mapping stack allocation for Eigen::Map - Add
pinochio/container/eigen-storage.hpp: Introduceinternal::EigenStorageTpl - Add
pinochio/container/matrix-stack.hpp: Introduceinternal::MatrixStackTpl - Add
pinochio/container/double-entry-container.hpp: Introduceinternal::DoubleEntryContainer - Add
internal::MatrixBlockElementTplinmath.hpp - Add
internal::BlockDiagonalMatrixTplinmath.hpp - Add
internal::matrix_productinmath.hpp - Add
internal::matrix_inversioninmath.hpp - Add
internal::matrix_inversion_code_generatedinmath.hpp - Add support to
libsdformat> 14
Changed
- C++17 is now the minimal supported version of the C++ standard. Check cppreference to see if your compiler supports it.
- Introduce new header convention described here
- Omnibus header as default pinocchio include
- Replace headers guards by
#pragma once
- Bindings/python: Add missing arg names in
visualizer-visitor.hpp - Renamed
PINOCCHIO_PRAGMA_DEPRECATED_HEADERtoPINOCCHIO_MOVED_HEADER - Docs: update documentation stylesheet, fix some Doxygen config options
- Replace
hpp-fclbycoal(seedoc/_porting.md):- C++:
- Deprecate
pinocchio/multibody/fcl.hppmoved atpinocchio/multibody/coal.hpp - Deprecate
pinocchio/serialization/fcl.hppmoved atpinocchio/serialization/coal.hpp - Deprecate
pinocchio/collision/fcl-pinocchio-conversions.hppmoved atpinocchio/collision/coal-pinocchio-conversions.hpp - Deprecate
pinocchio/bindings/python/collision/fcl/transform.hppmoved atpinocchio/bindings/python/collision/coal/transform.hpp - Deprecate
pinocchio::toFclTransform3freplaced bypinocchio::toCoalTransform3s - Deprecate
PINOCCHIO_WITH_HPP_FCLreplaced byPINOCCHIO_WITH_COLLISION
- Deprecate
- Python:
- C++:
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| jrl_cmakemodules | |
| ros_environment | |
| urdfdom | |
| eigenpy | |
| coal |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged pinocchio at Robotics Stack Exchange
Package Summary
| Version | 4.0.0 |
| License | BSD-2-Clause |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/stack-of-tasks/pinocchio.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-04-20 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Justin Carpentier
- Wolfgang Merkt
- Guilhem Saurel
Authors
Pinocchio is open-source software actively developed by the Willow team at Inria 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 through Conda.
Pinocchio is now at the heart of various robotics software as Aligator, Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework, or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning. Pinocchio is also a primary source of inspiration for the Kamino 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 and the online documentation or DeepWiki.
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
- Questions and Issues
- 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,
- low-complexity constrained articulated body algorithms,
- sparse constrained dynamics and its analytical derivatives,
- full support of multiple-precision floating-point (MPFR) in Python and C++,
- support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi,
- automatic code generation support is available via CppADCodeGen.
Pinocchio can support description formats:
- URDF format,
- SDF format,
- MJCF format,
- SRDF format,
- programmatically.
Pinocchio is flexible:
File truncated at 100 lines see the full file
Changelog
All notable changes to this project will be documented in this file.
Change that doesn’t affect end user should not be listed:
- CI change
- Github specific file change
The format is based on Keep a Changelog.
[Unreleased]
[4.0.0] - 2026-04-13
Highlights
-
lcabaalgorithm:- Compute forward dynamics for constrained system with closed kinematics loops
- Python example here
- New constraint API:
-
PointContactConstraintModelTpl,PointAnchorConstraintModelTpl,FrameAnchorConstraintModelTpl,JointLimitConstraintModelTplandJointFrictionConstraintModelTplconstraint models - Each constraint model is associated to its own constraint data
- Variants
ConstraintModelTpl/ConstraintDataTplencapsulate all constraints models and data - Delassus operator API:
DelassusOperatorDenseTpl,DelassusOperatorSparseTpl,DelassusOperatorCholeskyExpressionTpl,DelassusOperatorRigidBodyTpl - These operators are tightly linked to the new constraints API All these operators compute the same mathematical operator $J M^{-1} J^T$ ($J$ is the constraints jacobian, $M^{-1}$ is the inverse of the mass matrix), but with different algorithms and internal optimizations
-
-
ADMMConstraintSolverTplandPGSConstraintSolverTplalgorithms: - New header convention
- Introduce omnibus headers:
pinocchio/math.hpppinocchio/spatial.hpppinocchio/mutlibody.hpp- …
- Introduce omnibus headers:
Added
- Add
lcabaalgorithm inpinocchio/algorithm/loop-constrained-aba.hpp- Compute forward dynamics for constrained system with closed kinematics loops
- Add
computeJointMinimalOrderinginpinocchio/constraints.hpp- Compute joint processing order for
lcaba
- Compute joint processing order for
- Add new constraint API in
pinocchio/constraints.hpp-
PointContactConstraintModel: models a unilateral contact constraint with coulomb friction cone -
PointAnchorConstraintModel: models a point-wise equality constraint (bilateral constraint) -
FrameAnchorConstraintModel: models a frame-wise equality constraint (bilateral constraint) -
JointLimitConstraintModel: models a component-wise joint limit lower/upper bound constraint -
JointFrictionConstraintModel: models a component-wise joint friction lower/upper bound constraint
-
- Add new Delassus API in
pinocchio/algorithm/delassus.hpp - Add
ADMMConstraintSolverTplinpinocchio/algorithm/solvers/admm-solver.hpp- Solve constrained dynamics using an ADMM algorithm
- Add
PGSConstraintSolverTplinpinocchio/algorithm/solvers/pgs-solver.hpp- Solve constrained dynamics using a projected Gauss Siedel algorithm
- Add new functions in
pinocchio/multibody/liegroup.hpp-
tangentMap: transforms a configuration variation into a small variation expressed in the parametric space -
tangentMapProductandtangentMapTransport: applytangentMapwhile exploiting sparsity
-
- Add mimic joint support for all Lie group related algorithms
- Add new methods to
JointModelBase:-
jointQrowsandjointQcolsthat make selections of sizeNQ -
jointQVMapthat make selections of sizeNQ x NV -
lieGroupthat returns the Lie group instance associated to a joint
-
- Add
lieGroupfunction that returns the Lie group instance associated to a model - Add new
mjcf::buildModeloverload to load new constraint API from MJCF - Add new
sdf::buildModeloverload to load new constraint API from SDF - Add new Python functions to load MJCF model:
- Add
pinocchio.buildModelFromMJCFAndRootJointload model with a custom root joint - Add
pinocchio.buildModelAndConstraintFromMJCFload model and constraints (new API) - Add
pinocchio.buildModelAndLegacyConstraintFromMJCFload model and constraints (old API)
- Add
- Add Python example showcasing the candlewick visualizer
- Add
PINOCCHIO_DISABLE_UNSUPPORTED_WARNINGSC++ definition to disable unsupported algorithm warnings - Add
PINOCCHIO_BUILD_MPFR_TESTINGCMake option to build MPFR tests - Add
pinocchio/utils/alloca.hpp: Helpers for mapping stack allocation for Eigen::Map - Add
pinochio/container/eigen-storage.hpp: Introduceinternal::EigenStorageTpl - Add
pinochio/container/matrix-stack.hpp: Introduceinternal::MatrixStackTpl - Add
pinochio/container/double-entry-container.hpp: Introduceinternal::DoubleEntryContainer - Add
internal::MatrixBlockElementTplinmath.hpp - Add
internal::BlockDiagonalMatrixTplinmath.hpp - Add
internal::matrix_productinmath.hpp - Add
internal::matrix_inversioninmath.hpp - Add
internal::matrix_inversion_code_generatedinmath.hpp - Add support to
libsdformat> 14
Changed
- C++17 is now the minimal supported version of the C++ standard. Check cppreference to see if your compiler supports it.
- Introduce new header convention described here
- Omnibus header as default pinocchio include
- Replace headers guards by
#pragma once
- Bindings/python: Add missing arg names in
visualizer-visitor.hpp - Renamed
PINOCCHIO_PRAGMA_DEPRECATED_HEADERtoPINOCCHIO_MOVED_HEADER - Docs: update documentation stylesheet, fix some Doxygen config options
- Replace
hpp-fclbycoal(seedoc/_porting.md):- C++:
- Deprecate
pinocchio/multibody/fcl.hppmoved atpinocchio/multibody/coal.hpp - Deprecate
pinocchio/serialization/fcl.hppmoved atpinocchio/serialization/coal.hpp - Deprecate
pinocchio/collision/fcl-pinocchio-conversions.hppmoved atpinocchio/collision/coal-pinocchio-conversions.hpp - Deprecate
pinocchio/bindings/python/collision/fcl/transform.hppmoved atpinocchio/bindings/python/collision/coal/transform.hpp - Deprecate
pinocchio::toFclTransform3freplaced bypinocchio::toCoalTransform3s - Deprecate
PINOCCHIO_WITH_HPP_FCLreplaced byPINOCCHIO_WITH_COLLISION
- Deprecate
- Python:
- C++:
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| jrl_cmakemodules | |
| ros_environment | |
| urdfdom | |
| eigenpy | |
| coal |
System Dependencies
Dependant Packages
| Name | Deps |
|---|---|
| kinematics_interface_pinocchio |
Launch files
Messages
Services
Plugins
Recent questions tagged pinocchio at Robotics Stack Exchange
Package Summary
| Version | 4.0.0 |
| License | BSD-2-Clause |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/stack-of-tasks/pinocchio.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-04-20 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Justin Carpentier
- Wolfgang Merkt
- Guilhem Saurel
Authors
Pinocchio is open-source software actively developed by the Willow team at Inria 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 through Conda.
Pinocchio is now at the heart of various robotics software as Aligator, Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework, or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning. Pinocchio is also a primary source of inspiration for the Kamino 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 and the online documentation or DeepWiki.
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
- Questions and Issues
- 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,
- low-complexity constrained articulated body algorithms,
- sparse constrained dynamics and its analytical derivatives,
- full support of multiple-precision floating-point (MPFR) in Python and C++,
- support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi,
- automatic code generation support is available via CppADCodeGen.
Pinocchio can support description formats:
- URDF format,
- SDF format,
- MJCF format,
- SRDF format,
- programmatically.
Pinocchio is flexible:
File truncated at 100 lines see the full file
Changelog
All notable changes to this project will be documented in this file.
Change that doesn’t affect end user should not be listed:
- CI change
- Github specific file change
The format is based on Keep a Changelog.
[Unreleased]
[4.0.0] - 2026-04-13
Highlights
-
lcabaalgorithm:- Compute forward dynamics for constrained system with closed kinematics loops
- Python example here
- New constraint API:
-
PointContactConstraintModelTpl,PointAnchorConstraintModelTpl,FrameAnchorConstraintModelTpl,JointLimitConstraintModelTplandJointFrictionConstraintModelTplconstraint models - Each constraint model is associated to its own constraint data
- Variants
ConstraintModelTpl/ConstraintDataTplencapsulate all constraints models and data - Delassus operator API:
DelassusOperatorDenseTpl,DelassusOperatorSparseTpl,DelassusOperatorCholeskyExpressionTpl,DelassusOperatorRigidBodyTpl - These operators are tightly linked to the new constraints API All these operators compute the same mathematical operator $J M^{-1} J^T$ ($J$ is the constraints jacobian, $M^{-1}$ is the inverse of the mass matrix), but with different algorithms and internal optimizations
-
-
ADMMConstraintSolverTplandPGSConstraintSolverTplalgorithms: - New header convention
- Introduce omnibus headers:
pinocchio/math.hpppinocchio/spatial.hpppinocchio/mutlibody.hpp- …
- Introduce omnibus headers:
Added
- Add
lcabaalgorithm inpinocchio/algorithm/loop-constrained-aba.hpp- Compute forward dynamics for constrained system with closed kinematics loops
- Add
computeJointMinimalOrderinginpinocchio/constraints.hpp- Compute joint processing order for
lcaba
- Compute joint processing order for
- Add new constraint API in
pinocchio/constraints.hpp-
PointContactConstraintModel: models a unilateral contact constraint with coulomb friction cone -
PointAnchorConstraintModel: models a point-wise equality constraint (bilateral constraint) -
FrameAnchorConstraintModel: models a frame-wise equality constraint (bilateral constraint) -
JointLimitConstraintModel: models a component-wise joint limit lower/upper bound constraint -
JointFrictionConstraintModel: models a component-wise joint friction lower/upper bound constraint
-
- Add new Delassus API in
pinocchio/algorithm/delassus.hpp - Add
ADMMConstraintSolverTplinpinocchio/algorithm/solvers/admm-solver.hpp- Solve constrained dynamics using an ADMM algorithm
- Add
PGSConstraintSolverTplinpinocchio/algorithm/solvers/pgs-solver.hpp- Solve constrained dynamics using a projected Gauss Siedel algorithm
- Add new functions in
pinocchio/multibody/liegroup.hpp-
tangentMap: transforms a configuration variation into a small variation expressed in the parametric space -
tangentMapProductandtangentMapTransport: applytangentMapwhile exploiting sparsity
-
- Add mimic joint support for all Lie group related algorithms
- Add new methods to
JointModelBase:-
jointQrowsandjointQcolsthat make selections of sizeNQ -
jointQVMapthat make selections of sizeNQ x NV -
lieGroupthat returns the Lie group instance associated to a joint
-
- Add
lieGroupfunction that returns the Lie group instance associated to a model - Add new
mjcf::buildModeloverload to load new constraint API from MJCF - Add new
sdf::buildModeloverload to load new constraint API from SDF - Add new Python functions to load MJCF model:
- Add
pinocchio.buildModelFromMJCFAndRootJointload model with a custom root joint - Add
pinocchio.buildModelAndConstraintFromMJCFload model and constraints (new API) - Add
pinocchio.buildModelAndLegacyConstraintFromMJCFload model and constraints (old API)
- Add
- Add Python example showcasing the candlewick visualizer
- Add
PINOCCHIO_DISABLE_UNSUPPORTED_WARNINGSC++ definition to disable unsupported algorithm warnings - Add
PINOCCHIO_BUILD_MPFR_TESTINGCMake option to build MPFR tests - Add
pinocchio/utils/alloca.hpp: Helpers for mapping stack allocation for Eigen::Map - Add
pinochio/container/eigen-storage.hpp: Introduceinternal::EigenStorageTpl - Add
pinochio/container/matrix-stack.hpp: Introduceinternal::MatrixStackTpl - Add
pinochio/container/double-entry-container.hpp: Introduceinternal::DoubleEntryContainer - Add
internal::MatrixBlockElementTplinmath.hpp - Add
internal::BlockDiagonalMatrixTplinmath.hpp - Add
internal::matrix_productinmath.hpp - Add
internal::matrix_inversioninmath.hpp - Add
internal::matrix_inversion_code_generatedinmath.hpp - Add support to
libsdformat> 14
Changed
- C++17 is now the minimal supported version of the C++ standard. Check cppreference to see if your compiler supports it.
- Introduce new header convention described here
- Omnibus header as default pinocchio include
- Replace headers guards by
#pragma once
- Bindings/python: Add missing arg names in
visualizer-visitor.hpp - Renamed
PINOCCHIO_PRAGMA_DEPRECATED_HEADERtoPINOCCHIO_MOVED_HEADER - Docs: update documentation stylesheet, fix some Doxygen config options
- Replace
hpp-fclbycoal(seedoc/_porting.md):- C++:
- Deprecate
pinocchio/multibody/fcl.hppmoved atpinocchio/multibody/coal.hpp - Deprecate
pinocchio/serialization/fcl.hppmoved atpinocchio/serialization/coal.hpp - Deprecate
pinocchio/collision/fcl-pinocchio-conversions.hppmoved atpinocchio/collision/coal-pinocchio-conversions.hpp - Deprecate
pinocchio/bindings/python/collision/fcl/transform.hppmoved atpinocchio/bindings/python/collision/coal/transform.hpp - Deprecate
pinocchio::toFclTransform3freplaced bypinocchio::toCoalTransform3s - Deprecate
PINOCCHIO_WITH_HPP_FCLreplaced byPINOCCHIO_WITH_COLLISION
- Deprecate
- Python:
- C++:
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| jrl_cmakemodules | |
| ros_environment | |
| urdfdom | |
| eigenpy | |
| coal |
System Dependencies
Dependant Packages
Launch files
Messages
Services
Plugins
Recent questions tagged pinocchio at Robotics Stack Exchange
Package Summary
| Version | 4.0.0 |
| License | BSD-2-Clause |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/stack-of-tasks/pinocchio.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-04-20 |
| Dev Status | DEVELOPED |
| Released | RELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Additional Links
Maintainers
- Justin Carpentier
- Wolfgang Merkt
- Guilhem Saurel
Authors
Pinocchio is open-source software actively developed by the Willow team at Inria 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 through Conda.
Pinocchio is now at the heart of various robotics software as Aligator, Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework, or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning. Pinocchio is also a primary source of inspiration for the Kamino 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 and the online documentation or DeepWiki.
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
- Questions and Issues
- 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,
- low-complexity constrained articulated body algorithms,
- sparse constrained dynamics and its analytical derivatives,
- full support of multiple-precision floating-point (MPFR) in Python and C++,
- support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi,
- automatic code generation support is available via CppADCodeGen.
Pinocchio can support description formats:
- URDF format,
- SDF format,
- MJCF format,
- SRDF format,
- programmatically.
Pinocchio is flexible:
File truncated at 100 lines see the full file
Changelog
All notable changes to this project will be documented in this file.
Change that doesn’t affect end user should not be listed:
- CI change
- Github specific file change
The format is based on Keep a Changelog.
[Unreleased]
[4.0.0] - 2026-04-13
Highlights
-
lcabaalgorithm:- Compute forward dynamics for constrained system with closed kinematics loops
- Python example here
- New constraint API:
-
PointContactConstraintModelTpl,PointAnchorConstraintModelTpl,FrameAnchorConstraintModelTpl,JointLimitConstraintModelTplandJointFrictionConstraintModelTplconstraint models - Each constraint model is associated to its own constraint data
- Variants
ConstraintModelTpl/ConstraintDataTplencapsulate all constraints models and data - Delassus operator API:
DelassusOperatorDenseTpl,DelassusOperatorSparseTpl,DelassusOperatorCholeskyExpressionTpl,DelassusOperatorRigidBodyTpl - These operators are tightly linked to the new constraints API All these operators compute the same mathematical operator $J M^{-1} J^T$ ($J$ is the constraints jacobian, $M^{-1}$ is the inverse of the mass matrix), but with different algorithms and internal optimizations
-
-
ADMMConstraintSolverTplandPGSConstraintSolverTplalgorithms: - New header convention
- Introduce omnibus headers:
pinocchio/math.hpppinocchio/spatial.hpppinocchio/mutlibody.hpp- …
- Introduce omnibus headers:
Added
- Add
lcabaalgorithm inpinocchio/algorithm/loop-constrained-aba.hpp- Compute forward dynamics for constrained system with closed kinematics loops
- Add
computeJointMinimalOrderinginpinocchio/constraints.hpp- Compute joint processing order for
lcaba
- Compute joint processing order for
- Add new constraint API in
pinocchio/constraints.hpp-
PointContactConstraintModel: models a unilateral contact constraint with coulomb friction cone -
PointAnchorConstraintModel: models a point-wise equality constraint (bilateral constraint) -
FrameAnchorConstraintModel: models a frame-wise equality constraint (bilateral constraint) -
JointLimitConstraintModel: models a component-wise joint limit lower/upper bound constraint -
JointFrictionConstraintModel: models a component-wise joint friction lower/upper bound constraint
-
- Add new Delassus API in
pinocchio/algorithm/delassus.hpp - Add
ADMMConstraintSolverTplinpinocchio/algorithm/solvers/admm-solver.hpp- Solve constrained dynamics using an ADMM algorithm
- Add
PGSConstraintSolverTplinpinocchio/algorithm/solvers/pgs-solver.hpp- Solve constrained dynamics using a projected Gauss Siedel algorithm
- Add new functions in
pinocchio/multibody/liegroup.hpp-
tangentMap: transforms a configuration variation into a small variation expressed in the parametric space -
tangentMapProductandtangentMapTransport: applytangentMapwhile exploiting sparsity
-
- Add mimic joint support for all Lie group related algorithms
- Add new methods to
JointModelBase:-
jointQrowsandjointQcolsthat make selections of sizeNQ -
jointQVMapthat make selections of sizeNQ x NV -
lieGroupthat returns the Lie group instance associated to a joint
-
- Add
lieGroupfunction that returns the Lie group instance associated to a model - Add new
mjcf::buildModeloverload to load new constraint API from MJCF - Add new
sdf::buildModeloverload to load new constraint API from SDF - Add new Python functions to load MJCF model:
- Add
pinocchio.buildModelFromMJCFAndRootJointload model with a custom root joint - Add
pinocchio.buildModelAndConstraintFromMJCFload model and constraints (new API) - Add
pinocchio.buildModelAndLegacyConstraintFromMJCFload model and constraints (old API)
- Add
- Add Python example showcasing the candlewick visualizer
- Add
PINOCCHIO_DISABLE_UNSUPPORTED_WARNINGSC++ definition to disable unsupported algorithm warnings - Add
PINOCCHIO_BUILD_MPFR_TESTINGCMake option to build MPFR tests - Add
pinocchio/utils/alloca.hpp: Helpers for mapping stack allocation for Eigen::Map - Add
pinochio/container/eigen-storage.hpp: Introduceinternal::EigenStorageTpl - Add
pinochio/container/matrix-stack.hpp: Introduceinternal::MatrixStackTpl - Add
pinochio/container/double-entry-container.hpp: Introduceinternal::DoubleEntryContainer - Add
internal::MatrixBlockElementTplinmath.hpp - Add
internal::BlockDiagonalMatrixTplinmath.hpp - Add
internal::matrix_productinmath.hpp - Add
internal::matrix_inversioninmath.hpp - Add
internal::matrix_inversion_code_generatedinmath.hpp - Add support to
libsdformat> 14
Changed
- C++17 is now the minimal supported version of the C++ standard. Check cppreference to see if your compiler supports it.
- Introduce new header convention described here
- Omnibus header as default pinocchio include
- Replace headers guards by
#pragma once
- Bindings/python: Add missing arg names in
visualizer-visitor.hpp - Renamed
PINOCCHIO_PRAGMA_DEPRECATED_HEADERtoPINOCCHIO_MOVED_HEADER - Docs: update documentation stylesheet, fix some Doxygen config options
- Replace
hpp-fclbycoal(seedoc/_porting.md):- C++:
- Deprecate
pinocchio/multibody/fcl.hppmoved atpinocchio/multibody/coal.hpp - Deprecate
pinocchio/serialization/fcl.hppmoved atpinocchio/serialization/coal.hpp - Deprecate
pinocchio/collision/fcl-pinocchio-conversions.hppmoved atpinocchio/collision/coal-pinocchio-conversions.hpp - Deprecate
pinocchio/bindings/python/collision/fcl/transform.hppmoved atpinocchio/bindings/python/collision/coal/transform.hpp - Deprecate
pinocchio::toFclTransform3freplaced bypinocchio::toCoalTransform3s - Deprecate
PINOCCHIO_WITH_HPP_FCLreplaced byPINOCCHIO_WITH_COLLISION
- Deprecate
- Python:
- C++:
File truncated at 100 lines see the full file
Package Dependencies
| Deps | Name |
|---|---|
| jrl_cmakemodules | |
| ros_environment | |
| urdfdom | |
| eigenpy | |
| coal |