disconnected toggle index and flywheel from buttons
authorTrevor <tr89on@gmail.com>
Tue, 31 Jan 2017 04:39:09 +0000 (20:39 -0800)
committerTrevor <tr89on@gmail.com>
Tue, 31 Jan 2017 04:39:09 +0000 (20:39 -0800)
src/org/usfirst/frc/team3501/robot/OI.java

index 680b618d5737353b3a885b53c8686eb8926a6c60..182533a164225d75424038fa89dea6390e4de874 100644 (file)
@@ -12,7 +12,6 @@ import org.usfirst.frc.team3501.robot.commands.intake.RunIntakeContinuous;
 import org.usfirst.frc.team3501.robot.commands.intake.StopIntake;
 import org.usfirst.frc.team3501.robot.commands.shooter.DecreaseShootingSpeed;
 import org.usfirst.frc.team3501.robot.commands.shooter.IncreaseShootingSpeed;
-import org.usfirst.frc.team3501.robot.commands.shooter.RunIndexWheelContinuous;
 import org.usfirst.frc.team3501.robot.commands.shooter.StopIndexWheel;
 
 import edu.wpi.first.wpilibj.Joystick;
@@ -26,9 +25,6 @@ public class OI {
 
   public static Button toggleWinch;
 
-  public static Button toggleIndexWheel;
-  public static Button toggleFlyWheel;
-
   public static Button toggleIntake;
   public static Button toggleReverseIntake;
 
@@ -63,10 +59,6 @@ public class OI {
         Constants.OI.LEFT_TRIGGER_BUTTON);
     toggleGearSpeed = new JoystickButton(leftJoystick,
         Constants.OI.LEFT_BUTTON_2);
-    toggleIndexWheel = new JoystickButton(leftJoystick,
-        Constants.OI.LEFT_BUTTON_2);
-    toggleFlyWheel = new JoystickButton(leftJoystick,
-        Constants.OI.LEFT_BUTTON_2);
     // toggleIntake = new JoystickButton(leftJoystick,
     // Constants.OI.LEFT_BUTTON_3);
     toggleReverseIntake = new JoystickButton(leftJoystick,
@@ -77,8 +69,6 @@ public class OI {
     toggleWinch.whenActive(new RunWinchContinuous(1));
     toggleWinch.whenReleased(new StopWinch());
 
-    toggleIndexWheel.whenPressed(new RunIndexWheelContinuous(1));
-
     toggleIntake.whenActive(new RunIntakeContinuous());
     toggleReverseIntake.whenActive(new ReverseIntakeContinuous());
     toggleIntake.whenReleased(new StopIntake());