m300+h20,uploadMission后状态变为READY_TO_UPLOAD,然后uploadWaypoin...

Completed

Comments

9 comments

  • DJI Developer Support
    您好,这个有可能是航点动作的搭配问题。航点动作和触发器参数之间的搭配其实是有限制的,但是MSDK里面没有添加这样的限制。您这边可以参考一下pilot,看看里面触发器和航点动作之间的搭配限制。
    0
    Comment actions Permalink
  • DJI Developer Support
    我试了下,uploadWaypointActions,状态1s内变为UPLOADING五次,然后变回READY_TO_UPLOAD,这时候去startMission是没问题的,也即跟文档描述不符,怀疑是msdk对这些动作的状态的管理有bug
    0
    Comment actions Permalink
  • DJI Developer Support
    您好,uploadMission之后状态应该就变为READY_TO_EXECUTE了。您确定uploadMission后状态就没切换吗?
    0
    Comment actions Permalink
  • DJI Developer Support
    我在WaypointV2ActionListener的onUploadUpdate打印出来actionUploadEvent.getCurrentState().name()看了
    0
    Comment actions Permalink
  • DJI Developer Support
    我试了下,uploadWaypointActions,状态1s内变为UPLOADING五次,然后变回READY_TO_UPLOAD,这时候去startMission是没问题的,也即跟文档描述不符,怀疑是msdk对这些动作的状态的管理有bug --------------------------- 您的意思是即使航点动作没有上传成功,这时候去startMission执行航点任务,航点动作也是正常执行的吗?
    0
    Comment actions Permalink
  • DJI Developer Support
    是状态从UPLOADING变回READY_TO_UPLOAD,实际应该确实上传成功了吧,毕竟能正确无误执行了
    0
    Comment actions Permalink
  • DJI Developer Support
    需要您这边确认航点动作是正常执行了。因为即使航点动作上传失败,航点任务也可以执行,只是不会执行航点动作。
    0
    Comment actions Permalink
  • DJI Developer Support
    确认,在状态为READY_TO_UPLOAD的情况下startMission,航点动作全部正确执行
    0
    Comment actions Permalink
  • DJI Developer Support
    您好,这个问题是否有稳定的复现方法。如果没有,能否拍个视频给我们看看。
    0
    Comment actions Permalink

Please sign in to leave a comment.