On the VIDEO_SETTINGS documentation page, there is a note under GAIN that reads:
If EXPOSURE is set to -1 (automatic mode), then GAIN will be automatic as well.
This implies that the procedure for setting auto gain is to set EXPOSURE to -1.
However, there are two other points that contradict this:
- The docs for
EXPOSUREdo not mention -1, and state that the range is 0 to 100. - The docs for
AEC_AGCstate that this setting is what controls if gain/exposure is automatic or not (as opposed to settingEXPOSUREto -1).
My question is, what is the proper way to enable auto gain/exposure? Is it to set EXPOSURE to -1, or is it to enable AEC_AGC?
Also, can the documentation be clarified at some point in the future?
Thanks!