Closed gerth2 closed 7 months ago
Set kV and kP to zero.
Set kV to its theoretical value. Crank it up or down until the steady-state actual shooter speed matches the desired speed for both motors.
Increase kP until shooter speed starts oscillating. Then back it off a bit.
Should be good enough.
https://docs.wpilib.org/en/stable/docs/software/advanced-controls/introduction/tuning-flywheel.html
Needs a robot, but you can practice offline! ^^^^
Done on practice.
Set kV and kP to zero.
Set kV to its theoretical value. Crank it up or down until the steady-state actual shooter speed matches the desired speed for both motors.
Increase kP until shooter speed starts oscillating. Then back it off a bit.
Should be good enough.