MSDK:执行航点任务中 我stop航点任务成功后 然后让飞机返航充电 充好电后 从上次执行的最后一个航点开始 重新加载航点任...

Completed

Comments

10 comments

  • DJI Developer Support
    你使用得是什么机型呢?
    0
    Comment actions Permalink
  • Amy

    精灵4 pro V2.0

    0
    Comment actions Permalink
  • DJI Developer Support
    你是重新调用哪个函数报的这个错呢?
    0
    Comment actions Permalink
  • Amy

    重新loadmission 失败 报的错

    是不是需要清除原有航点任务?谢谢!

    代码如下:

     

     NSError *error=[self.waypointMission checkParameters];

        if(error!=nil){

            return;

        }

       //加载航点任务

        error=[[self getWaypointMissionOperator] loadMission:self.waypointMission];

       

        if(error!=nil){

             NSLog(@"loadMission error: %@", error.localizedDescription);

             [self showAlertViewWithTitle:@"航点任务" withMessage:@"航点任务加载失败"];

        }else {

              [self showAlertViewWithTitle:@"航点任务" withMessage:@"航点任务加载成功"];

        }

    0
    Comment actions Permalink
  • DJI Developer Support
    不需要覆盖,一般来说你降落后只需要重新load, upload然后start就可以了,你的代码里好几个函数,是哪个函数报告不支持的?最好拍个复现视频给我会更直观一些。 Link:https://pan-sec.djicorp.com/s/45s23nKBg2dXJzo dji123
    0
    Comment actions Permalink
  • Amy

    您好!视频已经上传 谢谢!

    0
    Comment actions Permalink
  • DJI Developer Support
    ![](https://djisdksupport.zendesk.com/attachments/token/kJcwtsa0z4XZpfPfXkgOs62ua/?name=image.png) 有一点还挺奇怪的,我这边看到你设备都断开连接了,你点击Load应该会无效吧。会不会是因为断开连接了所以这样显示?
    0
    Comment actions Permalink
  • Amy

    可能是因为bridge app 关闭 致使设备断开链接?

    0
    Comment actions Permalink
  • DJI Developer Support
    我们在mavic 2 pro上测试了航线中断之后返航再重新上传,并没有出现类似的问题。您重新上传的时候无人机是处于什么状态呢?我们是建议当前状态为readytoupload的时候再上传航线。 测试视频:https://pan-sec.djicorp.com/s/9ZHMZ6PEK4mmczP 密码:dji123
    0
    Comment actions Permalink
  • Amy

    你好!飞机返航时 下降到0.3米 在我的航点任务的app里看到飞机状态是 landing 下降高度就停在0.3米。

    然后我到dji go 4 里滑动确认着陆后 飞机才落地。 但我再返回到我的app 状态仍然是landing 所有的button都不能点击了。所以就不能重新上传航点任务。(我的航点任务app和dji go 4 都安装在我的ipad里啦)

    请问是否可以不需要确认着陆 飞机自动着陆呢?谢谢!

    0
    Comment actions Permalink

Please sign in to leave a comment.