richardson-area-wide-robotics / infinite-recharge-2020

Source code for 2020 FRC season - Infinite Recharge
0 stars 0 forks source link

Turn IndexerOuttake into a command #69

Closed nbgray closed 4 years ago

nbgray commented 4 years ago

Create an IndexerOuttakeCommand. Turn the IndexerController class into a SubsystemBase extension. Set a button in the Operator Inputs class (currently named IO, but I will get it renamed) to trigger the command. Ensure that the IndexerOuttakeCommand interrupts the ShooterCommand.

elizaBarnett commented 4 years ago

everything for this is in master except the interruption. I'll make sure the shooter class that has the motors extends subsystem, and that the outtake command requires that subsystem. That should override the shooter command