航点突然不行
This commit is contained in:
@@ -4,7 +4,7 @@ ParameterProcess::ParameterProcess(QObject *parent) : QObject(parent)
|
||||
{
|
||||
setRunFrq(1000);
|
||||
|
||||
paramInspect = new ParameterInspector();
|
||||
/* paramInspect = new ParameterInspector();
|
||||
|
||||
|
||||
qRegisterMetaType<uint8_t>("uint8_t");
|
||||
@@ -22,7 +22,7 @@ ParameterProcess::ParameterProcess(QObject *parent) : QObject(parent)
|
||||
|
||||
//隐藏
|
||||
paramInspect->hide();
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
void ParameterProcess::setRunFrq(uint32_t frq)
|
||||
@@ -171,7 +171,10 @@ void ParameterProcess::Parse(mavlink_message_t msg)
|
||||
}break;
|
||||
case MAVLINK_MSG_ID_PARAM_VALUE:{//
|
||||
mavlink_msg_param_value_decode(&msg,¶m_value);
|
||||
paramInspect->appendParameter(msg);//发送的时候需要连同当前的sysid 和 compid也发送下去
|
||||
//paramInspect->appendParameter(msg);//发送的时候需要连同当前的sysid 和 compid也发送下去
|
||||
|
||||
emit RecieveValue(msg);
|
||||
|
||||
status.recieve.isWaitingforValue = false;
|
||||
status.transmit.isWaitingforValue = false;
|
||||
//qDebug() << "param_value.param_index" << param_value.param_index;
|
||||
|
||||
Reference in New Issue
Block a user