@@ -11,7 +15,7 @@ The trajectories are genererated through the resolution of convex optimization (
The library is implemented in C++, but also provides Python bindings.
Two types of applications can be used so far:
Two types of applications can be used so far:
- First, zero step capturability: Given the centroidal state of a robot, determines whether it is possible for the robot to come to a stop without violating frictional constraints. In this formulation, the problem can be solved continuously, and angular momentum constraints can be used.
- Second, the general case (which encompasses zero step capturability):
...
...
@@ -79,7 +83,7 @@ from bezier_com_traj import * #the actual library
# create an Equilibrium solver, for a robot of 54 kilos. We linearize the friction cone to four generating rays
eq = Equilibrium("test", 54., 4)
eq = Equilibrium("test", 54., 4)
# Now define some contact points ...
from numpy import array, asmatrix, matrix
...
...
@@ -91,7 +95,7 @@ P = asmatrix(array([array([x,y,0]) for x in [-0.05,0.05] for y in [-0.1,0.1]]))
z = array([0.,0.,1.])
N = asmatrix(array([z for _ in range(4)]))
#setting contact positions and normals, as well as friction coefficient of 0.3
#setting contact positions and normals, as well as friction coefficient of 0.3
#EQUILIBRIUM_ALGORITHM_PP is the algorithm that will always be used for our problems
refer to the [test file](https://gitlab.com/stonneau/bezier_COM_traj/blob/master/python/test/binding_tests.py) for more advanced problems, including kinematic constraints,
mutiple contact phases handling and angular momentum
mutiple contact phases handling and angular momentum