Class VisionSourceSettables
java.lang.Object
org.photonvision.vision.processes.VisionSourceSettables
- Direct Known Subclasses:
GenericUSBCameraSettables
,LibcameraGpuSettables
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCalibration
(CameraCalibrationCoefficients calibrationCoefficients) abstract VideoMode
double
getFOV()
abstract double
abstract double
abstract double
abstract double
abstract 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
-
-
Constructor Details
-
VisionSourceSettables
-
-
Method Details
-
getConfiguration
-
setExposureRaw
public abstract void setExposureRaw(double exposureRaw) -
getMinExposureRaw
public abstract double getMinExposureRaw() -
getMaxExposureRaw
public abstract double getMaxExposureRaw() -
setAutoExposure
public abstract void setAutoExposure(boolean cameraAutoExposure) -
setWhiteBalanceTemp
public abstract void setWhiteBalanceTemp(double temp) -
setAutoWhiteBalance
public abstract void setAutoWhiteBalance(boolean autowb) -
setBrightness
public abstract void setBrightness(int brightness) -
setGain
public abstract void setGain(int gain) -
setRedGain
public void setRedGain(int red) -
setBlueGain
public void setBlueGain(int blue) -
getCurrentVideoMode
-
setVideoModeInternal
public void setVideoModeInternal(int index) -
setVideoMode
-
setVideoModeInternal
-
setVideoModeIndex
public void setVideoModeIndex(int index) -
getAllVideoModes
-
getFOV
public double getFOV() -
setFOV
public void setFOV(double fov) -
addCalibration
-
getFrameStaticProperties
-
getMinWhiteBalanceTemp
public abstract double getMinWhiteBalanceTemp() -
getMaxWhiteBalanceTemp
public abstract double getMaxWhiteBalanceTemp()
-