AGHSEagleRobotics / frc1388-2020

FRC 2020 - INFINITE RECHARGE
3 stars 0 forks source link

Shooter subsystem #21

Open jtechau opened 4 years ago

jtechau commented 4 years ago

Create a shooter subsystem. At a minimum the shooter subsystem will consist of a motor to run the shooter wheel. Likely the shooter will also include a feeder to feed balls into the shooter wheel.

The shooter wheel will be a Falcon motor (tentative), which will need to run at a regulated RPM. The RPM might be fixed or variable, so the subsystem should provide a method to set the shooter to a specified RPM. It may also provide a method to turn the shooter off. The Talon FX motor controller in the Falcon motor has the capability to regulate and report the motor speed.

jtechau commented 4 years ago

While the shooter design hasn't yet been determined, it will likely consist of a Falcon motor, so programming the subsystem can proceed, with small risk of the design causing major rework of the subsystem. At this point, I'd say we can implement:

jtechau commented 4 years ago

See this gist for example code to implement a list of shooter rpm presets, including an alternate list to be used during development.