From 2c52b14f175c60fc703b7f293d2b9578b78d13b3 Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Mon, 15 Feb 2016 11:27:08 -0800 Subject: [PATCH] Delete unused booleans and delete else if (else will suffice) --- src/org/usfirst/frc/team3501/robot/OI.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.30.2