robototes / Crescendo2024

Other
8 stars 13 forks source link

Launcher PID needs tuning to reduce overshooting #108

Open jamesdooley4 opened 3 months ago

jamesdooley4 commented 3 months ago

The flywheel measured velocity shows the classical underdamped PID control response (example on page 20 of https://file.tavsys.net/control/controls-engineering-in-frc.pdf )

Here's an example from a log from today:

image

The dip just after time 357s is likely when the note was launched, as the flywheel soon transitions to coast mode.