b
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user