m300无人机,用osdk控制航线任务,已知刚开机起飞时需要连接遥控器并打开app,才能突破距离限制。如果在飞行途...
已完成 m300无人机,用osdk控制航线任务,已知刚开机起飞时需要连接遥控器并打开app,才能突破距离限制。如果在飞行途中与遥控器断联,可以继续受osdk的控制飞行航线并降落。如果在降落后,无人机仍与遥控器断联,则通过osdk的waypointv2接口依然能给无人机下发航线任务,并且航线能自检成功,waypointv2的构造函数会认为已经在执行航线任务,而实际上无人机并没有动作,只有在再次连接遥控器和app后,才能执行waypointv2任务。
请问,怎样才能让m300降落后不需连接遥控器和app就可以再次执行waypointv2任务?
-
[1033458.722]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033458.722]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033458.722]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x0[1033458.722]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033458.722]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:0发送无人机状态内容:{"uavSn":"1ZNBJ8700C0104","type":"route","value":"0","recordTime":"2022-1-9 14:49:26"}[1033459.024]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033459.024]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033459.024]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033459.062]STATUS/2 @ downloadFile, L71: Get liveview right......[1033459.066]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033459.066]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033459.142]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.发送无人机状态 successfully------------------- 指令轮询一遍 success -----------------
[1033459.181]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033459.181]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033459.181]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033459.188]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033459.188]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033459.188]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033459.188]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033459.730]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033459.730]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033459.730]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x0[1033459.730]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033459.730]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:0----------{"result":"success","msg":"获取成功","data":{"id":"346ffab14524413b804cf7260d2f46ad","isNewRecord":false,"uavSn":"1ZNBJ8700C0104","state":"go","recordTime":"2022-01-09 14:49:27"}}-------------------获取到指令: go--------[1033460.824]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033460.824]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033460.824]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x0[1033460.824]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033460.824]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:0[1033461.148]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033461.148]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033461.148]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033461.181]STATUS/2 @ downloadFile, L71: Get liveview right......[1033461.184]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033461.184]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033461.263]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033461.319]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033461.319]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033461.319]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033461.327]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033461.327]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033461.327]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033461.327]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033461.922]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033461.922]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033461.922]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x0[1033461.922]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033461.922]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:1------收到执行航线任务指令------[1033462.183]STATUS/2 @ updateMissionEvent, L67: MissionEventPushAck->event ID :0x0[1033462.183]STATUS/2 @ startWaypointMission, L497: Start waypoint v2 mission successfully![1033462.882]STATUS/2 @ updateMissionEvent, L67: MissionEventPushAck->event ID :0x0[1033462.923]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033462.923]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033462.923]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x1[1033462.923]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033462.923]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:1[1033463.270]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033463.270]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033463.270]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033463.305]STATUS/2 @ downloadFile, L71: Get liveview right......[1033463.307]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033463.307]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033463.383]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033463.436]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033463.436]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033463.436]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033463.444]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033463.444]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033463.444]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033463.444]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033463.610]STATUS/2 @ updateMissionEvent, L67: MissionEventPushAck->event ID :0x0[1033463.926]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033463.926]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033463.926]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x1[1033463.926]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033463.926]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:4[1033465.022]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033465.022]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033465.022]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x1[1033465.022]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033465.022]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:2[1033465.393]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033465.394]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033465.394]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033465.425]STATUS/2 @ downloadFile, L71: Get liveview right......[1033465.427]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033465.427]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033465.503]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033465.540]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033465.540]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033465.540]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033465.547]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033465.547]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033465.547]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033465.547]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033466.024]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033466.025]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033466.025]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x1[1033466.025]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033466.025]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:6[1033467.121]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033467.121]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033467.121]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033467.121]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033467.121]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:4[1033467.510]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033467.510]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033467.510]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033467.544]STATUS/2 @ downloadFile, L71: Get liveview right......[1033467.546]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033467.546]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033467.635]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033467.680]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033467.680]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033467.680]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033467.688]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033467.688]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033467.688]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033467.688]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033468.122]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033468.122]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033468.122]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033468.122]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033468.122]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:10[1033469.122]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033469.122]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033469.122]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033469.122]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033469.123]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:10[1033469.633]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033469.633]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033469.633]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033469.661]STATUS/2 @ downloadFile, L71: Get liveview right......[1033469.664]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033469.664]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033469.744]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033469.783]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033469.783]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033469.783]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033469.787]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033469.788]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033469.788]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033469.788]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033470.122]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033470.122]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033470.122]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033470.122]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033470.122]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:11[1033471.130]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033471.130]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033471.130]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033471.130]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033471.130]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:20[1033471.752]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033471.752]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033471.752]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033471.783]STATUS/2 @ downloadFile, L71: Get liveview right......[1033471.785]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033471.785]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033471.869]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033471.915]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033471.915]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033471.915]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033471.922]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033471.922]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033471.922]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033471.922]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033472.223]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033472.223]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033472.223]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033472.223]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033472.223]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:20[1033473.322]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033473.322]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033473.322]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033473.322]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033473.322]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:141[1033473.878]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033473.878]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033473.878]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033473.902]STATUS/2 @ downloadFile, L71: Get liveview right......[1033473.903]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033473.903]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033473.964]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033474.011]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033474.011]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033474.011]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033474.019]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033474.019]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033474.019]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033474.019]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033474.323]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033474.323]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033474.324]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033474.324]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033474.324]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:209[1033475.323]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033475.323]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033475.323]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033475.323]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033475.323]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:73[1033475.966]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033475.966]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033475.966]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033476.006]STATUS/2 @ downloadFile, L71: Get liveview right......[1033476.008]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033476.008]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033476.082]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033476.122]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033476.122]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033476.122]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033476.130]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033476.130]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033476.130]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033476.130]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033476.325]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033476.325]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033476.326]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033476.326]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033476.326]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:24[1033477.423]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033477.423]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033477.423]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x2[1033477.423]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033477.423]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:31[1033477.506]STATUS/2 @ updateMissionEvent, L67: MissionEventPushAck->event ID :0x10[1033477.506]STATUS/2 @ updateMissionEvent, L104: current waypointIndex:0[1033478.087]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033478.087]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033478.087]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033478.123]STATUS/2 @ downloadFile, L71: Get liveview right......[1033478.126]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033478.126]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033478.202]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033478.222]STATUS/2 @ updateMissionEvent, L67: MissionEventPushAck->event ID :0x10[1033478.222]STATUS/2 @ updateMissionEvent, L104: current waypointIndex:0[1033478.289]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033478.289]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033478.289]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033478.289]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033478.289]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033478.289]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033478.289]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033478.523]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033478.523]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033478.523]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x3[1033478.524]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033478.524]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:16[1033478.941]STATUS/2 @ updateMissionEvent, L67: MissionEventPushAck->event ID :0x10[1033478.941]STATUS/2 @ updateMissionEvent, L104: current waypointIndex:0[1033479.622]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033479.622]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033479.622]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x3[1033479.622]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033479.622]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:12[1033480.207]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033480.207]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033480.207]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033480.251]STATUS/2 @ downloadFile, L71: Get liveview right......[1033480.253]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033480.253]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033480.324]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033480.360]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033480.361]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033480.361]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033480.367]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033480.367]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033480.367]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033480.367]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033480.622]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033480.622]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033480.622]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x3[1033480.622]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033480.622]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:1[1033481.622]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033481.622]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033481.622]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x3[1033481.622]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033481.622]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:13[1033482.189]STATUS/2 @ setGlobalCruiseSpeed, L577: Current cruise speed is: 5.000000 m/s[1033482.334]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033482.334]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033482.334]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033482.362]STATUS/2 @ downloadFile, L71: Get liveview right......[1033482.364]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033482.364]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033482.456]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033482.496]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033482.496]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033482.496]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033482.504]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033482.504]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033482.504]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0[1033482.504]STATUS/1 @ fileListRawDataCB, L855: Finish req filelist task, reset downloadState to be DOWNLOAD_IDLE[1033482.622]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033482.622]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033482.622]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x3[1033482.622]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:0[1033482.622]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:11[1033482.942]STATUS/2 @ updateMissionEvent, L67: MissionEventPushAck->event ID :0x10[1033482.942]STATUS/2 @ updateMissionEvent, L104: current waypointIndex:1[1033483.200]STATUS/2 @ getGlobalCruiseSpeed, L565: Current cruise speed is: 5.000000 m/s[1033483.622]STATUS/2 @ updateMissionState, L42: missionStatePushAck->commonDataVersion:10[1033483.622]STATUS/2 @ updateMissionState, L43: missionStatePushAck->commonDataLen:6[1033483.622]STATUS/2 @ updateMissionState, L44: missionStatePushAck->data.state:0x3[1033483.622]STATUS/2 @ updateMissionState, L45: missionStatePushAck->data.curWaypointIndex:1[1033483.622]STATUS/2 @ updateMissionState, L46: missionStatePushAck->data.velocity:14[1033483.642]STATUS/2 @ updateMissionEvent, L67: MissionEventPushAck->event ID :0x10[1033483.642]STATUS/2 @ updateMissionEvent, L104: current waypointIndex:1航线任务开始执行 success发送无人机状态内容:{"uavSn":"1ZNBJ8700C0104","type":"fly","value":"0","recordTime":"2022-1-9 14:49:51"}[1033484.362]STATUS/2 @ updateMissionEvent, L67: MissionEventPushAck->event ID :0x10[1033484.362]STATUS/2 @ updateMissionEvent, L104: current waypointIndex:1发送无人机状态 successfully------------------- 指令轮询一遍 success -----------------
[1033484.461]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033484.461]STATUS/2 @ downloadFile, L83: 相机当前照片数 : 0 - 拍照前照片数:0[1033484.461]STATUS/2 @ downloadFile, L67: Play back mode setting......[1033484.482]STATUS/2 @ downloadFile, L71: Get liveview right......[1033484.486]STATUS/1 @ printErrorCodeMsg, L936: Execute successfully.[1033484.486]STATUS/2 @ downloadFile, L75: Try to download file list .......[1033484.567]STATUS/1 @ fileListMonitorTask, L137: OSDK download monitor task created.[1033484.607]STATUS/1 @ OnReceiveDataPack, L908: [First pack] get the first pack[1033484.608]STATUS/1 @ parseFileList, L595: ###data->amount = 0, data->len = 8[1033484.608]STATUS/1 @ SendAbortPack, L958: SendAbortPack[1033484.613]STATUS/2 @ fileListReqCB, L15: [1;32;40m##[Download main camera file list] : ret = 0 [0m[1033484.614]STATUS/2 @ fileListReqCB, L18: file_list.type = 65535[1033484.614]STATUS/2 @ fileListReqCB, L19: file_list.media.size() = 0 -
麻烦把对应时间段的飞机log也导出,发送到邮件dev@dji.com -
请您再看一遍问题的原始描述:“m300无人机,用osdk控制航线任务,已知刚开机起飞时需要连接遥控器并打开app,才能突破距离限制。如果在飞行途中与遥控器断联,可以继续受osdk的控制飞行航线并降落。如果在降落后,无人机仍与遥控器断联,则通过osdk的waypointv2接口依然能给无人机下发航线任务,并且航线能自检成功,waypointv2的构造函数会认为已经在执行航线任务,而实际上无人机并没有动作,只有在再次连接遥控器和app后,才能执行waypointv2任务。 请问,怎样才能让m300降落后不需连接遥控器和app就可以再次执行waypointv2任务?”
如果在刚开机起飞时,没有连接遥控器和app,则会直接报错距离或高度超出限制,但是如果在飞行过程中和遥控器断连,并且没有关机,降落后再次起飞则没有高度和距离的限制了。这一点你们初次回答中也提到了:“M300连接遥控器和APP成功起飞,降落后如果不掉电重启再次起飞,可以不需要连接遥控器和APP起飞,如果掉电重启,需要连接遥控器和APP才可以解除飞行区域限制。”
请先登录再写评论。
评论
18 条评论