AE lock and metering mode switching to default value on H30 when camera source is switched
Hi, I'm facing an issue with the H30 payload mounted on a M350 using psdk 3.11.1. I'm working on wind turbines inspections.
My workflow is the following: I have the H30 Zoom camera that records a video while the stream from the Wide camera is used to navigate the environment. During the inspection, based on some conditions, I need to change some parameters of the Zoom camera (such as exposure, focus, zoom). I was able to implement this behavior by calling DjiCameraManager_SetStreamSource to switch between Wide and Zoom + the functions to change camera parameters (DjiCameraManager_SetFocusMode, DjiCameraManager_SetFocusMode etc.).
I was trying to do something similar with AELock and MeteringMode (switch to Zoom with SetStreamSource, apply for instance SetAELockEnabled or SetMeteringMode to spot, then switching back to Wide with SetStreamSource).
However I noticed that whenever I switch back to Wide this settings I set are lost, meaning that if I set AELockEnabled to True on Zoom, go back to Wide and then back to Zoom the lock is lost.
The same goes for the metering mode: if i set it to Spot on Zoom, switch to Wide and then back to Zoom, using GetMeteringMode i find that the mode has gone back to Average.
Why is this happening? Thank you for your help
Agent comment from Leon in Zendesk ticket #153752:
Hello, thank you for your patience. Since zoom and wide-angle lenses are different, they have independent exposure and focus logic. When you switch lenses, the logic of the different lenses will take effect and the parameters of the previous lens will not be used.
°°°
Hi, thank you for your answer.
I get that since the lenses are different, they have independent logic. What is strange is that the following happens:
- i am in wide camera, i switch to zoom camera and modify the zoom value, this value for the zoom camera is kept even if i switch back and forth between wide camera. This is the expected behavior since as you said, the lenses are independent
- on the contrary, if i am in wide camera, i switch to zoom, enable the ae lock there, this setting is lost as soon as i go back to wide, meaning that the setting is not kept (while for instance the zoom factor, as well as other parameters such ev compensation are kept independently for each camera regardless of the active camera).
I hope I was able to explain the issue more clearly.
Why are some settings kept while others are not?
Thank you
Agent comment from Leon in Zendesk ticket #153752:
Hello, thank you for your supplement. We fully understand what you mean. This problem may be a bug. Could you please attach the firmware information of the H30 firmware and M350 drone you are using?
°°°
The m350 is running firmware 10.01.08.05, while H30 is running 10.02.08.04. I also noticed the same issue when i was working with M300 and H20 payload with psdk version 3.8.1.
Thank you for your help.
Agent comment from Leon in Zendesk ticket #153752:
Hello, thank you for the information you provided. We will confirm with the R&D team based on this information. If there is any progress or conclusion, we will synchronize it with you again.
°°°
Hi, just wanted to add that after upgrading H30 firmware to 10.04.04.03 the AE lock does not go away anymore.
Agent comment from Leon in Zendesk ticket #153752:
Hello, I understand. Thank you for your supplement. We recommend that you verify based on the latest version in the future to avoid the impact of known issues.
°°°