X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FConstants.java;h=08dda700f3b64710aa3d141a3735884be595d27c;hb=c688e9da1214ed9257214a0b265a1c1b7eeb1506;hp=7245d5fead8910eb4342f964e24a5efeed5609bf;hpb=600a1a1c0e90c03a198c6036de8e5157b7f96af3;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/Constants.java b/src/org/usfirst/frc/team3501/robot/Constants.java index 7245d5fe..08dda700 100644 --- a/src/org/usfirst/frc/team3501/robot/Constants.java +++ b/src/org/usfirst/frc/team3501/robot/Constants.java @@ -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 {