This commit is contained in:
hm
2020-11-12 22:02:58 +08:00
parent e838d5bf63
commit 32e83c5fe5
8 changed files with 202 additions and 1071 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
#include "commandprocess.h"
#include "commandprocess.h"
//留出一个接口给界面去注册指令
@@ -170,6 +170,12 @@ void commandprocess::Parse(mavlink_message_t msg)
//qDebug() << "command_ack.result" << command_ack.result;
qDebug() << "recieve cmd"
<< command_ack.target_system
<< command_ack.result
<< cmd_long.command
<< command_ack.command;
if(command_ack.result == MAV_RESULT_ACCEPTED)
{
if(cmd_long.command != command_ack.command)