Sample OpModes -------------- The intent of this tutorial is to describe the available webcam controls, allowing programmers to **develop their own solutions** guided by the SDK API (Javadoc). The following sample OpModes are linked here for reference only. These rudimentary OpModes may not apply to your webcam and may not meet your needs in general. .. dropdown:: Adjust exposure, gain and AE Priority :download:`W_WebcamControls_Exp_Gain.java ` .. literalinclude:: opmodes/W_WebcamControls_Exp_Gain.java :language: java .. dropdown:: Adjust exposure and gain with TFOD (test OpMode for Examples 1, 2, 3) :download:`W_TFOD_WebcamExpGain.java ` .. literalinclude:: opmodes/W_TFOD_WebcamExpGain.java :language: java .. dropdown:: Adjust white balance temperature, if supported :download:`W_WebcamControls_WhiteBalance.java ` .. literalinclude:: opmodes/W_WebcamControls_WhiteBalance.java :language: java .. dropdown:: Adjust focus, if supported :download:`W_WebcamControls_Focus.java ` .. literalinclude:: opmodes/W_WebcamControls_Focus.java :language: java .. dropdown:: Adjust virtual pan, tilt and zoom, if supported :download:`W_WebcamControls_PTZ.java ` .. literalinclude:: opmodes/W_WebcamControls_PTZ.java :language: java