X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FOI.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FOI.java;h=cb7e12d9b3120c094e24f39869be0d6deea94cf6;hp=8de027b73502223533f8b786c11f1804909ca53a;hb=cc64f0189c06a995e740d978a837612d15a7bbcc;hpb=13eda6855c76fed9ed693e08b62a0424b92c2c12 diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index 8de027b7..cb7e12d9 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -1,7 +1,6 @@ package org.usfirst.frc.team3501.robot; import org.usfirst.frc.team3501.robot.commands.driving.ChangeGear; -import org.usfirst.frc.team3501.robot.commands.driving.ToggleCompressor; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.buttons.Button; @@ -35,7 +34,6 @@ public class OI { public static Button intakeBoulder; public static Button shootBoulder; public static Button toggleGear; - public static Button toggleCompressor; // button to change robot to the scaling mode public static DigitalButton toggleScaling; @@ -48,10 +46,6 @@ public class OI { Constants.OI.RIGHT_JOYSTICK_TRIGGER_PORT); toggleGear.toggleWhenPressed(new ChangeGear()); - toggleCompressor = new JoystickButton(rightJoystick, - Constants.OI.TOGGLE_COMPRESSOR_PORT); - toggleCompressor.whenPressed(new ToggleCompressor()); - // passPortcullis = new DigitalButton( // new DigitalInput(Constants.OI.PASS_PORTCULLIS_PORT)); // passPortcullis.whenPressed(new PassPortcullis());