Please select Into the mobile phone version | Continue to access the computer ver.
Mobile SDK 4.13 do not support Mavic 2 Enterprise Dual
764 1 2020-8-27
Uploading and Loding Picture ...(0/1)
o(^-^)o
djiuser_vxCJta5X5CTK
lvl.1

Russia
Offline

Hi, there is a critical bug in versions 4.13 and 4.13.1. The Mavic 2 Dual does not work in these versions. my code java:



if(camera != null)
    if(camera.isThermalCamera() && djiAircraft.getModel() == Model.MAVIC_2_ENTERPRISE_DUAL)
        camera.setDisplayMode(SettingsDefinitions.DisplayMode.VISUAL_ONLY,djiError -> {
            if(djiError != null) showToast(djiError.getDescription());
        });



new code for MSDK 3.14


List <Camera> cameras = baseProduct.getCameras();

if (cameras != null && cameras.size() > 1) {
    for (int i = 0; i < cameras.size(); i++) {
        if (cameras.get(i).isThermalCamera()) {
            thermal = cameras.get(i);
        }
    }
}
if(thermal != null)
    if(thermal.isThermalCamera() && djiAircraft.getModel() == Model.MAVIC_2_ENTERPRISE_DUAL)
        thermal.setDisplayMode(SettingsDefinitions.DisplayMode.VISUAL_ONLY,djiError -> {
            if(djiError != null) showToast(djiError.getDescription());
        });

2020-8-27
Use props
DJI_Chachi
lvl.2
United States
Offline

Can you report this directly to DJI Developer Support here: https://formcrafts.com/a/dji-developer-feedback-en
2020-8-27
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules