实现航点任务功能的时候 通过FlightController拿到FlightControllerState对象 获取...

Completed

Comments

3 comments

  • DJI Developer Support
    您确定飞机那时候是在移动的吗?以及无人机那时候的GPS信号是良好的吗?
    0
    Comment actions Permalink
  • ehfsic

    是在移动,会不会是

    flightController.setStateCallback不能调用多次
    0
    Comment actions Permalink
  • DJI Developer Support
    你是多次调用了setStateCallback吗?有可能是这个原因。 setStateCallback是设置监听,设置一次之后就会按照callback里的逻辑执行。你这边多次设置是callback里的逻辑在不停变化吗?如果不是,那么尝试一下只设置一次是否还会出现这个问题。
    0
    Comment actions Permalink

Please sign in to leave a comment.