缓存可能有点问题
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user