From: Kevin Zhang Date: Mon, 15 Feb 2016 19:27:08 +0000 (-0800) Subject: Delete unused booleans and delete else if (else will suffice) X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=2c52b14f175c60fc703b7f293d2b9578b78d13b3 Delete unused booleans and delete else if (else will suffice) --- diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index f72a6043..cb23990c 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -23,9 +23,6 @@ import edu.wpi.first.wpilibj.buttons.Button; import edu.wpi.first.wpilibj.buttons.JoystickButton; public class OI { - public static boolean isScalingMode = false; - public static boolean isCompactRobot = false; - public static Joystick leftJoystick; public static Joystick rightJoystick; @@ -128,7 +125,7 @@ public class OI { intakeBoulder.whenPressed(new IntakeBall()); shootBoulder.whenPressed(new Shoot()); - } else if (isScalingMode) { + } else { // toggleShooter becomes winch // compact robot button 1 and 2 retracts the lift // intake button stops the winch