The purpose of this code is to simulate and validate the Linear Quadratic Regulator (LQR), an optimal control algorithm.
LIPM_LQR.mp4
- The task will involve utilizing the walking action of a human.
- Control of the motion of the Center of Mass (CoM) will be achieved through the use of the Center of Pressure (CoP) and a regulator.
- The model will be subject to simulation under conditions of both fixed and variable velocities for the center of mass (CoM).
- External forces will be applied to the system to validate the precision and accuracy of the Linear Quadratic Regulator (LQR).
- The first assumption stipulates that the lengths of the legs remain constant and exhibit no variation, resulting in a consistent g/L ratio.
- The second assumption involves the observation that the angle formed by the line intersecting the Centers of Pressure (CoP) and Center of Mass (CoM) with the vertical axis is exceedingly small. Consequently, it is appropriate to consider the sine of this angle as approximately equal to the angle itself.