"Altitude Limit" error

Completed

Comments

10 comments

  • DJI Developer Support
    Could you provide us with a video or image to confirm the appearance of the prompt given by MSDK. Below is the address for uploading the file. https://pan-sec.djicorp.com/s/6SSfk6m9LTdbkWZ dji123
    0
    Comment actions Permalink
  • Yujun Li

    Morning Support Team,

    I upload the log files, and here's the snapshot for the code.

    Thank you very much!

    0
    Comment actions Permalink
  • Yujun Li

    Just realized that screenshot is not expandable, sorry.

    private void addDJIDeviceStatusChangeListener() {
    DeviceStatusManager.getInstance().addDJIDeviceStatusChangeListener(djiDeviceStatusChangeListener = (previousStatus, currentStatus) -> {
    Log.i("DJI Device Status Update", "current DJI device status description: " + currentStatus.description() + " " + "current DJI device status warning level: " + currentStatus.warningLevel());
    Logger.i("DJI Device Status Update", "current DJI device status description: " + currentStatus.description() + " " + "current DJI device status warning level: " + currentStatus.warningLevel());
    djiCurrentDeviceStatus.set(currentStatus);
    onDeviceStatusUpdate(currentStatus);
    });
    }

    private void addDJIHealthInfoChangeListener() {
    DeviceHealthManager.getInstance().addDJIDeviceHealthInfoChangeListener(djiHealthInfoChangeListener = healthInfoList -> {
    for (DJIDeviceHealthInfo item: healthInfoList) {
    Log.i("DJI health info Update", "current DJI health info description: " + item.description() + " " + "current DJI health info warning level: " + item.warningLevel());
    Logger.i("DJI health info Update", "current DJI health info description: " + item.description() + " " + "current DJI health info warning level: " + item.warningLevel());
    }

    djiHealthInfoList.set(healthInfoList);
    onHealthInfoUpdate(healthInfoList);
    });
    }
    0
    Comment actions Permalink
  • DJI Developer Support
    I hope this message finds you well. I would like to request your assistance in reviewing the performance of pilot 2. When the aircraft is in an area with restricted flight altitude, DJIDeviceStatus does provide a height limit notification. However, I believe that pilot 2 should also provide a corresponding notification in such situations.
    0
    Comment actions Permalink
  • Yujun Li

    Good day support team,

    Just tested in the same area, there is no any notification or indication regarding flight restriction ("Altitude Limit") in DJI Pilot 2. But we still getting the diagnostic in our app. 

    Thank you 

    0
    Comment actions Permalink
  • DJI Developer Support
    Do you have any test videos or pictures available? We would like to understand the information displayed on the pilot 2 based on the pictures.
    0
    Comment actions Permalink
  • Yujun Li

    just upload the DJI pilot 2 video to the drive that support team shared, thank you 

    0
    Comment actions Permalink
  • DJI Developer Support
    I have reviewed the video you provided, and it appears that the aircraft was indeed in a restricted altitude zone. The "Altitude Limit" notification from the MSDK is therefore justified. I would like to know how this error has affected your usage. Could you please provide more information on the impact it has had? Thank you and have a great day!
    0
    Comment actions Permalink
  • Yujun Li

    The error doesn't really affecting the usage, but the wording on the error is quite confusing, especially considering that drones also have an altitude limit. 

    0
    Comment actions Permalink
  • DJI Developer Support
    I'm sorry, but I'm unable to reproduce the issue you're experiencing. Have you tried updating the version of MSDK?
    0
    Comment actions Permalink

Please sign in to leave a comment.