change all the pass defense constants to finals
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRoughTerrain.java
index f1b037260a9c51293fde66915e21744af40e82a7..a1783de214c36c23b811dbe5133ef09ae3ff5b3d 100644 (file)
@@ -27,12 +27,12 @@ public class PassRoughTerrain extends CommandGroup {
   public PassRoughTerrain() {
 
     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.passRoughTerrainDistance,
+          Constants.Auton.PASS_ROUGH_TERRAIN_DIST,
           Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
     }