[SDK 5.8.0] Catching the moment when an aircraft returns home due to low battery charge

已完成

评论

3 条评论

  • DJI Developer Support
    We kindly suggest considering upgrading to MSDK version 5.9 to benefit from the optimized error messages related to flight routes.
    0
    评论操作 固定链接
  • Sergey Gorodetsky

    Thank you for your reply. We tried the same scenario with the SDK 5.9 and got similar results. The difference is that every time we tried to reproduce the issue, the mission status was changed from EXECUTING to FINISHED, we didn't get INTERRUPTED status and onWaylineExecutingInterruptReasonUpdate has never been called. We don't know whether that behavior changed in some way between SDK versions due to the random nature of the results, is onWaylineExecutingInterruptReasonUpdate supposed to be called when an aircraft stops the mission and returns home due to low battery charge, and if not, then is there a way to catch that event?

    0
    评论操作 固定链接
  • DJI Developer Support
    It is recommended to utilize the FlightControllerKey.KeyLowBatteryRTHInfo to monitor the LowBatteryRTHInfo.getLowBatteryRTHStatus for retrieval.
    0
    评论操作 固定链接

请先登录再写评论。