Package symbol

pinocchio package from pinocchio repo

pinocchio

ROS Distro
humble

Package Summary

Tags No category tags.
Version 3.7.0
License BSD-2
Build type CMAKE
Use RECOMMENDED

Repository Summary

Description A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Checkout URI https://github.com/stack-of-tasks/pinocchio.git
VCS Type git
VCS Version devel
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags python c-plus-plus robotics kinematics dynamics automatic-differentiation conda motion-planning ros code-generation urdf rigid-body-dynamics cppad fcl casadi analytical-derivatives pinocchio
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives.

Additional Links

Maintainers

  • Justin Carpentier
  • Wolfgang Merkt
  • Guilhem Saurel

Authors

No additional authors.

Pinocchio Logo

License Documentation Coverage Report Conda Downloads Conda Version PyPI version pre-commit.ci status

Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms, such as the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.

Pinocchio was first tailored for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.

Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.

If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.

If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):

conda install pinocchio -c conda-forge

or via pip (currently only available on Linux):

pip install pin

Table of contents

Pinocchio main features

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 create Multi-body system from:

  • URDF file,
  • SDF file,
  • MJCF file,
  • SRDF file to add frame and contact.

Pinocchio is flexible:

  • header only,
  • C++ 11/14/17/20 compliant.

Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit tests, simulations, and real-world robotics applications).

File truncated at 100 lines see the full file

CHANGELOG

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]

