dji-sdk / Mobile-SDK-Android

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

Model MAVIC_2_ENTERPRISE_DUAL after restarting the drone detects MAVIC_2_ENTERPRISE #1024

Open mayurpatil307 opened 2 years ago

mayurpatil307 commented 2 years ago

Hello,

I am getting Model object using DJISDKManager.getInstance().getProduct().getModel()

Steps:

  1. Using M2ED, If you call the above method, it returns correct model i.e MAVIC_2_ENTERPRISE_DUAL
  2. Now, Restart the drone manually, after the drone is restarted if we again trigger DJISDKManager.getInstance().getProduct().getModel() , we get MAVIC_2_ENTERPRISE as the Model.

Looks like a bug in SDK. Please let us know the solution to this.

dji-dev commented 2 years ago

Agent comment from DJI SDK in Zendesk ticket #53034:

尊敬的开发者,感谢您联系DJI 大疆创新 由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI. Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°

dji-dev commented 2 years ago

Agent comment from sean.zhou in Zendesk ticket #53034:

Dear Client, Thank you for contacting DJI.

Because M2E and M2ED are identical, they're just different cameras. Restart the drone manually, after the drone is restarted if you again trigger DJISDKManager.getInstance().getProduct().getModel() , you get MAVIC_2_ENTERPRISE as the Model. The reason is that the camera component is slow to recognize. When the camera component is recognized, the value returned by getModel is MAVIC_2_ENTERPRISE_DUAL. You can call the getModel method after the camera component is identified. If the camera component is not identified, you will get MAVIC_2_ENTERPRISE as the Model.

If you still have questions, please feel free to continue contacting us.

Hopefully our solution can help you.

Kindly Regards, DJI Developer Support

°°°