File tree Expand file tree Collapse file tree
Robot2019/src/main/java/frc/robot Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717import frc .robot .commands .IntakeOnlyCargo ;
1818import frc .robot .commands .NormalDrive ;
1919import frc .robot .commands .SetArcadeOrTank ;
20- import frc .robot .commands .SetLight ;
2120import frc .robot .commands .SlowDrive ;
2221import frc .robot .commands .ToggleCamera ;
2322import frc .robot .commands .ToggleHatch ;
23+ import frc .robot .commands .ToggleLight ;
2424import frc .robot .commands .WobbleDrive ;
2525import frc .robot .subsystems .Cargo ;
2626import frc .robot .subsystems .Climber ;
@@ -82,7 +82,7 @@ public class OI {
8282 toggleCameraBtn .whenPressed (new ToggleCamera (driveCamera , hatchCamera , cameraServer ));
8383
8484 cycleLightBtn = new JoystickButton (manipulator , Manip .START );
85- cycleLightBtn .whenPressed (new SetLight (lights ));
85+ cycleLightBtn .whenPressed (new ToggleLight (lights ));
8686 }
8787
8888 private class Manip {
You can’t perform that action at this time.
0 commit comments