79cffdac4e
Achieved with a PI controller checking the current velocity as output by the motors. Since I'm using stepper motors, the angular velocity is exact (if the motors are not skipping steps) and does not need encoders on the motors. TODO: add a little deadzone either on the setpoint or on the velocity, to prevent oscillations when around the equilibrium point. |
||
---|---|---|
.. | ||
self_balance_linear_set_state_parameters.slx | ||
self_balance_nonlinear.slx | ||
selfbalancev2.mlx | ||
transfer_function.mlx |