change isUsingTime to final and delete the method that toggles it in drivetrain
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / AlignToScore.java
index 6450fa0342f6b4ffd9e26134942ed36a273556a5..e6fdf15710d4c832e6afa8fbc571e9c9bf4ea573 100644 (file)
@@ -39,7 +39,7 @@ public class AlignToScore extends CommandGroup {
   public double horizontalDistToGoal;
 
   public AlignToScore(int position) {
-    if (Constants.Auton.isUsingTime) {
+    if (Constants.Auton.IS_USING_TIME) {
       if (position == 1) {
         addSequential(new DriveForTime(Constants.Auton.POS1_DIST1_TIME,
             Constants.Auton.POS1_DRIVE_MAXSPEED));