Camera: improve accuracy of sensor fusion test
CtsVerifier:
- Use dedicate thread to handle sensor events
- Register 200hz of gyro samples
- Reduce sample rate for sensors other than gyro
to make ItsService less busy
- Use captureBurst instead of single capture
request to save some binder transactions
test_sensor_fusion
- Only estimate rotation from feature points in
the center 20% of the image to reduce the effect
of rolling shutter.
- Add assertions to camera capture speed and gyro
sample rate. Both are critical to sensor fusion
related applications.
- Fit 0.5ms range instead of 1ms range when finding
best time shift
- Disable AF in 3A convergence since we are doing
infinity focus during the capture.
Bug: 30471926
Change-Id: Idd3acaa125258e1bfbf26d159efd70c63e8ca9a9
(cherry picked from commit 0600a22e710e5b659d9e00b3c75cda678311039f)
2 files changed