Inquiry Regarding MSDK v5.8.0 Issue: Inconsistency in pauseMission()/resumeMission() Behavior Across Drone Models

评论

7 条评论

  • DJI Developer Support
    Could you please provide us with a method to reproduce the issues you mentioned on the M350 and M30 series? In other words, how should I call the interface to encounter the same error? Thank you.
    0
    评论操作 固定链接
  • Vlad Groshkov

    Scenario 1 of the MSDK calls:

    1. Initialize the MSDK;
    2. The drone is on the ground, try to call WaypointMissionManager.pauseMission();

    Scenario 2 of the MSDK calls:

    1. Initialize the MSDK;
    2. The drone is on the ground, WaypointMissionManager.pushKMZFileToAircraft();
    3. WaypointMissionManager.startMission();
    4. Wait until the drone executes the mission;
    5. WaypointMissionManager.pauseMission();
    6. WaypointMissionManager.pauseMission(); 
       

     

    0
    评论操作 固定链接
  • DJI Developer Support
    Regarding the first scenario, based on the steps you provided, it seems that the drone did not start executing the waypoint mission, so the error at this point is that the mission cannot be executed. For the second scenario, the drone is executing the waypoint mission, and in step five, the pause interface is called, putting the drone in a paused state. If the pause interface is called again at this point, it will indicate that the mission cannot be paused. Do you want these two error messages to be modified? How would you like them to be modified?
    0
    评论操作 固定链接
  • Vlad Groshkov

    I agree with you, but the main problem is the state that I got after the second calling of the pauseMission() method. I expected executioningState = 'INTERUPPTED', not 'READY'. Like on Matrice 30 and Mavic 3 Enterprise drones.
    Maybe I can share with you the example of the Android test and logs for the second scenario. How can I do it?

    0
    评论操作 固定链接
  • DJI Developer Support
    You are able to upload the logs and sample code to this address.:https://pan-sec.djicorp.com/s/32Cd74CqsRk4Wm9 The password for this link is dji123. However, I think I have reproduced your issue in the sample code. It is rare to call pauseMission multiple times during normal use. Could you please let us know if this operation has a practical use case?
    0
    评论操作 固定链接
  • Vlad Groshkov

    Yes, you are right. After multiple calls of the pauseMission()/resumeMission() the problem is reproducing. The particle use case: I think that developers who use MSDK, shouldn't think about additional conditions of availability for each mission command (e.g. upload, resume, pause, and others). On Matrice 30 and Mavic 3, it works correctly.
    When it can be fixed?

    0
    评论操作 固定链接
  • DJI Developer Support
    I understand what you're saying, but I would like to know the actual impact of this issue on your usage. This will help us better understand your use case and the urgency of the problem. I have escalated this issue to the team, but I cannot confirm a resolution time at the moment.
    0
    评论操作 固定链接

请先登录再写评论。