Arctos6135 / frc-2024

Other
1 stars 1 forks source link

Add feedforward control scheme to Shooter subsystem. #26

Closed n-arms closed 7 months ago

n-arms commented 7 months ago

Use feedforward to control the speed of the shooter wheels instead of just setting the voltage.

Add two SimpleMotorFeedforwards to the Shooter subsystem, one for the left side and one for the right. Add a setSpeeds method to set the speeds of the left and right shooter wheels by calculating the appropriate voltage using feedforward.