make version 1.0
This commit is contained in:
@@ -60,7 +60,7 @@ void commandprocess::process()//线程函数
|
||||
while (running_flag)
|
||||
{
|
||||
count ++;
|
||||
QThread::msleep(1000/running_frq);
|
||||
QThread::msleep(1000.0/running_frq);
|
||||
|
||||
switch(status.m_Mode)
|
||||
{
|
||||
@@ -143,7 +143,7 @@ void commandprocess::WriteCmd_long(float param1, float param2, float param3, fl
|
||||
//开启线程开始传输
|
||||
status.m_Mode = TransmitMode;//发送模式
|
||||
status.transmit.type = 1;
|
||||
//start();//开启线程
|
||||
start();//开启线程
|
||||
}
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ void commandprocess::Parse(mavlink_message_t msg)
|
||||
//break;//如果目标系统不是自己,那么就抛弃该指令
|
||||
}
|
||||
|
||||
qDebug() << "command_ack.result" << command_ack.result;
|
||||
//qDebug() << "command_ack.result" << command_ack.result;
|
||||
|
||||
if(command_ack.result == MAV_RESULT_ACCEPTED)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user