1、Drone is connected by Pilot 2 APP: There is no wayline executing progress data to report, Cloud API is unable to know that the drone is executing at which waypoint
2、Drone is connected by Dock: Dock coud send the wayline task progress by the event topic. current_waypoint_index represents the currently executed wayppoints.
Please refer to https://developer.dji.com/doc/cloud-api-tutorial/cn/server-api-reference/mqtt/task/report-task-progress.html
// topic: thing/product/{Dock_sn}/events
{
"bid": "000f3949-01fe-4778-9b75-76a9ac5c4ed6",
"data": {
"output": {
"ext": {
"current_waypoint_index": 3,
"media_count": 6,
"track_id": "track_id"
},
"progress": {
"current_step": 19,
"percent": 100
},
"status": "ok"
},
"result": 0
},
"method": "flighttask_progress",
"tid": "da927f3a-b408-4b2a-9ce8-f4d57c913909",
"timestamp": 1654065677966
}
Comments
0 comments
Please sign in to leave a comment.