Focus Control Modeļ
org.firstinspires.ftc.robotcore.external.hardware.camera.controls.FocusControl.Mode
A webcam may operate in one of various focus modes. To directly control the focus length, set the webcam to Fixed mode.
The SDK supports these values of FocusControl.Mode:
Auto
ContinuousAuto
Fixed
Infinity
Macro
Unknown
Mode is managed with these FocusControl methods:
setMode(ExposureControl.Mode._mode_)
getMode()
The Logitech C920 webcam offers two modes: ContinuousAuto and Fixed, which does respond to FocusControl methods. The Logitech C270 (older model) offers only Fixed mode, but does not allow programmed control.
Full details are described in the FocusControl Javadoc.