添加了参数界面显示,尚未调通,需要检查信号和槽

This commit is contained in:
hm
2020-03-20 22:54:20 +08:00
parent cd4f252c6f
commit db54c9ffb4
10 changed files with 526 additions and 4 deletions
+6
View File
@@ -3,6 +3,11 @@
ParameterProcess::ParameterProcess(QObject *parent) : QObject(parent)
{
setRunFrq(1000);
paramInspect = new ParameterInspector();
paramInspect->show();
}
void ParameterProcess::setRunFrq(uint32_t frq)
@@ -110,6 +115,7 @@ void ParameterProcess::ParameterParse(mavlink_message_t msg)
}break;
case MAVLINK_MSG_ID_PARAM_VALUE:{//
mavlink_msg_param_value_decode(&msg,&param_value);
paramInspect->appendParameter(param_value);
status.recieve.isWaitingforValue = false;
status.transmit.isWaitingforValue = false;
qDebug() << "param_value.param_index" << param_value.param_index;