change all the pass defense constants to finals
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRampart.java
index e5af033e9a85272f118ee7925e360a6b2b6d5b51..acd24469a86fbacefaf859c0c39cad36726463a5 100755 (executable)
@@ -27,12 +27,12 @@ public class PassRampart extends CommandGroup {
   public PassRampart() {
 
     if (Constants.Auton.isUsingTime) {
-      addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
+      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));
     }