Update Constants

This commit is contained in:
ryan123rudder
2020-02-10 20:17:19 -07:00
parent fdc8e37b5b
commit d94a650fbf
@@ -104,6 +104,17 @@ public final class Constants {
public static final int LED_SPARK_ID = 0;
public static final LEDPatterns DEFAULT_PATTERN = LEDPatterns.FOREST_WAVES;
}
public static final class VisionConstants {
public static final double FOV = 29.8; //Field of view of limelight
public static final double TARGET_HEIGHT = 82.75;
public static final double LIME_ANGLE = 18.7366;
public static final double TURN_P_VALUE = 0.65;
public static final double X_ANGLE_ERROR = 1.3;
public static final double MOTOR_DEAD_ZONE = 0.3;
public static final double DISTANCE_ERROR_EQUATION_M = 1.1279;
public static final double DISTANCE_ERROR_EQUATION_B = -15.0684;
}
public static final class OIConstants {
public static final int XBOX_DRIVER_ID = 0;