Open mcolinj opened 4 years ago
BallShooter should take either a CAN-ID or a motor controller as an argument to the constructor. Then it can manipulate the motor via its interface.
You can these changes in very small increments starting with the existing code.
Create a class BallShooter and put it into the subsystem directory. Give it the necessary instance variables so that it can manipulate the shooter state. Add a shoot() method that will run the motor at the specified speed.