缓存可能有点问题

This commit is contained in:
hm
2020-08-06 21:58:42 +08:00
parent 6db2b44969
commit 73b0085517
6 changed files with 60 additions and 45 deletions
+4 -4
View File
@@ -2,7 +2,7 @@
ParameterProcess::ParameterProcess(QObject *parent) : QObject(parent)
{
setRunFrq(100);
setRunFrq(200);
/* paramInspect = new ParameterInspector();
@@ -120,7 +120,7 @@ void ParameterProcess::ReadCmd(uint8_t m_sysid, uint8_t m_compid,uint8_t type)
<< "type" << status.recieve.type << endl
<< "start...";
start();//开启线程
//start();//开启线程
}
void ParameterProcess::WriteCmd(uint8_t m_sysid, uint8_t m_compid ,const char *id,uint8_t type,float value)
@@ -156,7 +156,7 @@ void ParameterProcess::WriteCmd(uint8_t m_sysid, uint8_t m_compid ,const char *i
<< "type" << status.recieve.type << endl
<< "start...";
start();//开启线程
//start();//开启线程
}
@@ -204,7 +204,7 @@ void ParameterProcess::Parse(mavlink_message_t msg)
}
//读航线状态机
//读状态机
void ParameterProcess::ReadStateMachine(void)//一整列
{
static uint8_t step = 0;