}
public static class DriveTrain {
- public static final int TANK = 0;
- public static final int ARCADE = 1;
- public static final int DRIVE_TYPE = TANK;
-
// Limits changes in speed during joystick driving
public static final double kADJUST = 8;
public final static int ENCODER_RIGHT_A = 3;
public final static int ENCODER_RIGHT_B = 4;
- public static final double INCHES_PER_PULSE = ((3.66 / 5.14) * 6 * Math.PI) / 256;
+ public static final double INCHES_PER_PULSE = ((3.66 / 5.14) * 6 * Math.PI)
+ / 256;
public static double kp = 0.013, ki = 0.000015, kd = -0.002;
public static double encoderTolerance = 8.0;
public static final Value SHOOT = Value.kForward;
public static final Value RESET = Value.kReverse;
public static final double WAIT_TIME = 2.0; // In seconds
+
+ // TODO: test for this time
+
}
public static class IntakeArm {
public static final double OUTPUT_SPEED = -0.7;
}
- public static class Auton {
+ public static class Auton { // TODO: test for all these values
// 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 WAIT_TIME = 1.0;
}
+ public static class CameraFeeds {
+
+ // TODO: what are cam names?
+ public static final String camNameIntake = "";
+ public static final String camNameShooter = "";
+
+ // TODO: img quality?
+ public static final int imgQuality = 0;
+
+ }
+
public enum Defense {
- PORTCULLIS, SALLY_PORT, ROUGH_TERRAIN, LOW_BAR, CHIVAL_DE_FRISE, DRAWBRIDGE, MOAT, ROCK_WALL, RAMPART;
+ PORTCULLIS, SALLY_PORT, ROUGH_TERRAIN, LOW_BAR, CHIVAL_DE_FRISE, DRAWBRIDGE, MOAT, ROCK_WALL, RAMPART, NONE;
}
}