change isUsingTime to final and delete the method that toggles it in drivetrain
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
index fe35684f9e1d38870759c9d6d68cd4fcc476f47a..3f43356e72ef349d26ff0e73bce71ceff2950a44 100644 (file)
@@ -25,7 +25,7 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
 public class PassLowBar extends CommandGroup {
 
   public PassLowBar() {
-    if (Constants.Auton.isUsingTime) {
+    if (Constants.Auton.IS_USING_TIME) {
       addSequential(new DriveForTime(Constants.Auton.PASS_LOW_BAR_TIMEpassLowBarTime,
           Constants.Auton.PASS_LOW_BAR_SPEED));
     }