Package Summary
| Version | 4.0.0 |
| License | BSD-2-Clause |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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
| 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 |
|---|---|
| exotica_pinocchio_dynamics_solver |
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
| 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
| 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 |