|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |
Launch files
Messages
Services
Plugins
Recent questions tagged hpp_centroidal_dynamics at Robotics Stack Exchange
|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |
Launch files
Messages
Services
Plugins
Recent questions tagged hpp_centroidal_dynamics at Robotics Stack Exchange
|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |
Launch files
Messages
Services
Plugins
Recent questions tagged hpp_centroidal_dynamics at Robotics Stack Exchange
|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |
Launch files
Messages
Services
Plugins
Recent questions tagged hpp_centroidal_dynamics at Robotics Stack Exchange
|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |
Launch files
Messages
Services
Plugins
Recent questions tagged hpp_centroidal_dynamics at Robotics Stack Exchange
|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |
Launch files
Messages
Services
Plugins
Recent questions tagged hpp_centroidal_dynamics at Robotics Stack Exchange
|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |
Launch files
Messages
Services
Plugins
Recent questions tagged hpp_centroidal_dynamics at Robotics Stack Exchange
|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |
Launch files
Messages
Services
Plugins
Recent questions tagged hpp_centroidal_dynamics at Robotics Stack Exchange
|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |
Launch files
Messages
Services
Plugins
Recent questions tagged hpp_centroidal_dynamics at Robotics Stack Exchange
|
hpp_centroidal_dynamics package from hpp_centroidal_dynamics repohpp_centroidal_dynamics |
ROS Distro
|
Package Summary
| Version | 9.0.2 |
| License | GPL-2.0-only |
| Build type | CMAKE |
| Use | RECOMMENDED |
Repository Summary
| Description | |
| Checkout URI | https://github.com/humanoid-path-planner/hpp-centroidal-dynamics.git |
| VCS Type | git |
| VCS Version | devel |
| Last Updated | 2026-11-26 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Package Description
Maintainers
- Guilhem Saurel
Authors
- Andrea Del Prete
- Pierre Fernbach
- Steve Tonneau
HPP Centroidal Dynamics
Utility classes to check the (robust) equilibrium of a system in contact with the environment. Comes with python bindings. The main class that collects all the equilibrium-related algorithms is
```.
All the algorithms take as input:
* A list of contact points
* A list of contact normals
* The contact friction coefficient
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
Once these input parameters have been specified, the user has access to four algorithms implemented in the following four methods of the class
```Equilibrium
```:
*
```computeEquilibriumRobustness
```: compute the robustness of the equilibrium of a given a CoM (center of mass) position (negative values mean the system can not be in equilibrium).
*
```checkRobustEquilibrium
```: checks whether the system can be in equilibrium in a specified CoM position and with a specified robustness level.
*
```findExtremumOverLine
```: Find the extremum com position that is in robust equilibrium along the specified line.
*
```findExtremumInDirection
```: Find the extremum com position that is in robust equilibrium in the specified direction.
All these problems boil down to solving Linear Programs.
Different formulations are implemented and tested in
```test_static_equilibrium
```.
More details can be found in the code documentation.
In the end, we found that most of the times the dual LP formulation (DLP) is the fastest.
The test
```test_LP_solvers
``` tries to solve some LP problems using qpOases and checks that the results are correct.
## Dependencies
* [Eigen (version >= 3.2.2)](http://eigen.tuxfamily.org/index.php?title=Main_Page)
* [cdd lib](https://www.inf.ethz.ch/personal/fukudak/cdd_home/)
* [qpOases (version >= 3.0beta)](https://projects.coin-or.org/qpOASES)
## Additional dependencies for python bindings
* [Boost.Python](http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html)
* [eigenpy](https://github.com/stack-of-tasks/eigenpy)
## Installation Steps for Ubuntu 12.04, 14.04 and 16.04
You can install cdd lib with the following command:
sudo apt-get install libcdd-dev
You can install Eigen3 with the following command:
sudo apt-get install libeigen3-dev
For qpOases you have to install the pkg-config version you can find here: https://github.com/humanoid-path-planner/qpoases
git clone –recursive https://github.com/humanoid-path-planner/qpoases mkdir qpoases/build cd qpoases/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
Then you can clone this repository using ssh:
git clone –recursive git@github.com:andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
or using http:
git clone –recursive https://github.com/andreadelprete/robust-equilibrium-lib.git $ROBUST_EQUI_LIB_DIR
And you can build this library using CMake:
mkdir $ROBUST_EQUI_LIB_DIR/build cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
### Optional: CLP installation
As an alternative to qpOases you can use [CLP](https://projects.coin-or.org/Clp) to solve linear programs.
However, we found qpOases to be faster (especially when solving a series of problems that are similar to each other,
because it can exploit warm start) and more reliable, so we suggest you to stick with qpOases.
In particular, we found that CLP sometimes fails to find the real optimum when using the DLP formulation.
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
OPTION (BUILD_PYTHON_INTERFACE “Build the python binding” ON)
Then rebuild the library:
cd $ROBUST_EQUI_LIB_DIR/build cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install .. make install
``` The python bindings should then be accessible through the package centroidal_dynamics. To see example of use, you can refer to the test file which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies to python.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
[Unreleased]
[9.0.2] - 2026-07-24
[9.0.0] - 2026-07-06
[7.0.0] - 2026-03-06
[6.1.0] - 2025-10-23
[6.0.0] - 2024-12-07
[5.2.0] - 2024-10-09
Changes in v5.2.0:
- nix: move package to nixpkgs
- ci: use https
- setup mergify
[5.1.0] - 2024-07-02
Changes in v5.1.0:
- CMake: fix boost target use
- Nix: initial setup
- update tooling
[5.0.0] - 2024-03-31
Changes in v5.0.0:
- CMake: to build with CLP, it is now required to set
BUILD_WITH_CLP=ON(and unittests are broken with it) - update packaging
- update tooling
[4.15.1] - 2023-01-20
[4.14.0] - 2022-11-02
[4.13.0] - 2022-05-31
[4.12.0] - 2021-10-06
[4.11.0] - 2021-05-04
[4.10.0] - 2020-10-15
[4.9.0] - 2020-04-29
Changes in v4.9.0:
- CMake Exports
[4.8.0] - 2019-11-28
Changes since v4.5.0:
- Update CMake
[4.7.0] - 2019-10-07
Changes since v4.5.1:
- fix python 3
- fix tests
- format
[4.5.1] - 2019-04-24
Changes since v4.5.0:
- [CMake] add missing qpOASES include dirs
[4.5.0] - 2019-04-24
File truncated at 100 lines see the full file
Dependant Packages
| Name | Deps |
|---|---|
| hpp_bezier_com_traj |