dji-sdk / Mobile-SDK-Android

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

DJI SDK 4.15 Enterprise Advanced. SDK throwing error when switching lens to displayMode MSX #971

Open mayurpatil307 opened 3 years ago

mayurpatil307 commented 3 years ago

Hello, SDK Version: 4.15 For M2EA, when I try to switch the cameraLens to MSX, I am getting following error with discription: error: Camera received invalid parameters

if (isM2EA()) { logger.debug("setCameraModeMSX: M2EA detected in setCameraModeMSX"); setResultToToast("setCameraModeMSX: M2EA detected in setCameraModeMSX"); //int lensIndex = CommonUtil.getLensIndex(0, SettingsDefinitions.LensType.WIDE); Lens infraLens = cameraInst.getLenses().get(1); infraLens.setDisplayMode(SettingsDefinitions.DisplayMode.MSX, djiError1 -> { if (djiError1 != null) { logger.error("setCameraModeMSX: M2EA setDisplayMode: error: " + djiError1.getDescription()); setResultToToast("setCameraModeMSX: M2EA setDisplayMode: error: " + djiError1.getDescription()); } else { setResultToToast("setCameraModeMSX: M2EA setDisplayMode successful); } }); } }

I am able to switch between the setDisplayMode VISUAL_ONLY and THERMAL_ONLY but MSX is not working.

Can you please help in resolving the issue.

dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #50433:

Dear Customer,

Thank you for contacting DJI. Sorry that the M2EA drone doesn't support the MSX mode.

Thanks,

Luce Luo DJI Developer Support

°°°

mayurpatil307 commented 3 years ago

@dji-dev Does this means that: the DJI SDK 4.15 does not support MSX for M2EA ?? And would future releases of SDK would include support for MSX in M2EA??

OR M2EA drone itself does not support MSX ?? because M2EDual supports MSX and does work well.