航点任务初始化提示“initial reference point position coordinate exce...

Completed

Comments

6 comments

  • DJI Developer Support
    可以看下确认下飞机当前的GPS坐标位置(若是模拟器,即模拟器模拟的位置坐标)与上传的航点坐标位置距离过远。
    0
    Comment actions Permalink
  • DJI Developer Support
    上传的航点中,第一个点经纬度没变,只是升了高度,第二个点离第一个点也只有几十米。还有其他原因会导致这个提示吗?我设置了航点的机头朝向为custom,并给了角度值。另外这个航点任务执行上传还会报“the init info of Ground Station is not uploaded yet."
    0
    Comment actions Permalink
  • DJI Developer Support
    这个报错就是初始的航点有问题,上传给飞控的坐标是弧度值,如果传角度值也是会报超出范围的。如果还是不行,可以将上传的航点坐标打印出来看看。
    0
    Comment actions Permalink
  • DJI Developer Support
    打印出来的坐标和我给定的坐标是一样的,给的是弧度值。机头朝向给的是角度值
    0
    Comment actions Permalink
  • DJI Developer Support
    1、直接使用sample测试,看是否存在异常,并提供完整的终端运行log。 2、若sample无法复现,请提供完整的复现测试代码。
    0
    Comment actions Permalink
  • DJI Developer Support
    找到原因了,模拟的情况下,飞机的起始经纬度是0.0, 0.0。并不是在模拟器那里输入的值。
    0
    Comment actions Permalink

Please sign in to leave a comment.