- public static class DefenseArm {
- // Potentiometer related ports
- public static final int ARM_CHANNEL = 0;
- public static final int ARM_PORT = 0;
- public static final int HAND_CHANNEL = 1;
- public static final int HAND_PORT = 1;
- public final static double FULL_RANGE = 270.0; // in degrees
- public final static double OFFSET = -135.0; // in degrees
- public final static double[] armPotValue = { 0.0, 45.0, 90.0 }; // 3 level
+ public static class Auton {
+ // Defense crossing speeds from -1 to 1
+ public static final double DEFAULT_SPEED = 0.3;
+ public static final double MOAT_SPEED = 0.6;
+ public static final double ROCK_WALL_SPEED = 0.8;
+ public static final double ROUGH_TERRAIN_SPEED = 0.7;
+ public static final double RAMPART_SPEED = 0.4;
+ public static final double LOW_BAR_SPEED = 0.5;
+
+ // Defense crossing times in seconds
+ public static final double DEFAULT_TIME = 10.0;
+ public static final double MOAT_TIME = 7.0;
+ public static final double ROCK_WALL_TIME = 8.0;
+ public static final double ROUGH_TERRAIN_TIME = 6.0;
+ public static final double RAMPART_TIME = 10.0;
+ public static final double LOW_BAR_TIME = 6.0;
+
+ // Time to wait before shooting in seconds
+ public static final double WAIT_TIME = 1.0;