Waypoint V2 Mission Error: Mission Exits Without Executing Finish Action

已完成

评论

6 条评论

  • DJI Developer Support
    Hello, what is the end action of the waypoint mission you set? Currently, the waypoint mission is exited normally according to the log, but the log does not contain other information. You can also provide us with the debug level log for further confirmation.
    0
    评论操作 固定链接
  • Umesh

    The end action is set to `DJI_WAYPOINT_V2_FINISHED_GO_HOME`. I have also tried different end actions like `DJI_WAYPOINT_V2_FINISHED_AUTO_LANDING` and `DJI_WAYPOINT_V2_FINISHED_GO_TO_FIRST_WAYPOINT`. However, after the drone arrives at the last waypoint, it goes into a "Stop Event," and I receive the log message `[Stop Event]: Mission exit reason is 0x0`. Then drone  just hover at last waypoint.

    I'm testing this using the DJI simulator, and the remote controller (RC) is not turned on. After arriving at the last waypoint, the mission exits but does not perform the finish/end action as expected.

    Debug Log:


    [81.837][linker]-[Debug]-[DjiProtocol_v1Pack:122) V1-Send: 0x0A06->0x0A01 0x3C10 
    [81.837][linker]-[Debug]-[DjiProtocol_v1Pack:122) V1-Send: 0x0A06->0x0603 0x3C10 
    [81.838][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.839][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.840][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.841][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.843][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.843][linker]-[Debug]-[DjiProtocol_v1Unpack:213) V1-Recv: 0x0A01->0x0A06 0x3C45 
    [81.844][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.844][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x3C45 len:0 
    [81.844][linker]-[Debug]-[DjiCommand_DealCmd:855) received unsupport request cmd that need ack, cmdset: 0x3C cmdid: 0x45 
    [81.845][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.846][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.847][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.848][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.849][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.850][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.851][linker]-[Debug]-[DjiProtocol_v1Unpack:213) V1-Recv: 0x0A01->0x0A06 0x3C45 
    [81.852][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.852][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x3C45 len:0 
    [81.852][linker]-[Debug]-[DjiCommand_DealCmd:855) received unsupport request cmd that need ack, cmdset: 0x3C cmdid: 0x45 
    [81.852][linker]-[Debug]-[DjiProtocol_v1Unpack:213) V1-Recv: 0x0300->0x0A06 0x221C 
    [81.852][linker]-[Debug]-[DjiProtocol_v1Unpack:213) V1-Recv: 0x0300->0x0A06 0x221B 
    [81.853][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x0205 len:31 
    [81.853][linker]-[Debug]-[DjiCommand_RecvWork:994) Receive msg from linker, id:0x221C len:6 
    [81.853][user]-[Info]-[DjiTest_WaypointV2EventCallback:341) [Stop Event]: Mission exit reason is 0x0 

    Based on this information, the mission is being exited normally (`exit reason is 0x0`), but the specified end action is not being executed as expected.

    0
    评论操作 固定链接
  • DJI Developer Support
    Sorry, we may need to confirm again whether this is a known issue within our company. Did you open RC during the entire flight? Can you synchronize your waypoint mission content with us? We will retest this issue.
    0
    评论操作 固定链接
  • DJI Developer Support
    If you close the RC midway, the end action set by the PSDK will not be executed. This behavior is a known issue within our organization.
    0
    评论操作 固定链接
  • Umesh

    The RC was off throughout the entire mission as I'm flying without the RC, so I didn't open or close it during the mission. The mission I'm testing is the same sample mission provided in the PSDK sample code.

    0
    评论操作 固定链接
  • DJI Developer Support
    Hello, we understand what you mean and thank you for your supplement. We will investigate and confirm this matter as soon as possible.
    0
    评论操作 固定链接

请先登录再写评论。