A sparse MPC solver for walking motion generation (old version).
|
3D linear inverted pendulum is used as an approximate model of a humanoid robot.
Where is a time sampling period in the preview window.
Originally the state vector is defined as where are coordintes of the center of mass.
After the first variable substitution we get where are coordintes of the ZMP.
The state and control input matrices are changed accordingly:
Here , i.e. the height of center of mass divided by the norm of gravitational acceleration;
The last substitution rotates the state vector using matrix
where is an angle with respect to the world frame.
Output matrices for position and velocity:
where
is a column vector containing state vectors and is a column vector containing control inputs.
or
Here is a regularization factor, which makes the matrix nonsingular.
where ,
See page 'Derivation of the matrix of equality constraints' for example.