大疆机场通过MQTT下发任务并执行,返回结果为成功,但是无人机并没有执行任务
Completed大疆机场下发任务并执行,返回结果为成功,但是无人机并没有执行任务,上云api后台报错,DockStateDataKeyEnum中无commander_flight_height、commander_mode_lost_action
、current_commander_flight_mode、current_rth_mode等字段信息,同时还会提示Error code 210001,Device is not Registered,please call the SDKManager.registeredDevice<>method to registered the device
-
这是下发后,机场返回飞行状态通知,flighttask_progress-{"bid":"10819ede-752e-468d-8637-3c7d83405b5f","data":{"output":{"ext":{"current_waypoint_index":0,"flight_id":"368c8599-aad4-4716-9b0b-adbe14e2c099","media_count":0,"track_id":"","wayline_id":65535,"wayline_mission_state":2},"progress":{"current_step":31,"percent":15},"status":"failed"},"result":314013},"method":"flighttask_progress","need_reply":1,"tid":"c7ec7a1a-6942-4f46-9352-1f7d5c10d4a4","timestamp":1710914507322,"gateway":"4TADL2P001004R"}
-
314013和314004的报错原因是一样的,您可以根据以下文章说明,根据314004的排查方案,排查314013的报错:https://sdk-forum.dji.net/hc/zh-cn/articles/25542281389721-%E6%9C%BA%E5%9C%BA%E6%89%A7%E8%A1%8C%E8%88%AA%E7%BA%BF%E4%BB%BB%E5%8A%A1%E6%8A%A5%E9%94%99?auth_token=eyJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50X2lkIjo5Nzg4MTcsInVzZXJfaWQiOjEzNDg4Mzk0NzEwMDQxLCJ0aWNrZXRfaWQiOjEwMTMyMSwiY2hhbm5lbF9pZCI6NjMsInR5cGUiOiJTRUFSQ0giLCJleHAiOjE3MTE1NDQ5Mzd9.7nTAP6oW6wPajl7qsp0NgBjkyjpGKiZPbCnUQQrAe28&source=search -
我现在在添加航线时,对wayline_job表中的数据按照逻辑进行了插入,机场执行任务不再返回314013了,变成了314007,也就是
机场传输航线至飞行器失败,请重启机场后重试,但是我重启机场后,仍然不行,还是报
flighttask_progress-{"bid":"60f965fb-b54e-45f9-adba-741777cd68b7","data":{"output":{"ext":{"current_waypoint_index":0,"flight_id":"77889910","media_count":0,"track_id":"","wayline_id":65535,"wayline_mission_state":2},"progress":{"current_step":31,"percent":15},"status":"failed"},"result":314007},"method":"flighttask_progress","need_reply":1,"tid":"75634e5f-c1ea-48b9-b448-45c44becd102","timestamp":1710929593451,"gateway":"4TADL2P001004R"}
-
目前通过司空2平台是可以起飞的,通过我们自己的任务下发,返回的flighttask_progress为
flighttask_progress-{"bid":"03807d25-d00d-44c6-ab6b-bc921077adef","data":{"output":{"ext":{"current_waypoint_index":0,"flight_id":"8d31d1e1-db27-4490-8272-c6fb7a9cb155","media_count":0,"track_id":"","wayline_id":65535,"wayline_mission_state":2},"progress":{"current_step":33,"percent":15},"status":"failed"},"result":314007},"method":"flighttask_progress","need_reply":1,"tid":"68413e41-06e9-4ae8-a7b9-d36667b2458e","timestamp":1711008822514,"gateway":"4TADL2P001004R"}
还是314007,机场上传航线至无人机的问题,已经排查,目前没有图传信号干扰
Please sign in to leave a comment.
Comments
14 comments