Error and problem with Mavic 2 Enterprise advanced focal length from MSDK
I want to use MSDK to get zoom level and focal length of the Mavic 2 Enterprise advanced
I see on the website M2EA has a focal length of "35 mm format equivalent: 24 mm".
using the MSDK method, i can retrieve at 1x zoom, a value of 240. At the maximum zoom, the value i return a 7680.
QUESTIONS:
- at 1x zoom, does 240 correspond to the 24mm?, and therefore, does 7680 correspond to a equivalent focal length of 768mm ?
- how do i know when does the optical zoom end?
- at what value does the digital zoom start and end?
ERROR
E Error getting HybridZoomSpec: Not supported
E Error getting DigitalZoomFactor: Not supported
E Error getting OpticalZoomFactor: Not supported
I am trying to retrieve the zoom levels for my DJI Mavic 2 Enterprise Advanced but unable to retrieve the digital zoom and optical zoom as shown above, but I am able to retrieve these values from 240 to 7680 using this function getHybridZoomFocalLength() only.
QUESTIONS:
- The documentation writes that M2EA is able to use these functions. But why does it throw an error?
Agent comment from yating.liao in Zendesk ticket #116155:
at 1x zoom, does 240 correspond to the 24mm?, and therefore, does 7680 correspond to a equivalent focal length of 768mm ?
-->It is correct.
how do i know when does the optical zoom end?
at what value does the digital zoom start and end?
-->
The M2EA only supports digital zoom, so at 1x zoom, it is the optical focal length.
°°°
@dji-dev
Thank you for the prompt reply!
May I check what about these errors?
E Error getting HybridZoomSpec: Not supported
E Error getting DigitalZoomFactor: Not supported
E Error getting OpticalZoomFactor: Not supported
I am trying to use for Mavic 2 Enterprise Advance.
Agent comment from yating.liao in Zendesk ticket #116155:
I recommend you can take a look at this tutorial. M2EA does not obtain the current focal length through the camera interface.
How to make lens zoom in with M2EA?(https://sdk-forum.dji.net/hc/en-us/articles/4402661805337-How-to-make-lens-zoom-in-with-M2EA)
°°°
@dji-dev sorry for causing misunderstanding. I just wanted to understand and obtain the current focal length and zoom level. I had thought that using ZoomSpec and ZoomFactor function will help me get it. But i got an error instead.
Agent comment from yating.liao in Zendesk ticket #116155:
The ZoomFactor interface does not support M2EA zoom lens. You can try the interface mentioned in the article above, which can retrieve the focal length of M2EA.
°°°
Agent comment from yating.liao in Zendesk ticket #116155:
If you attempt to obtain the focal length through the lens class interface as described in the article while the zoom display is currently active, it will still be incorrect. Could you let us know the version of MSDK you are using as well as the firmware version of the drone?
°°°