Mercury1089 / 2016-robot-code

Team Mercury 2016 FIRST Robotics season code for FIRST Stronghold
0 stars 0 forks source link

Need to support single and double solenoid shooters #23

Closed DrewTheRat closed 6 years ago

DrewTheRat commented 8 years ago

We may hava a double solenoid shooter. Changes will be required to the Shooter class to support it, but we should ensure that we can still support a single solenoid shooter also. Therefore, I recommend:

  1. Change Shooter to abstract
  2. Make the shoot() method abstract.
  3. Create SingleSolShooter : Shooter class with concrete shoot() method taken from the old Shooter class
  4. Create DoubleSolShooter : Shooter class with concrete shoot() method that uses the WPI DoubleSolenoid class.