Class VisionSourceSettables
java.lang.Object
org.photonvision.vision.processes.VisionSourceSettables
- Direct Known Subclasses:
FileVisionSource.FileSourceSettables
,GenericUSBCameraSettables
,LibcameraGpuSettables
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected FrameStaticProperties
protected Logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCalibration
(CameraCalibrationCoefficients calibrationCoefficients) protected void
abstract VideoMode
double
getFOV()
abstract double
abstract double
abstract double
abstract double
void
Runs exactly once the first time that the underlying device goes from disconnected to connectedabstract void
setAutoExposure
(boolean cameraAutoExposure) abstract void
setAutoWhiteBalance
(boolean autowb) void
setBlueGain
(int blue) abstract void
setBrightness
(int brightness) abstract void
setExposureRaw
(double exposureRaw) void
setFOV
(double fov) abstract void
setGain
(int gain) void
setRedGain
(int red) void
setVideoMode
(VideoMode mode) void
setVideoModeIndex
(int index) void
setVideoModeInternal
(int index) protected abstract void
setVideoModeInternal
(VideoMode videoMode) abstract void
setWhiteBalanceTemp
(double temp)
-
Field Details
-
logger
-
frameStaticProperties
-
videoModes
-
cameraPropertiesCached
-
-
Constructor Details
-
VisionSourceSettables
-
-
Method Details
-
getConfiguration
-
onCameraConnected
Runs exactly once the first time that the underlying device goes from disconnected to connected -
setExposureRaw
-
getMinExposureRaw
-
getMaxExposureRaw
-
setAutoExposure
-
setWhiteBalanceTemp
-
setAutoWhiteBalance
-
setBrightness
-
setGain
-
setRedGain
-
setBlueGain
-
getCurrentVideoMode
-
setVideoModeInternal
-
setVideoMode
-
setVideoModeInternal
-
setVideoModeIndex
-
getAllVideoModes
-
getFOV
-
setFOV
-
addCalibration
-
calculateFrameStaticProps
-
getFrameStaticProperties
-
getMinWhiteBalanceTemp
-
getMaxWhiteBalanceTemp
-