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 ConstantDescriptionHas adjustable focus and autofocus switchCamera is an arducam.Dummy quirk to tell OV2311 from OV9281Camera is an arducam USB 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 gainCamera is one brand of USB OV9281 which also has incorrect v4l exposure times Real range is more like 0-500Only certain discrete exposure settings workAuto-Exposure property uses 1/0, rather than 3/1Camera has odd exposure range, and supports gain controlChanging 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 -
LifeCamControls
Only certain discrete exposure settings work -
PsEyeControls
Auto-Exposure property uses 1/0, rather than 3/1 -
FPSCap100
Cap at 100FPS for high-bandwidth cameras -
AwbRedBlueGain
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) -
ArduOV9281Controls
Camera is an arducam USB ov9281 which has a funky exposure issue where it is defined in v4l as 1-5000 instead of 1-75 -
ArduOV2311Controls
Dummy quirk to tell OV2311 from OV9281 -
ArduOV9782Controls
-
InnoOV9281Controls
Camera is one brand of USB OV9281 which also has incorrect v4l exposure times Real range is more like 0-500 -
ArduOV9782
-
See3Cam_24CUG
Camera has odd exposure range, and supports gain control
-
-
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
-