Utility classes to check the (robust) equilibrium of a system in contact with the environment.
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 ```StaticEquilibrium```.
The main class that collects all the equilibrium-related algorithms is ```Equilibrium```.
All the algorithms take as input:
All the algorithms take as input:
* A list of contact points
* A list of contact points
* A list of contact normals
* A list of contact normals
...
@@ -8,7 +8,7 @@ All the algorithms take as input:
...
@@ -8,7 +8,7 @@ All the algorithms take as input:
* The number of generators used for the linear approximations of the friction cones
* The number of generators used for the linear approximations of the friction cones
* The mass of the system
* 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 ```StaticEquilibrium```:
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).
*```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.
*```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.
*```findExtremumOverLine```: Find the extremum com position that is in robust equilibrium along the specified line.
...
@@ -26,7 +26,11 @@ The test ```test_LP_solvers``` tries to solve some LP problems using qpOases and
...
@@ -26,7 +26,11 @@ The test ```test_LP_solvers``` tries to solve some LP problems using qpOases and