Added

  • Beta version of Viser visualizer (#2718)
  • Add pinocchio::graph::ModelGraph class
    • Simple API to build a model
    • Manage joint offset
    • Create a pinocchio::Model with any frame as root frame
    • Create a pinocchio::Model with any joint as root joint
    • Reliably merge two models with pinocchio::graph::mergeGraphs function
    • Reliably fix joints at any configuration with pinocchio::graph::fixJointsGraph
    • C++ example
    • Python example
    • Create a pinocchio::geometryModel using a pinocchio::graph::ModelGraph
    • Python example
  • Add pinocchio::graph::ModelConfigurationConverter class

Fixed

  • Fixed explicit conversions to Scalar type in log.hxx (#2730)
  • Check row dimensions of input Jacobians when computing kinematics Jacobian (#2684)
  • Fix case joint_id == 0 in getJointKinematicHessian (#2705)
  • Fix nvSubtree computation in case a mimic joint is the last joint in the branch (#2707)
  • Fix JointModelMimic::hasConfigurationLimit() to return empty vector instead of delegating to mimicking joint (#2715)
  • Fix check mimic_subtree_joint (#2716)
  • Fix mimic patch for crba (#2716)
  • Fix missing argument in exposeDelassus() pybind definition (#2731)

Changed

  • Disable coal/hpp-fcl warnings when building Pinocchio (#2686)
  • CMake: allow use of system example-robot-data (#2728)

[3.7.0] - 2025-05-21

Changed

  • Change the default branch to devel (#2666)
  • Implement captureImage for Panda3D visualizer for video recording (#2668)
  • Drop Ubuntu 20.04 support (#2680)

[3.6.0] - 2025-04-28

Fixed

  • Fix getters for models and data in VisualizerPythonVisitor (#2647)
  • Fix pinocchio::cholesky::Mv build with CppAd scalar (#2659)
  • Fix pinocchio::contactABA build with casadi scalar (#2659)

Added

  • Add explicit template instantiation for constraint algorithms for casadi, CppAD and CppADCodeGen scalar (#2659)
  • Add casadi bindings for pinocchio.initConstraintDynamics and pinocchio.constraintDynamics (#2659)

[3.5.0] - 2025-04-02

Added

  • Added C++ visualization API, pinocchio::pinocchio_visualizers target (#2574)
  • Added forward declaration for class SE3Tpl, and typedef pinocchio::context::SE3 (#2574)
  • Add macros PINOCCHIO_COMMON_TYPEDEF and PINOCCHIO_OPTIONS_DEFAULT (#2574)
  • Add mimic joint support to the following algorithms: (#2441)
    • Forward kinematics
    • Jacobians and frames
    • Centroid algorithms (ccrba)
    • RNEA
    • CRBA
    • Reachable workspace
  • Add mimic argument in pinocchio::urdf::buildModel to parse URDF mimic field (default to false) (#2441)
  • Add pinocchio::transformJointIntoMimic to turn a joint into a mimic joint and buildMimicModel to transform multiple joints into mimic joints (#2441)
  • Add JointModelBase methods: (#2441)
    • nvExtended to get the DoF of the extended model
    • idx_vExtended to get the joint index in the extended vector of velocity
    • jointExtendedModel{Cols,Rows,Block} to get joint columns/rows/block in extended model matrix
    • JointMapped{Config,Velocity}Selector to get mimicked joint configuration/velocity from the mimicking joint
  • Add precomputed members in DataTpl to accelerate algorithms on mimic: (#2441)
    • idx_vExtended_to_idx_v_fromRow
    • mimic_subtree_joint
    • mimic_parents_fromRow
    • non_mimic_parents_fromRow
  • Add precomputed members in ModelTpl to accelerate algorithms on mimic: (#2441)
    • nvExtended
    • nvExtendeds
    • idx_vExtendeds
    • mimicking_joints
    • mimicked_joints
    • mimic_joint_supports

Changed

  • Rewrite JointModelMimic and rename it JointModelMimicTpl, since JointModelMimic wasn’t working, we don’t consider it a breaking change (#2441)
  • Stop using context::Scalar for GeometryObject(#2441)
  • Use Google benchmark in benchmarks (#2607)

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pinocchio at Robotics Stack Exchange

Package symbol

pinocchio package from pinocchio repo

pinocchio

ROS Distro
jazzy

Package Summary

Tags No category tags.
Version 3.7.0
License BSD-2
Build type CMAKE
Use RECOMMENDED

Repository Summary

Description A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Checkout URI https://github.com/stack-of-tasks/pinocchio.git
VCS Type git
VCS Version devel
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags python c-plus-plus robotics kinematics dynamics automatic-differentiation conda motion-planning ros code-generation urdf rigid-body-dynamics cppad fcl casadi analytical-derivatives pinocchio
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives.

Additional Links

Maintainers

  • Justin Carpentier
  • Wolfgang Merkt
  • Guilhem Saurel

Authors

No additional authors.

Pinocchio Logo

License Documentation Coverage Report Conda Downloads Conda Version PyPI version pre-commit.ci status

Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms, such as the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.

Pinocchio was first tailored for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.

Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.

If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.

If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):

conda install pinocchio -c conda-forge

or via pip (currently only available on Linux):

pip install pin

Table of contents

Pinocchio main features

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 create Multi-body system from:

  • URDF file,
  • SDF file,
  • MJCF file,
  • SRDF file to add frame and contact.

Pinocchio is flexible:

  • header only,
  • C++ 11/14/17/20 compliant.

Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit tests, simulations, and real-world robotics applications).

File truncated at 100 lines see the full file

CHANGELOG

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]

Added

  • Beta version of Viser visualizer (#2718)
  • Add pinocchio::graph::ModelGraph class
    • Simple API to build a model
    • Manage joint offset
    • Create a pinocchio::Model with any frame as root frame
    • Create a pinocchio::Model with any joint as root joint
    • Reliably merge two models with pinocchio::graph::mergeGraphs function
    • Reliably fix joints at any configuration with pinocchio::graph::fixJointsGraph
    • C++ example
    • Python example
    • Create a pinocchio::geometryModel using a pinocchio::graph::ModelGraph
    • Python example
  • Add pinocchio::graph::ModelConfigurationConverter class

Fixed

  • Fixed explicit conversions to Scalar type in log.hxx (#2730)
  • Check row dimensions of input Jacobians when computing kinematics Jacobian (#2684)
  • Fix case joint_id == 0 in getJointKinematicHessian (#2705)
  • Fix nvSubtree computation in case a mimic joint is the last joint in the branch (#2707)
  • Fix JointModelMimic::hasConfigurationLimit() to return empty vector instead of delegating to mimicking joint (#2715)
  • Fix check mimic_subtree_joint (#2716)
  • Fix mimic patch for crba (#2716)
  • Fix missing argument in exposeDelassus() pybind definition (#2731)

Changed

  • Disable coal/hpp-fcl warnings when building Pinocchio (#2686)
  • CMake: allow use of system example-robot-data (#2728)

[3.7.0] - 2025-05-21

Changed

  • Change the default branch to devel (#2666)
  • Implement captureImage for Panda3D visualizer for video recording (#2668)
  • Drop Ubuntu 20.04 support (#2680)

[3.6.0] - 2025-04-28

Fixed

  • Fix getters for models and data in VisualizerPythonVisitor (#2647)
  • Fix pinocchio::cholesky::Mv build with CppAd scalar (#2659)
  • Fix pinocchio::contactABA build with casadi scalar (#2659)

Added

  • Add explicit template instantiation for constraint algorithms for casadi, CppAD and CppADCodeGen scalar (#2659)
  • Add casadi bindings for pinocchio.initConstraintDynamics and pinocchio.constraintDynamics (#2659)

[3.5.0] - 2025-04-02

Added

  • Added C++ visualization API, pinocchio::pinocchio_visualizers target (#2574)
  • Added forward declaration for class SE3Tpl, and typedef pinocchio::context::SE3 (#2574)
  • Add macros PINOCCHIO_COMMON_TYPEDEF and PINOCCHIO_OPTIONS_DEFAULT (#2574)
  • Add mimic joint support to the following algorithms: (#2441)
    • Forward kinematics
    • Jacobians and frames
    • Centroid algorithms (ccrba)
    • RNEA
    • CRBA
    • Reachable workspace
  • Add mimic argument in pinocchio::urdf::buildModel to parse URDF mimic field (default to false) (#2441)
  • Add pinocchio::transformJointIntoMimic to turn a joint into a mimic joint and buildMimicModel to transform multiple joints into mimic joints (#2441)
  • Add JointModelBase methods: (#2441)
    • nvExtended to get the DoF of the extended model
    • idx_vExtended to get the joint index in the extended vector of velocity
    • jointExtendedModel{Cols,Rows,Block} to get joint columns/rows/block in extended model matrix
    • JointMapped{Config,Velocity}Selector to get mimicked joint configuration/velocity from the mimicking joint
  • Add precomputed members in DataTpl to accelerate algorithms on mimic: (#2441)
    • idx_vExtended_to_idx_v_fromRow
    • mimic_subtree_joint
    • mimic_parents_fromRow
    • non_mimic_parents_fromRow
  • Add precomputed members in ModelTpl to accelerate algorithms on mimic: (#2441)
    • nvExtended
    • nvExtendeds
    • idx_vExtendeds
    • mimicking_joints
    • mimicked_joints
    • mimic_joint_supports

Changed

  • Rewrite JointModelMimic and rename it JointModelMimicTpl, since JointModelMimic wasn’t working, we don’t consider it a breaking change (#2441)
  • Stop using context::Scalar for GeometryObject(#2441)
  • Use Google benchmark in benchmarks (#2607)

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pinocchio at Robotics Stack Exchange

Package symbol

pinocchio package from pinocchio repo

pinocchio

ROS Distro
kilted

Package Summary

Tags No category tags.
Version 3.7.0
License BSD-2
Build type CMAKE
Use RECOMMENDED

Repository Summary

Description A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Checkout URI https://github.com/stack-of-tasks/pinocchio.git
VCS Type git
VCS Version devel
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags python c-plus-plus robotics kinematics dynamics automatic-differentiation conda motion-planning ros code-generation urdf rigid-body-dynamics cppad fcl casadi analytical-derivatives pinocchio
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives.

Additional Links

Maintainers

  • Justin Carpentier
  • Wolfgang Merkt
  • Guilhem Saurel

Authors

No additional authors.

Pinocchio Logo

License Documentation Coverage Report Conda Downloads Conda Version PyPI version pre-commit.ci status

Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms, such as the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.

Pinocchio was first tailored for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.

Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.

If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.

If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):

conda install pinocchio -c conda-forge

or via pip (currently only available on Linux):

pip install pin

Table of contents

Pinocchio main features

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 create Multi-body system from:

  • URDF file,
  • SDF file,
  • MJCF file,
  • SRDF file to add frame and contact.

Pinocchio is flexible:

  • header only,
  • C++ 11/14/17/20 compliant.

Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit tests, simulations, and real-world robotics applications).

File truncated at 100 lines see the full file

CHANGELOG

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]

Added

  • Beta version of Viser visualizer (#2718)
  • Add pinocchio::graph::ModelGraph class
    • Simple API to build a model
    • Manage joint offset
    • Create a pinocchio::Model with any frame as root frame
    • Create a pinocchio::Model with any joint as root joint
    • Reliably merge two models with pinocchio::graph::mergeGraphs function
    • Reliably fix joints at any configuration with pinocchio::graph::fixJointsGraph
    • C++ example
    • Python example
    • Create a pinocchio::geometryModel using a pinocchio::graph::ModelGraph
    • Python example
  • Add pinocchio::graph::ModelConfigurationConverter class

Fixed

  • Fixed explicit conversions to Scalar type in log.hxx (#2730)
  • Check row dimensions of input Jacobians when computing kinematics Jacobian (#2684)
  • Fix case joint_id == 0 in getJointKinematicHessian (#2705)
  • Fix nvSubtree computation in case a mimic joint is the last joint in the branch (#2707)
  • Fix JointModelMimic::hasConfigurationLimit() to return empty vector instead of delegating to mimicking joint (#2715)
  • Fix check mimic_subtree_joint (#2716)
  • Fix mimic patch for crba (#2716)
  • Fix missing argument in exposeDelassus() pybind definition (#2731)

Changed

  • Disable coal/hpp-fcl warnings when building Pinocchio (#2686)
  • CMake: allow use of system example-robot-data (#2728)

[3.7.0] - 2025-05-21

Changed

  • Change the default branch to devel (#2666)
  • Implement captureImage for Panda3D visualizer for video recording (#2668)
  • Drop Ubuntu 20.04 support (#2680)

[3.6.0] - 2025-04-28

Fixed

  • Fix getters for models and data in VisualizerPythonVisitor (#2647)
  • Fix pinocchio::cholesky::Mv build with CppAd scalar (#2659)
  • Fix pinocchio::contactABA build with casadi scalar (#2659)

Added

  • Add explicit template instantiation for constraint algorithms for casadi, CppAD and CppADCodeGen scalar (#2659)
  • Add casadi bindings for pinocchio.initConstraintDynamics and pinocchio.constraintDynamics (#2659)

[3.5.0] - 2025-04-02

Added

  • Added C++ visualization API, pinocchio::pinocchio_visualizers target (#2574)
  • Added forward declaration for class SE3Tpl, and typedef pinocchio::context::SE3 (#2574)
  • Add macros PINOCCHIO_COMMON_TYPEDEF and PINOCCHIO_OPTIONS_DEFAULT (#2574)
  • Add mimic joint support to the following algorithms: (#2441)
    • Forward kinematics
    • Jacobians and frames
    • Centroid algorithms (ccrba)
    • RNEA
    • CRBA
    • Reachable workspace
  • Add mimic argument in pinocchio::urdf::buildModel to parse URDF mimic field (default to false) (#2441)
  • Add pinocchio::transformJointIntoMimic to turn a joint into a mimic joint and buildMimicModel to transform multiple joints into mimic joints (#2441)
  • Add JointModelBase methods: (#2441)
    • nvExtended to get the DoF of the extended model
    • idx_vExtended to get the joint index in the extended vector of velocity
    • jointExtendedModel{Cols,Rows,Block} to get joint columns/rows/block in extended model matrix
    • JointMapped{Config,Velocity}Selector to get mimicked joint configuration/velocity from the mimicking joint
  • Add precomputed members in DataTpl to accelerate algorithms on mimic: (#2441)
    • idx_vExtended_to_idx_v_fromRow
    • mimic_subtree_joint
    • mimic_parents_fromRow
    • non_mimic_parents_fromRow
  • Add precomputed members in ModelTpl to accelerate algorithms on mimic: (#2441)
    • nvExtended
    • nvExtendeds
    • idx_vExtendeds
    • mimicking_joints
    • mimicked_joints
    • mimic_joint_supports

Changed

  • Rewrite JointModelMimic and rename it JointModelMimicTpl, since JointModelMimic wasn’t working, we don’t consider it a breaking change (#2441)
  • Stop using context::Scalar for GeometryObject(#2441)
  • Use Google benchmark in benchmarks (#2607)

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pinocchio at Robotics Stack Exchange

Package symbol

pinocchio package from pinocchio repo

pinocchio

ROS Distro
rolling

Package Summary

Tags No category tags.
Version 3.7.0
License BSD-2
Build type CMAKE
Use RECOMMENDED

Repository Summary

Description A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Checkout URI https://github.com/stack-of-tasks/pinocchio.git
VCS Type git
VCS Version devel
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags python c-plus-plus robotics kinematics dynamics automatic-differentiation conda motion-planning ros code-generation urdf rigid-body-dynamics cppad fcl casadi analytical-derivatives pinocchio
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives.

Additional Links

Maintainers

  • Justin Carpentier
  • Wolfgang Merkt
  • Guilhem Saurel

Authors

No additional authors.

Pinocchio Logo

License Documentation Coverage Report Conda Downloads Conda Version PyPI version pre-commit.ci status

Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms, such as the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.

Pinocchio was first tailored for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.

Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.

If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.

If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):

conda install pinocchio -c conda-forge

or via pip (currently only available on Linux):

pip install pin

Table of contents

Pinocchio main features

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 create Multi-body system from:

  • URDF file,
  • SDF file,
  • MJCF file,
  • SRDF file to add frame and contact.

Pinocchio is flexible:

  • header only,
  • C++ 11/14/17/20 compliant.

Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit tests, simulations, and real-world robotics applications).

File truncated at 100 lines see the full file

CHANGELOG

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]

Added

  • Beta version of Viser visualizer (#2718)
  • Add pinocchio::graph::ModelGraph class
    • Simple API to build a model
    • Manage joint offset
    • Create a pinocchio::Model with any frame as root frame
    • Create a pinocchio::Model with any joint as root joint
    • Reliably merge two models with pinocchio::graph::mergeGraphs function
    • Reliably fix joints at any configuration with pinocchio::graph::fixJointsGraph
    • C++ example
    • Python example
    • Create a pinocchio::geometryModel using a pinocchio::graph::ModelGraph
    • Python example
  • Add pinocchio::graph::ModelConfigurationConverter class

Fixed

  • Fixed explicit conversions to Scalar type in log.hxx (#2730)
  • Check row dimensions of input Jacobians when computing kinematics Jacobian (#2684)
  • Fix case joint_id == 0 in getJointKinematicHessian (#2705)
  • Fix nvSubtree computation in case a mimic joint is the last joint in the branch (#2707)
  • Fix JointModelMimic::hasConfigurationLimit() to return empty vector instead of delegating to mimicking joint (#2715)
  • Fix check mimic_subtree_joint (#2716)
  • Fix mimic patch for crba (#2716)
  • Fix missing argument in exposeDelassus() pybind definition (#2731)

Changed

  • Disable coal/hpp-fcl warnings when building Pinocchio (#2686)
  • CMake: allow use of system example-robot-data (#2728)

[3.7.0] - 2025-05-21

Changed

  • Change the default branch to devel (#2666)
  • Implement captureImage for Panda3D visualizer for video recording (#2668)
  • Drop Ubuntu 20.04 support (#2680)

[3.6.0] - 2025-04-28

Fixed

  • Fix getters for models and data in VisualizerPythonVisitor (#2647)
  • Fix pinocchio::cholesky::Mv build with CppAd scalar (#2659)
  • Fix pinocchio::contactABA build with casadi scalar (#2659)

Added

  • Add explicit template instantiation for constraint algorithms for casadi, CppAD and CppADCodeGen scalar (#2659)
  • Add casadi bindings for pinocchio.initConstraintDynamics and pinocchio.constraintDynamics (#2659)

[3.5.0] - 2025-04-02

Added

  • Added C++ visualization API, pinocchio::pinocchio_visualizers target (#2574)
  • Added forward declaration for class SE3Tpl, and typedef pinocchio::context::SE3 (#2574)
  • Add macros PINOCCHIO_COMMON_TYPEDEF and PINOCCHIO_OPTIONS_DEFAULT (#2574)
  • Add mimic joint support to the following algorithms: (#2441)
    • Forward kinematics
    • Jacobians and frames
    • Centroid algorithms (ccrba)
    • RNEA
    • CRBA
    • Reachable workspace
  • Add mimic argument in pinocchio::urdf::buildModel to parse URDF mimic field (default to false) (#2441)
  • Add pinocchio::transformJointIntoMimic to turn a joint into a mimic joint and buildMimicModel to transform multiple joints into mimic joints (#2441)
  • Add JointModelBase methods: (#2441)
    • nvExtended to get the DoF of the extended model
    • idx_vExtended to get the joint index in the extended vector of velocity
    • jointExtendedModel{Cols,Rows,Block} to get joint columns/rows/block in extended model matrix
    • JointMapped{Config,Velocity}Selector to get mimicked joint configuration/velocity from the mimicking joint
  • Add precomputed members in DataTpl to accelerate algorithms on mimic: (#2441)
    • idx_vExtended_to_idx_v_fromRow
    • mimic_subtree_joint
    • mimic_parents_fromRow
    • non_mimic_parents_fromRow
  • Add precomputed members in ModelTpl to accelerate algorithms on mimic: (#2441)
    • nvExtended
    • nvExtendeds
    • idx_vExtendeds
    • mimicking_joints
    • mimicked_joints
    • mimic_joint_supports

Changed

  • Rewrite JointModelMimic and rename it JointModelMimicTpl, since JointModelMimic wasn’t working, we don’t consider it a breaking change (#2441)
  • Stop using context::Scalar for GeometryObject(#2441)
  • Use Google benchmark in benchmarks (#2607)

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pinocchio at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 2.7.1
License BSD-2
Build type CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/clearlab-sustech/bipedal_mpc.git
VCS Type git
VCS Version master
Last Updated 2024-12-30
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives.

Additional Links

Maintainers

  • Justin Carpentier
  • Wolfgang Merkt

Authors

No additional authors.

Pinocchio Logo

License Documentation Coverage Report Conda Downloads Conda Version PyPI version

Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms like the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.

Pinocchio was first tailored for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.

Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.

If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.

If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):

conda install pinocchio -c conda-forge

or via pip (currently only available on Linux):

pip install pin

Table of contents

Pinocchio main features

Pinocchio is fast:

  • C++ template library,
  • cache friendly,
  • automatic code generation support is available via CppADCodeGen.

Pinocchio is versatile, implementing basic and more advanced rigid body dynamics algorithms:

  • forward kinematics and its analytical derivatives,
  • forward/inverse dynamics and their analytical derivatives,
  • centroidal dynamics and its analytical derivatives,
  • support multiple precision arithmetic via Boost.Multiprecision or any similar framework,
  • computations of kinematic and dynamic regressors for system identification and more,
  • and much more with the support of modern and open-source Automatic Differentiation frameworks like CppAD or CasADi.

Pinocchio is flexible:

  • header only,
  • C++ 98/03/11/14/17/20 compliant.

Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit-tests, simulations, and real-world robotics applications). Pinocchio is supported and tested on Windows, Mac OS X, Unix, and Linux (see build status here).

Documentation

The online Pinocchio documentation of the last release is available here. A cheat sheet pdf with the main functions and algorithms can be found here.

Examples

We provide some basic examples of using Pinocchio in Python in the examples directory. Additional examples introducing Pinocchio are also available in the documentation.

Tutorials

Pinocchio comes with a large bunch of tutorials aiming at introducing the basic tools for robot control. Tutorial and training documents are listed here. You can also consider the interactive Jupyter notebook set of tutorials developed by Nicolas Mansard and Yann de Mont-Marin.

Pinocchio continuous integrations

File truncated at 100 lines see the full file

CHANGELOG

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

[Unreleased]

[2.7.1] - 2024-04-26

Changed

  • Modify algorithm that appends a model to another (#2218)
  • Set NOMINMAX as a public definitions on Windows (#2139)
  • Improve documentation of enum ReferenceFrame (#2190)
  • Improve documentation of getJointJacobian (#2193).

Fixed

  • CMake now uses Relative Path instead of Absolute (#2202)
  • Order of frames in ReducedModel is now the same as in the full model (#2160)
  • Remove a lot of warnings (#2139)
  • MeshcatVisualizer doesn’t crash anymore when there is no collision model defined (#2147)
  • Fix MSVC build (#2155)
  • Fix stub generation (#2166)
  • Clean up empty documentation pages and sections (#2167)
  • Fix SO(3) title and cross-section reference in the documentation (#2210)

Added

  • Add examples/floating-base-velocity-viewer.py to visualize floating base velocity (#2143)
  • Add remark to the documentation of getFrame(Classical)Acceleration functions (#2169)
  • Allow use of installed jrl-cmakemodules (#2216)

[2.7.0] - 2024-01-23

Added

  • Add GeometryObject::meshMaterial attribute (#2084)

Fixed

  • Use bp::ssize_t for recent version of Windows compilers (#2102)
  • Fix missing include for Boost >= 1.83 (#2103)
  • Remove f-strings to fix install with python 2 (#2110)
  • CMake: stop exporting CppAd/cppadcodegen & fetch submodule if not available (#2112)
  • Fix malloc issue in CRBA algo (#2126)
  • Fix build cppad and cppadcg with Boost < 1.77 (#2132)

[2.6.21] - 2023-11-27

Added

  • Add inverse dynamics (rnea) Python and C++ example (#2083)
  • Add visualization of Frames in MeshCat viewer (#2098)

Fixed

  • Re-initialize Ycrb[0] in crbaMinimal (#2040)
  • Fix custom scalar use in log function (#2047)
  • Raise exception on wrong input size in XYZQUATToSE3 Python binding function (#2073)
  • Remove memory leak in buildGeomFromUrdf and buildGeomFromUrdfString Python binding functions (#2082https://github.com/stack-of-tasks/pinocchio/pull/2082)
  • Fix Panda3D viewer examples (#2087)
  • Fix centroidal dynamics derivatives with respect to time (#2094))

Changed

  • Rename freeflyer_joint to root_joint in humanoid sample model (#2043)
  • CMake minimal version is now 3.10 (#2055)
  • Split headers and sources in different directories to have a more standard C++ project (#2070)

Removed

  • Remove support to hpp-fcl < v2.0.0 (#2086)

[2.6.20] - 2023-08-09

What’s Changed

  • Fix support of recent versions of Boost for CppAD and CppADCodeGen by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/2000
  • build(deps): bump ros-industrial/industrial_ci from afbf77f39db26785371161d5691ab435b31bb3ba to 1e0c5aff1147d50d58bf4185a55ff564c9b6e027 by @dependabot in https://github.com/stack-of-tasks/pinocchio/pull/2007
  • Enabled copy and deepcopy by @cmastalli in https://github.com/stack-of-tasks/pinocchio/pull/1882
  • build(deps): bump ros-industrial/industrial_ci from afbf77f39db26785371161d5691ab435b31bb3ba to 9f963f67ebb889792175776c5ee00134d7bb569b by @dependabot in https://github.com/stack-of-tasks/pinocchio/pull/2013
  • Sync submodule cmake by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/2029

[2.6.19] - 2023-06-19

What’s Changed

  • Add Motion::toHomogeneousMatrix by @stephane-caron in https://github.com/stack-of-tasks/pinocchio/pull/1946
  • The insatiable English teacher PR 🧙 by @stephane-caron in https://github.com/stack-of-tasks/pinocchio/pull/1957
  • require C++14 for Boost >= 1.81 by @nim65s in https://github.com/stack-of-tasks/pinocchio/pull/1949
  • CMake: an example require python 3 by @nim65s in https://github.com/stack-of-tasks/pinocchio/pull/1966
  • Fix IK example in the documentation by @stephane-caron in https://github.com/stack-of-tasks/pinocchio/pull/1963
  • Issue templates by @stephane-caron in https://github.com/stack-of-tasks/pinocchio/pull/1971
  • build(deps): bump ros-industrial/industrial_ci from 4b78602d67127a63dce62926769d9ec4e2ce72e4 to afbf77f39db26785371161d5691ab435b31bb3ba by @dependabot in https://github.com/stack-of-tasks/pinocchio/pull/1976
  • Enhance CMake packaging for Windows by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/1984
  • Documentation by @drewhamiltonasdf in https://github.com/stack-of-tasks/pinocchio/pull/1986
  • Add support for ccache on Conda build by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/1987
  • build(deps): bump ros-industrial/industrial_ci from 4b78602d67127a63dce62926769d9ec4e2ce72e4 to afbf77f39db26785371161d5691ab435b31bb3ba by @dependabot in https://github.com/stack-of-tasks/pinocchio/pull/1988
  • Enhance compatibility with new Python versions by @jcarpent in https://github.com/stack-of-tasks/pinocchio/pull/1996

New Contributors

  • @drewhamiltonasdf made their first contribution in https://github.com/stack-of-tasks/pinocchio/pull/1986

[2.6.18] - 2023-04-29

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pinocchio at Robotics Stack Exchange

Package symbol

pinocchio package from pinocchio repo

pinocchio

ROS Distro
galactic

Package Summary

Tags No category tags.
Version 3.7.0
License BSD-2
Build type CMAKE
Use RECOMMENDED

Repository Summary

Description A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Checkout URI https://github.com/stack-of-tasks/pinocchio.git
VCS Type git
VCS Version devel
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags python c-plus-plus robotics kinematics dynamics automatic-differentiation conda motion-planning ros code-generation urdf rigid-body-dynamics cppad fcl casadi analytical-derivatives pinocchio
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives.

Additional Links

Maintainers

  • Justin Carpentier
  • Wolfgang Merkt
  • Guilhem Saurel

Authors

No additional authors.

Pinocchio Logo

License Documentation Coverage Report Conda Downloads Conda Version PyPI version pre-commit.ci status

Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms, such as the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.

Pinocchio was first tailored for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.

Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.

If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.

If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):

conda install pinocchio -c conda-forge

or via pip (currently only available on Linux):

pip install pin

Table of contents

Pinocchio main features

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 create Multi-body system from:

  • URDF file,
  • SDF file,
  • MJCF file,
  • SRDF file to add frame and contact.

Pinocchio is flexible:

  • header only,
  • C++ 11/14/17/20 compliant.

Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit tests, simulations, and real-world robotics applications).

File truncated at 100 lines see the full file

CHANGELOG

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]

Added

  • Beta version of Viser visualizer (#2718)
  • Add pinocchio::graph::ModelGraph class
    • Simple API to build a model
    • Manage joint offset
    • Create a pinocchio::Model with any frame as root frame
    • Create a pinocchio::Model with any joint as root joint
    • Reliably merge two models with pinocchio::graph::mergeGraphs function
    • Reliably fix joints at any configuration with pinocchio::graph::fixJointsGraph
    • C++ example
    • Python example
    • Create a pinocchio::geometryModel using a pinocchio::graph::ModelGraph
    • Python example
  • Add pinocchio::graph::ModelConfigurationConverter class

Fixed

  • Fixed explicit conversions to Scalar type in log.hxx (#2730)
  • Check row dimensions of input Jacobians when computing kinematics Jacobian (#2684)
  • Fix case joint_id == 0 in getJointKinematicHessian (#2705)
  • Fix nvSubtree computation in case a mimic joint is the last joint in the branch (#2707)
  • Fix JointModelMimic::hasConfigurationLimit() to return empty vector instead of delegating to mimicking joint (#2715)
  • Fix check mimic_subtree_joint (#2716)
  • Fix mimic patch for crba (#2716)
  • Fix missing argument in exposeDelassus() pybind definition (#2731)

Changed

  • Disable coal/hpp-fcl warnings when building Pinocchio (#2686)
  • CMake: allow use of system example-robot-data (#2728)

[3.7.0] - 2025-05-21

Changed

  • Change the default branch to devel (#2666)
  • Implement captureImage for Panda3D visualizer for video recording (#2668)
  • Drop Ubuntu 20.04 support (#2680)

[3.6.0] - 2025-04-28

Fixed

  • Fix getters for models and data in VisualizerPythonVisitor (#2647)
  • Fix pinocchio::cholesky::Mv build with CppAd scalar (#2659)
  • Fix pinocchio::contactABA build with casadi scalar (#2659)

Added

  • Add explicit template instantiation for constraint algorithms for casadi, CppAD and CppADCodeGen scalar (#2659)
  • Add casadi bindings for pinocchio.initConstraintDynamics and pinocchio.constraintDynamics (#2659)

[3.5.0] - 2025-04-02

Added

  • Added C++ visualization API, pinocchio::pinocchio_visualizers target (#2574)
  • Added forward declaration for class SE3Tpl, and typedef pinocchio::context::SE3 (#2574)
  • Add macros PINOCCHIO_COMMON_TYPEDEF and PINOCCHIO_OPTIONS_DEFAULT (#2574)
  • Add mimic joint support to the following algorithms: (#2441)
    • Forward kinematics
    • Jacobians and frames
    • Centroid algorithms (ccrba)
    • RNEA
    • CRBA
    • Reachable workspace
  • Add mimic argument in pinocchio::urdf::buildModel to parse URDF mimic field (default to false) (#2441)
  • Add pinocchio::transformJointIntoMimic to turn a joint into a mimic joint and buildMimicModel to transform multiple joints into mimic joints (#2441)
  • Add JointModelBase methods: (#2441)
    • nvExtended to get the DoF of the extended model
    • idx_vExtended to get the joint index in the extended vector of velocity
    • jointExtendedModel{Cols,Rows,Block} to get joint columns/rows/block in extended model matrix
    • JointMapped{Config,Velocity}Selector to get mimicked joint configuration/velocity from the mimicking joint
  • Add precomputed members in DataTpl to accelerate algorithms on mimic: (#2441)
    • idx_vExtended_to_idx_v_fromRow
    • mimic_subtree_joint
    • mimic_parents_fromRow
    • non_mimic_parents_fromRow
  • Add precomputed members in ModelTpl to accelerate algorithms on mimic: (#2441)
    • nvExtended
    • nvExtendeds
    • idx_vExtendeds
    • mimicking_joints
    • mimicked_joints
    • mimic_joint_supports

Changed

  • Rewrite JointModelMimic and rename it JointModelMimicTpl, since JointModelMimic wasn’t working, we don’t consider it a breaking change (#2441)
  • Stop using context::Scalar for GeometryObject(#2441)
  • Use Google benchmark in benchmarks (#2607)

File truncated at 100 lines see the full file

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pinocchio at Robotics Stack Exchange

Package symbol

pinocchio package from pinocchio repo

pinocchio

ROS Distro
iron

Package Summary

Tags No category tags.
Version 3.7.0
License BSD-2
Build type CMAKE
Use RECOMMENDED

Repository Summary

Description A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Checkout URI https://github.com/stack-of-tasks/pinocchio.git
VCS Type git
VCS Version devel
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags python c-plus-plus robotics kinematics dynamics automatic-differentiation conda motion-planning ros code-generation urdf rigid-body-dynamics cppad fcl casadi analytical-derivatives pinocchio
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives.

Additional Links

Maintainers

  • Justin Carpentier
  • Wolfgang Merkt
  • Guilhem Saurel

Authors

No additional authors.

Pinocchio Logo

License Documentation Coverage Report Conda Downloads Conda Version PyPI version pre-commit.ci status

Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms, such as the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.

Pinocchio was first tailored for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.

Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.

If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.

If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):

conda install pinocchio -c conda-forge

or via pip (currently only available on Linux):

pip install pin

Table of contents

Pinocchio main features

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 create Multi-body system from:

  • URDF file,
  • SDF file,
  • MJCF file,
  • SRDF file to add frame and contact.

Pinocchio is flexible:

  • header only,
  • C++ 11/14/17/20 compliant.

Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit tests, simulations, and real-world robotics applications).

File truncated at 100 lines see the full file

CHANGELOG

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]

Added

  • Beta version of Viser visualizer (#2718)
  • Add pinocchio::graph::ModelGraph class
    • Simple API to build a model
    • Manage joint offset
    • Create a pinocchio::Model with any frame as root frame
    • Create a pinocchio::Model with any joint as root joint
    • Reliably merge two models with pinocchio::graph::mergeGraphs function
    • Reliably fix joints at any configuration with pinocchio::graph::fixJointsGraph
    • C++ example
    • Python example
    • Create a pinocchio::geometryModel using a pinocchio::graph::ModelGraph
    • Python example
  • Add pinocchio::graph::ModelConfigurationConverter class

Fixed

  • Fixed explicit conversions to Scalar type in log.hxx (#2730)
  • Check row dimensions of input Jacobians when computing kinematics Jacobian (#2684)
  • Fix case joint_id == 0 in getJointKinematicHessian (#2705)
  • Fix nvSubtree computation in case a mimic joint is the last joint in the branch (#2707)
  • Fix JointModelMimic::hasConfigurationLimit() to return empty vector instead of delegating to mimicking joint (#2715)
  • Fix check mimic_subtree_joint (#2716)
  • Fix mimic patch for crba (#2716)
  • Fix missing argument in exposeDelassus() pybind definition (#2731)

Changed

  • Disable coal/hpp-fcl warnings when building Pinocchio (#2686)
  • CMake: allow use of system example-robot-data (#2728)

[3.7.0] - 2025-05-21

Changed

  • Change the default branch to devel (#2666)
  • Implement captureImage for Panda3D visualizer for video recording (#2668)
  • Drop Ubuntu 20.04 support (#2680)

[3.6.0] - 2025-04-28

Fixed

  • Fix getters for models and data in VisualizerPythonVisitor (#2647)
  • Fix pinocchio::cholesky::Mv build with CppAd scalar (#2659)
  • Fix pinocchio::contactABA build with casadi scalar (#2659)

Added

  • Add explicit template instantiation for constraint algorithms for casadi, CppAD and CppADCodeGen scalar (#2659)
  • Add casadi bindings for pinocchio.initConstraintDynamics and pinocchio.constraintDynamics (#2659)

[3.5.0] - 2025-04-02

Added

  • Added C++ visualization API, pinocchio::pinocchio_visualizers target (#2574)
  • Added forward declaration for class SE3Tpl, and typedef pinocchio::context::SE3 (#2574)
  • Add macros PINOCCHIO_COMMON_TYPEDEF and PINOCCHIO_OPTIONS_DEFAULT (#2574)
  • Add mimic joint support to the following algorithms: (#2441)
    • Forward kinematics
    • Jacobians and frames
    • Centroid algorithms (ccrba)
    • RNEA
    • CRBA
    • Reachable workspace
  • Add mimic argument in pinocchio::urdf::buildModel to parse URDF mimic field (default to false) (#2441)
  • Add pinocchio::transformJointIntoMimic to turn a joint into a mimic joint and buildMimicModel to transform multiple joints into mimic joints (#2441)
  • Add JointModelBase methods: (#2441)
    • nvExtended to get the DoF of the extended model
    • idx_vExtended to get the joint index in the extended vector of velocity
    • jointExtendedModel{Cols,Rows,Block} to get joint columns/rows/block in extended model matrix
    • JointMapped{Config,Velocity}Selector to get mimicked joint configuration/velocity from the mimicking joint
  • Add precomputed members in DataTpl to accelerate algorithms on mimic: (#2441)
    • idx_vExtended_to_idx_v_fromRow
    • mimic_subtree_joint
    • mimic_parents_fromRow
    • non_mimic_parents_fromRow
  • Add precomputed members in ModelTpl to accelerate algorithms on mimic: (#2441)
    • nvExtended
    • nvExtendeds
    • idx_vExtendeds
    • mimicking_joints
    • mimicked_joints
    • mimic_joint_supports

Changed

  • Rewrite JointModelMimic and rename it JointModelMimicTpl, since JointModelMimic wasn’t working, we don’t consider it a breaking change (#2441)
  • Stop using context::Scalar for GeometryObject(#2441)
  • Use Google benchmark in benchmarks (#2607)

File truncated at 100 lines see the full file

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pinocchio at Robotics Stack Exchange

Package symbol

pinocchio package from pinocchio repo

pinocchio

ROS Distro
melodic

Package Summary

Tags No category tags.
Version 3.7.0
License BSD-2
Build type CMAKE
Use RECOMMENDED

Repository Summary

Description A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Checkout URI https://github.com/stack-of-tasks/pinocchio.git
VCS Type git
VCS Version devel
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags python c-plus-plus robotics kinematics dynamics automatic-differentiation conda motion-planning ros code-generation urdf rigid-body-dynamics cppad fcl casadi analytical-derivatives pinocchio
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives.

Additional Links

Maintainers

  • Justin Carpentier
  • Wolfgang Merkt
  • Guilhem Saurel

Authors

No additional authors.

Pinocchio Logo

License Documentation Coverage Report Conda Downloads Conda Version PyPI version pre-commit.ci status

Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms, such as the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.

Pinocchio was first tailored for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.

Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.

If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.

If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):

conda install pinocchio -c conda-forge

or via pip (currently only available on Linux):

pip install pin

Table of contents

Pinocchio main features

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 create Multi-body system from:

  • URDF file,
  • SDF file,
  • MJCF file,
  • SRDF file to add frame and contact.

Pinocchio is flexible:

  • header only,
  • C++ 11/14/17/20 compliant.

Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit tests, simulations, and real-world robotics applications).

File truncated at 100 lines see the full file

CHANGELOG

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]

Added

  • Beta version of Viser visualizer (#2718)
  • Add pinocchio::graph::ModelGraph class
    • Simple API to build a model
    • Manage joint offset
    • Create a pinocchio::Model with any frame as root frame
    • Create a pinocchio::Model with any joint as root joint
    • Reliably merge two models with pinocchio::graph::mergeGraphs function
    • Reliably fix joints at any configuration with pinocchio::graph::fixJointsGraph
    • C++ example
    • Python example
    • Create a pinocchio::geometryModel using a pinocchio::graph::ModelGraph
    • Python example
  • Add pinocchio::graph::ModelConfigurationConverter class

Fixed

  • Fixed explicit conversions to Scalar type in log.hxx (#2730)
  • Check row dimensions of input Jacobians when computing kinematics Jacobian (#2684)
  • Fix case joint_id == 0 in getJointKinematicHessian (#2705)
  • Fix nvSubtree computation in case a mimic joint is the last joint in the branch (#2707)
  • Fix JointModelMimic::hasConfigurationLimit() to return empty vector instead of delegating to mimicking joint (#2715)
  • Fix check mimic_subtree_joint (#2716)
  • Fix mimic patch for crba (#2716)
  • Fix missing argument in exposeDelassus() pybind definition (#2731)

Changed

  • Disable coal/hpp-fcl warnings when building Pinocchio (#2686)
  • CMake: allow use of system example-robot-data (#2728)

[3.7.0] - 2025-05-21

Changed

  • Change the default branch to devel (#2666)
  • Implement captureImage for Panda3D visualizer for video recording (#2668)
  • Drop Ubuntu 20.04 support (#2680)

[3.6.0] - 2025-04-28

Fixed

  • Fix getters for models and data in VisualizerPythonVisitor (#2647)
  • Fix pinocchio::cholesky::Mv build with CppAd scalar (#2659)
  • Fix pinocchio::contactABA build with casadi scalar (#2659)

Added

  • Add explicit template instantiation for constraint algorithms for casadi, CppAD and CppADCodeGen scalar (#2659)
  • Add casadi bindings for pinocchio.initConstraintDynamics and pinocchio.constraintDynamics (#2659)

[3.5.0] - 2025-04-02

Added

  • Added C++ visualization API, pinocchio::pinocchio_visualizers target (#2574)
  • Added forward declaration for class SE3Tpl, and typedef pinocchio::context::SE3 (#2574)
  • Add macros PINOCCHIO_COMMON_TYPEDEF and PINOCCHIO_OPTIONS_DEFAULT (#2574)
  • Add mimic joint support to the following algorithms: (#2441)
    • Forward kinematics
    • Jacobians and frames
    • Centroid algorithms (ccrba)
    • RNEA
    • CRBA
    • Reachable workspace
  • Add mimic argument in pinocchio::urdf::buildModel to parse URDF mimic field (default to false) (#2441)
  • Add pinocchio::transformJointIntoMimic to turn a joint into a mimic joint and buildMimicModel to transform multiple joints into mimic joints (#2441)
  • Add JointModelBase methods: (#2441)
    • nvExtended to get the DoF of the extended model
    • idx_vExtended to get the joint index in the extended vector of velocity
    • jointExtendedModel{Cols,Rows,Block} to get joint columns/rows/block in extended model matrix
    • JointMapped{Config,Velocity}Selector to get mimicked joint configuration/velocity from the mimicking joint
  • Add precomputed members in DataTpl to accelerate algorithms on mimic: (#2441)
    • idx_vExtended_to_idx_v_fromRow
    • mimic_subtree_joint
    • mimic_parents_fromRow
    • non_mimic_parents_fromRow
  • Add precomputed members in ModelTpl to accelerate algorithms on mimic: (#2441)
    • nvExtended
    • nvExtendeds
    • idx_vExtendeds
    • mimicking_joints
    • mimicked_joints
    • mimic_joint_supports

Changed

  • Rewrite JointModelMimic and rename it JointModelMimicTpl, since JointModelMimic wasn’t working, we don’t consider it a breaking change (#2441)
  • Stop using context::Scalar for GeometryObject(#2441)
  • Use Google benchmark in benchmarks (#2607)

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pinocchio at Robotics Stack Exchange

Package symbol

pinocchio package from pinocchio repo

pinocchio

ROS Distro
noetic

Package Summary

Tags No category tags.
Version 3.7.0
License BSD-2
Build type CMAKE
Use RECOMMENDED

Repository Summary

Description A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Checkout URI https://github.com/stack-of-tasks/pinocchio.git
VCS Type git
VCS Version devel
Last Updated 2025-08-06
Dev Status DEVELOPED
Released RELEASED
Tags python c-plus-plus robotics kinematics dynamics automatic-differentiation conda motion-planning ros code-generation urdf rigid-body-dynamics cppad fcl casadi analytical-derivatives pinocchio
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives.

Additional Links

Maintainers

  • Justin Carpentier
  • Wolfgang Merkt
  • Guilhem Saurel

Authors

No additional authors.

Pinocchio Logo

License Documentation Coverage Report Conda Downloads Conda Version PyPI version pre-commit.ci status

Pinocchio instantiates the state-of-the-art Rigid Body Algorithms for poly-articulated systems based on revisited Roy Featherstone’s algorithms. Besides, Pinocchio provides the analytical derivatives of the main Rigid-Body Algorithms, such as the Recursive Newton-Euler Algorithm or the Articulated-Body Algorithm.

Pinocchio was first tailored for robotics applications, but it can be used in other contexts (biomechanics, computer graphics, vision, etc.). It is built upon Eigen for linear algebra and FCL for collision detection. Pinocchio comes with a Python interface for fast code prototyping, directly accessible through Conda.

Pinocchio is now at the heart of various robotics software as Crocoddyl, an open-source and efficient Differential Dynamic Programming solver for robotics, the Stack-of-Tasks, an open-source and versatile hierarchical controller framework or the Humanoid Path Planner, open-source software for Motion and Manipulation Planning.

If you want to learn more about Pinocchio internal behaviors and main features, we invite you to read the related paper and the online documentation.

If you want to dive into Pinocchio directly, only one single line is sufficient (assuming you have Conda):

conda install pinocchio -c conda-forge

or via pip (currently only available on Linux):

pip install pin

Table of contents

Pinocchio main features

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 create Multi-body system from:

  • URDF file,
  • SDF file,
  • MJCF file,
  • SRDF file to add frame and contact.

Pinocchio is flexible:

  • header only,
  • C++ 11/14/17/20 compliant.

Pinocchio is extensible. Pinocchio is multi-thread friendly. Pinocchio is reliable and extensively tested (unit tests, simulations, and real-world robotics applications).

File truncated at 100 lines see the full file

CHANGELOG

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]

Added

  • Beta version of Viser visualizer (#2718)
  • Add pinocchio::graph::ModelGraph class
    • Simple API to build a model
    • Manage joint offset
    • Create a pinocchio::Model with any frame as root frame
    • Create a pinocchio::Model with any joint as root joint
    • Reliably merge two models with pinocchio::graph::mergeGraphs function
    • Reliably fix joints at any configuration with pinocchio::graph::fixJointsGraph
    • C++ example
    • Python example
    • Create a pinocchio::geometryModel using a pinocchio::graph::ModelGraph
    • Python example
  • Add pinocchio::graph::ModelConfigurationConverter class

Fixed

  • Fixed explicit conversions to Scalar type in log.hxx (#2730)
  • Check row dimensions of input Jacobians when computing kinematics Jacobian (#2684)
  • Fix case joint_id == 0 in getJointKinematicHessian (#2705)
  • Fix nvSubtree computation in case a mimic joint is the last joint in the branch (#2707)
  • Fix JointModelMimic::hasConfigurationLimit() to return empty vector instead of delegating to mimicking joint (#2715)
  • Fix check mimic_subtree_joint (#2716)
  • Fix mimic patch for crba (#2716)
  • Fix missing argument in exposeDelassus() pybind definition (#2731)

Changed

  • Disable coal/hpp-fcl warnings when building Pinocchio (#2686)
  • CMake: allow use of system example-robot-data (#2728)

[3.7.0] - 2025-05-21

Changed

  • Change the default branch to devel (#2666)
  • Implement captureImage for Panda3D visualizer for video recording (#2668)
  • Drop Ubuntu 20.04 support (#2680)

[3.6.0] - 2025-04-28

Fixed

  • Fix getters for models and data in VisualizerPythonVisitor (#2647)
  • Fix pinocchio::cholesky::Mv build with CppAd scalar (#2659)
  • Fix pinocchio::contactABA build with casadi scalar (#2659)

Added

  • Add explicit template instantiation for constraint algorithms for casadi, CppAD and CppADCodeGen scalar (#2659)
  • Add casadi bindings for pinocchio.initConstraintDynamics and pinocchio.constraintDynamics (#2659)

[3.5.0] - 2025-04-02

Added

  • Added C++ visualization API, pinocchio::pinocchio_visualizers target (#2574)
  • Added forward declaration for class SE3Tpl, and typedef pinocchio::context::SE3 (#2574)
  • Add macros PINOCCHIO_COMMON_TYPEDEF and PINOCCHIO_OPTIONS_DEFAULT (#2574)
  • Add mimic joint support to the following algorithms: (#2441)
    • Forward kinematics
    • Jacobians and frames
    • Centroid algorithms (ccrba)
    • RNEA
    • CRBA
    • Reachable workspace
  • Add mimic argument in pinocchio::urdf::buildModel to parse URDF mimic field (default to false) (#2441)
  • Add pinocchio::transformJointIntoMimic to turn a joint into a mimic joint and buildMimicModel to transform multiple joints into mimic joints (#2441)
  • Add JointModelBase methods: (#2441)
    • nvExtended to get the DoF of the extended model
    • idx_vExtended to get the joint index in the extended vector of velocity
    • jointExtendedModel{Cols,Rows,Block} to get joint columns/rows/block in extended model matrix
    • JointMapped{Config,Velocity}Selector to get mimicked joint configuration/velocity from the mimicking joint
  • Add precomputed members in DataTpl to accelerate algorithms on mimic: (#2441)
    • idx_vExtended_to_idx_v_fromRow
    • mimic_subtree_joint
    • mimic_parents_fromRow
    • non_mimic_parents_fromRow
  • Add precomputed members in ModelTpl to accelerate algorithms on mimic: (#2441)
    • nvExtended
    • nvExtendeds
    • idx_vExtendeds
    • mimicking_joints
    • mimicked_joints
    • mimic_joint_supports

Changed

  • Rewrite JointModelMimic and rename it JointModelMimicTpl, since JointModelMimic wasn’t working, we don’t consider it a breaking change (#2441)
  • Stop using context::Scalar for GeometryObject(#2441)
  • Use Google benchmark in benchmarks (#2607)

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged pinocchio at Robotics Stack Exchange