大疆M300 执行上传航线任务uploadMission出现的问题

Completed

Comments

14 comments

  • DJI Developer Support
    您好出现这个报错的原因是GPS/RTK信号不好未能记录home点坐标。请问您是在模拟器还是在实飞环境中测试的,是否有开启RTK呢?
    0
    Comment actions Permalink
  • sheng

    在模拟器上进行航线任务数据的测试飞行模拟

    0
    Comment actions Permalink
  • songxiao

    这个错误应该是你在模拟器中设置的起飞点的经纬度与你的航线任务中航点的经纬度距离太远

    0
    Comment actions Permalink
  • DJI Developer Support
    您好。楼上说的情况是有可能的。模拟器中模拟,请不要开启RTK模式(模拟器无法模拟RTK),此外设置的起飞点坐标不要距离航点太远。起飞点与第一个航点之间的距离有2km的限制。
    0
    Comment actions Permalink
  • sheng

    waypointV2MissionOperator调用startMission进行起飞,返回错误The information of mission is invalid

    0
    Comment actions Permalink
  • sheng

    waypointV2MissionOperator上传航线出错,返回错误信息 DJIWaypointV2ErrorMissionReferenceLocationInvalid

    0
    Comment actions Permalink
  • DJI Developer Support
    您好。DJIWaypointV2ErrorMissionReferenceLocationInvalid是您的起飞点距离第一个航点过远。请您看下起飞点距离第一个航点的距离,以及APP的实名制激活状态,未激活的情况下飞行范围会受到极大限制。
    0
    Comment actions Permalink
  • sheng

    waypointV2MissionOperator调用startMission进行飞机起飞,航线的最后一个航点飞行完之后,没有回调WaypointV2MissionOperatorListener的onExecutionFinish方法

    0
    Comment actions Permalink
  • sheng

    使用大疆M300飞机,mobile sdk版本为最新的4.15版本

    waypointV2MissionOperator经常上传航线uploadMission出错,返回错误信息The waypoint position exceeds radius limit.

    waypointV2MissionOperator调用startMission进行起飞,返回错误The uploaded waypoints is too few

    waypointV2MissionOperator调用uploadMission进行上传航线任务,返回错误UnKnown

     

     

     
    0
    Comment actions Permalink
  • DJI Developer Support

    请检查程序中是否登录了账户,否则会提示“The waypoint position exceeds radius limit”,飞行范围会受到限制。 “The uploaded waypoints is too few” 需要检查航点任务中设置的航点数量是否太少。onExecutionFinish 方法会在整个航点任务执行完成之后才会回调。建议您参考我们提供的 Sample 来进行开发。链接:www.github.com/dji-sdk/Mobile-SDK-Android

    0
    Comment actions Permalink
  • sheng

    已经登陆账号,使用M300无人机进行实测,waypointV2MissionOperator上传航线uploadMission出错,返回错误信息The waypoint position exceeds radius limit.

    0
    Comment actions Permalink
  • DJI Developer Support
    可以看看是否是设置的限制距离过近导致,通过 getMaxFlightRadius 方法获取飞机的最大飞行半径限制。根据 setMaxFlightRadius 方法来设置最大限制距离,范围在15到8000之间。也可以通过 setMaxFlightRadiusLimitationEnabled 方法关闭半径限制。
    0
    Comment actions Permalink
  • sheng

    大疆M300无人机实测,可以正常上传航线任务,调用startMission进行起飞返回错误The aircraft home point is not recorded yet.。在控制器手柄官方app那里查看rtk是可以正常连接的

    0
    Comment actions Permalink
  • DJI Developer Support
    看看 RTK 的状态是什么,能不能在 RTK 模式下起飞。调用 setHomeLocationUsingAircraftCurrentLocation 方法手动设置一下返航点。检查一下第一个航点与飞机当前位置的距离是不是太远。
    0
    Comment actions Permalink

Please sign in to leave a comment.