Hi,
I am trying to sync exposure time of 2 sensors(imx274, l4t32).
I can get metadata and set ranges and all other sensor parameters.
I want to limit sensor framerate between 30-30fps(33ms-33ms) and exposure time between 1ms-33ms. And use auto exposure time of sensor0, for setting up exposure time of sensor1.
But the logic of auto exposure is not clear.
Playing with argus_camera application also does not give understanding.
First i am setting up:
setFrameDurationRange( 33E6, 33E6 ) // ns
setFrameExposureTimeRange( 44000, 33E6 ) // ns
setGainRange( 1, 44.4 ) // Units? ISO?
setIspDigitalGainRange( 1, 1 ); // don’t want digital gain
setAeAntibandingMode( AUTO ) // what for?
setAeLock( false ) // AE ON
setAwbLock( false ) // AWB ON
setAwbMode( AUTO ) // Color temp auto
But when i am running program, frames are blinking and the metadata shows:
Lux: 0.76, 13.05, 0.87, 0.66 …
Expo, ms: 51, 33, 44, 58 …
Gain: 8, 8.08, 8, 8 …
If i am trying to light a bright lamp, same blinking state:
Lux: 85, 0.62 …
Expo, ms: 32, 55 …
Gain: 6.3 8 …
Sometimes, if i am closing sensor by hand, after few seconds frames stop blinking and become overexposured(max exposure time 33ms).
Awb looks like good.
Please explain me how i can control exposure.
Best regards, Viktor.