Enum Class CameraQuirk

java.lang.Object
java.lang.Enum<CameraQuirk>
org.photonvision.vision.camera.CameraQuirk
All Implemented Interfaces:
Serializable, Comparable<CameraQuirk>, Constable

public enum CameraQuirk extends Enum<CameraQuirk>
  • Enum Constant Details

    • Gain

      public static final CameraQuirk Gain
      Camera settable for controllable image gain
    • PiCam

      public static final CameraQuirk PiCam
      For the Raspberry Pi Camera
    • FPSCap100

      public static final CameraQuirk FPSCap100
      Cap at 100FPS for high-bandwidth cameras
    • AWBGain

      public static final CameraQuirk AWBGain
      Separate red/blue gain controls available
    • CompletelyBroken

      public static final CameraQuirk CompletelyBroken
      Will not work with photonvision - Logitec C270 at least
    • AdjustableFocus

      public static final CameraQuirk AdjustableFocus
      Has adjustable focus and autofocus switch
    • StickyFPS

      public static final CameraQuirk StickyFPS
      Changing FPS repeatedly with small delay does not work correctly
    • ArduCamCamera

      public static final CameraQuirk ArduCamCamera
      Camera is an arducam. This means it shares VID/PID with other arducams (ew)
    • ArduOV9281

      public static final CameraQuirk ArduOV9281
      Camera is an arducam ov9281 which has a funky exposure issue where it is defined in v4l as 1-5000 instead of 1-75
    • ArduOV2311

      public static final CameraQuirk ArduOV2311
      Dummy quirk to tell OV2311 from OV9281
  • Method Details

    • values

      public static CameraQuirk[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CameraQuirk valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null