dji-sdk / Mobile-SDK-Android

DJI Mobile SDK for Android: http://developer.dji.com/mobile-sdk/
Other
980 stars 579 forks source link

Mavic 2 Dual Visual camera won't digital zoom through sdk, only through DJI Pilot #795

Open idani301 opened 3 years ago

idani301 commented 3 years ago

Drone : Mavic 2 Dual Camera Mode : Video Resolution : 1920x1080, 30fps

On Dji Pilot I am able to use digital zoom from 1 to 4.

On Dji Mobile SDK setting digital zoom will not return any error on the Dji Completion callback, however the digital zoom won't be changed.

After we try to use setDigitalZoomFactor on the mobile sdk, if we switch back again to DJI Pilot, setting digital zoom doesn't work anymore until we restart the drone.

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #44732:

Dear Customer,

Thank you for contacting DJI. Sorry that the current 4.14 MSDK hasn't supported the zoom feature on the M2ED drone, will be supported on the 4.15 version. Please attention to the next version.

Thanks,

Luce Luo DJI Developer Support

danidroidvx commented 3 years ago

Drone : Mavic 2 Dual Camera Mode : Video Resolution : 1920x1080, 30fps

On Dji Pilot I am able to use digital zoom from 1 to 4.

On Dji Mobile SDK setting digital zoom will not return any error on the Dji Completion callback, however the digital zoom won't be changed.

After we try to use setDigitalZoomFactor on the mobile sdk, if we switch back again to DJI Pilot, setting digital zoom doesn't work anymore until we restart the drone.

did you solve this?

idani301 commented 3 years ago

I didn't check it on MSDK 4.15 yet. did you check?

D-Rite commented 2 years ago

Drone : Mavic 2 Dual Camera Mode : Video

Same issue - with both DJI pilot, and the right scroll wheel of the controller I can set digital zoom 1 to 4. Each of isDigitalZoomSupported(), isOpticalZoomSupported() and isHybridZoomSupported return false (not very promising) If I do call setDigitalZoomFactor() then the zoom feature on the right scroll wheel stops working until the next reboot of the drone. DJISDKManager.getInstance().getSDKVersion() returns "4.15.1"

D-Rite commented 2 years ago

Oops - isHybridZoomSupported() does return true for the optical camera. Zoom can then be set with setHybridZoomFocalLength() Solved for me.