change isUsingTime to final and delete the method that toggles it in drivetrain
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Constants.java
index 7245d5fead8910eb4342f964e24a5efeed5609bf..08dda700f3b64710aa3d141a3735884be595d27c 100644 (file)
@@ -230,24 +230,25 @@ public class Constants {
     // Passing Defenses Constants
 
     public static final double DEFAULT_SPEED = 0.5;
-    public static boolean isUsingTimeToPassDefense = true;
+    public static final boolean IS_USING_TIME = true;
 
     // dead reckoning time and speed constants for driving through defenses
-    public static double passRockWallTime = 0;
-    public static double passRockWallSpeed = 0;
-    public static double passRockWallDistance = 0;
-    public static double passLowBarTime = 0;
-    public static double passLowBarSpeed = 0;
-    public static double passLowBarDistance = 0;
-    public static double passMoatTime = 0;
-    public static double passMoatSpeed = 0;
-    public static double passMoatDistance = 0;
-    public static double passRampartTime = 0;
-    public static double passRampartSpeed = 0;
-    public static double passRampartDistance = 0;
-    public static double passRoughTerrainTime = 0;
-    public static double passRoughTerrainSpeed = 0;
-    public static double passRoughTerrainDistance = 0;
+    // TODO: find the times it takes to pass each defense
+    public static final double PASS_ROCK_WALL_TIME = 0;
+    public static final double PASS_ROCK_WALL_SPEED = 0;
+    public static final double PASS_ROCK_WALL_DIST = 0;
+    public static final double PASS_LOW_BAR_TIME = 0;
+    public static final double PASS_LOW_BAR_SPEED = 0;
+    public static final double PASS_LOW_BAR_DIST = 0;
+    public static final double PASS_MOAT_TIME = 0;
+    public static final double PASS_MOAT_SPEED = 0;
+    public static final double PASS_MOAT_DIST = 0;
+    public static final double PASS_RAMPART_TIME = 0;
+    public static final double PASS_RAMPART_SPEED = 0;
+    public static final double PASS_RAMPART_DIST = 0;
+    public static final double PASS_ROUGH_TERRAIN_TIME = 0;
+    public static final double PASS_ROUGH_TERRAIN_SPEED = 0;
+    public static final double PASS_ROUGH_TERRAIN_DIST = 0;
   }
 
   public enum Direction {