Fix syntax errors in master got in the last merge
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRampart.java
index 95bc2a233332c036472c66540558d9c70d9fb37f..ec467836653fa8977f97c9cc953e1bce7079fdef 100755 (executable)
@@ -26,13 +26,13 @@ public class PassRampart extends CommandGroup {
 
   public PassRampart() {
 
-    if (Constants.DeadReckoning.isDeadReckoning) {
-      addSequential(new DriveForTime(Constants.DeadReckoning.passRockWallTime,
-          Constants.DeadReckoning.passRockWallSpeed));
+    if (Constants.Auton.IS_USING_TIME) {
+      addSequential(new DriveForTime(Constants.Auton.PASS_RAMPART_TIME,
+          Constants.Auton.PASS_RAMPART_SPEED));
     }
     else {
       addSequential(new DriveDistance(
-          Constants.DeadReckoning.passRampartDistance,
+          Constants.Auton.PASS_RAMPART_DIST,
           Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
     }