Shooter Subsystem

The shooter subsystem is much simpler than the drive system of a swerve drive motor. Basically you have one motor which spins and shoots the ball. You will need to control the speed of this motor via a PID loop.

Here are the pin ids you will need to configure the motor and it’s encoder:

In tuned my shooter at 90% full speed and here is my result:

And my final PID values were:

You should create a SpinupCommand which you can use to start the spinner in preparation for shooting.

Next: Feeder Subsystem