Comments

14 comments

  • DJI Developer Support
    该报错是demo预留给开发者进行实现的,该报错不会导致航线任务报错。 您可以搜索后端flighttask_prepare、flighttask_execute、flighttask_progress排查上报消息是否有报错,根据报错错误码进行排查。
    0
    Comment actions Permalink
  • 13439983901

    上报信息flighttask_prepare、flighttask_execute、flighttask_progress,返回的都是成功{result=0}

    0
    Comment actions Permalink
  • DJI Developer Support
    麻烦您上传您的后端日志,我们先确认一下您的问题。
    0
    Comment actions Permalink
  • 13439983901

    好的,

    下发任务,其中url是可以通过机场网络环境进行访问的

    {"bid":"8c9c3745-cfc2-4662-8031-7b3b3aee9868","data":{"execute_time":1710924360185,"exit_wayline_when_rc_lost":0,"file":{"fingerprint":"f7ee960222dbfdddde1582102b9d9329","url":"略"},"flight_id":"e1b7d709-704d-4d9c-ab79-33aa8689b532","out_of_control_action":0,"rth_altitude":50,"rth_mode":1,"task_type":0,"wayline_type":0},"gateway":"4TADL2P001004R","method":"flighttask_prepare","tid":"fe760fa5-bd64-4dc2-8eda-2c138a3ecb32","timestamp":1710924360184}

    执行任务返回
    box services_reply-data:{"bid": "8c9c3745-cfc2-4662-8031-7b3b3aee9868", "data": {"result": 0}, "method": "flighttask_prepare", "tid": "fe760fa5-bd64-4dc2-8eda-2c138a3ecb32", "timestamp": 1710924358319}

    然后机场回复flighttask_progress如下

    1、{"bid":"873440b7-db6a-44c3-9c69-36197788d721","data":{"output":{"ext":{"current_waypoint_index":0,"flight_id":"e1b7d709-704d-4d9c-ab79-33aa8689b532","track_id":"","wayline_id":65535,"wayline_mission_state":2},"progress":{"current_step":6,"percent":5},"status":"in_progress"},"result":0},"method":"flighttask_progress","need_reply":0,"tid":"4eaeb285-434b-447d-92da-1cdb6912cd4a","timestamp":1710924374447,"gateway":"4TADL2P001004R"}

    2、flighttask_progress-{"bid":"873440b7-db6a-44c3-9c69-36197788d721","data":{"output":{"ext":{"current_waypoint_index":0,"flight_id":"e1b7d709-704d-4d9c-ab79-33aa8689b532","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":"c11b6506-eef3-4849-8d40-a560a6455558","timestamp":1710924512391,"gateway":"4TADL2P001004R"}

    后续全部是 2 的内容

     

     

    0
    Comment actions Permalink
  • DJI Developer Support
    机场会通过flighttask_resource_get向云端请求航线的任务文件,请检查机场是否有成功返回该请求。 **Topic:** thing/product/_{gateway_sn}_/requests **Direction:** up **Method:** flighttask_resource_get
    0
    Comment actions Permalink
  • 13439983901

    已经订阅该请求,机场成功返回

    {"tid":"b0ca99d3-31e9-42ef-a939-d09632a223d2","bid":"ed70948c-bbf4-43c4-8a79-244c8ca8106c","data":{"result":0,"output":{"file":{"url":"http://xxx.xx.xxx.xxx:xxxx/cloud-bucket/wayline/dajiang7.kmz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20240321%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240321T081228Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b97426a9b15b242ba7886d42c00a033ab3fcddafd3f6442404998ba8733a6d24","fingerprint":"e9f058e0f06e03f7c9e32bb9cd8c17b6"}}},"timestamp":1711008748469,"method":"flighttask_resource_get"}

    其中的url可以在机场所在的网络环境进行访问,同时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,机场上传航线至无人机报错,已经监测无人机没有信号干扰,并且重启机场依然没有用

    0
    Comment actions Permalink
  • DJI Developer Support
    314007错误触发的频率有多大呢?您可以在以下链接提单给我们,需要您上传机场及无人机日志,我们排查您的问题。 https://sdk-forum.dji.net/hc/zh-cn/requests/new
    0
    Comment actions Permalink
  • 13439983901

    是一直出发,一直没有飞起来过,提示的是314007

    0
    Comment actions Permalink
  • DJI Developer Support
    您可以在以下链接提单给我们,需要您上传机场及无人机日志,我们排查您的问题。 https://sdk-forum.dji.net/hc/zh-cn/requests/new
    0
    Comment actions Permalink
  • DJI Developer Support
    您可以在以下链接提单给我们,需要您上传机场及无人机日志,我们排查您的问题。 https://sdk-forum.dji.net/hc/zh-cn/requests/new
    0
    Comment actions Permalink
  • DJI Developer Support
    您可以在以下链接提单给我们,需要您上传机场及无人机日志,我们排查您的问题。 https://sdk-forum.dji.net/hc/zh-cn/requests/new
    0
    Comment actions Permalink
  • DJI Developer Support
    您可以在以下链接提单给我们,需要您上传机场及无人机日志,我们排查您的问题。 https://sdk-forum.dji.net/hc/zh-cn/requests/new
    0
    Comment actions Permalink
  • DJI Developer Support
    您可以在以下链接提单给我们,需要您上传机场及无人机日志,我们排查您的问题。 https://sdk-forum.dji.net/hc/zh-cn/requests/new
    0
    Comment actions Permalink
  • DJI Developer Support
    您可以在以下链接提单给我们,需要您上传机场及无人机日志,我们排查您的问题。 https://sdk-forum.dji.net/hc/zh-cn/requests/new
    0
    Comment actions Permalink

Please sign in to leave a comment.