Package org.photonvision.vision.camera
Enum Class CameraQuirk
- All Implemented Interfaces:
Serializable
,Comparable<CameraQuirk>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHas adjustable focus and autofocus switchCamera is an arducam.Dummy quirk to tell OV2311 from OV9281Camera is an arducam ov9281 which has a funky exposure issue where it is defined in v4l as 1-5000 instead of 1-75Separate red/blue gain controls availableWill not work with photonvision - Logitec C270 at leastCap at 100FPS for high-bandwidth camerasCamera settable for controllable image gainFor the Raspberry Pi CameraChanging FPS repeatedly with small delay does not work correctly -
Method Summary
Modifier and TypeMethodDescriptionstatic CameraQuirk
Returns the enum constant of this class with the specified name.static CameraQuirk[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Gain
Camera settable for controllable image gain -
PiCam
For the Raspberry Pi Camera -
FPSCap100
Cap at 100FPS for high-bandwidth cameras -
AWBGain
Separate red/blue gain controls available -
CompletelyBroken
Will not work with photonvision - Logitec C270 at least -
AdjustableFocus
Has adjustable focus and autofocus switch -
StickyFPS
Changing FPS repeatedly with small delay does not work correctly -
ArduCamCamera
Camera is an arducam. This means it shares VID/PID with other arducams (ew) -
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
Dummy quirk to tell OV2311 from OV9281
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-