change isUsingTime to final and delete the method that toggles it in drivetrain
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRampart.java
index e5af033e9a85272f118ee7925e360a6b2b6d5b51..780589171246a4c9b556ee3887349adc7022cb4d 100755 (executable)
@@ -26,13 +26,13 @@ public class PassRampart extends CommandGroup {
 
   public PassRampart() {
 
-    if (Constants.Auton.isUsingTime) {
-      addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
+    if (Constants.Auton.IS_USING_TIME) {
+      addSequential(new DriveForTime(Constants.Auton.PASS_ROCK_WALL_TIME,
           Constants.Auton.passRockWallSpeed));
     }
     else {
       addSequential(new DriveDistance(
-          Constants.Auton.passRampartDistance,
+          Constants.Auton.PASS_RAMPART_DIST,
           Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
     }