Fix syntax errors in master got in the last merge
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRoughTerrain.java
index f1b037260a9c51293fde66915e21744af40e82a7..632974a16be16d282caf00521491eb11cf7923c8 100644 (file)
@@ -26,13 +26,13 @@ public class PassRoughTerrain extends CommandGroup {
 
   public PassRoughTerrain() {
 
-    if (Constants.Auton.isUsingTime) {
-      addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
-          Constants.Auton.passRockWallSpeed));
+    if (Constants.Auton.IS_USING_TIME) {
+      addSequential(new DriveForTime(Constants.Auton.PASS_ROUGH_TERRAIN_TIME,
+          Constants.Auton.PASS_ROUGH_TERRAIN_SPEED));
     }
     else {
       addSequential(new DriveDistance(
-          Constants.Auton.passRoughTerrainDistance,
+          Constants.Auton.PASS_ROUGH_TERRAIN_DIST,
           Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
     }