k可以键盘输入,监视器可以扩开

This commit is contained in:
hm
2020-11-19 15:37:11 +08:00
parent efae22bddc
commit 7471798382
9 changed files with 110 additions and 33 deletions
+3 -2
View File
@@ -144,7 +144,7 @@ void ParameterProcess::WriteCmd(uint8_t m_sysid, uint8_t m_compid ,const char *i
//这个函数类似中断,专门处理接收到的状态
void ParameterProcess::Parse(mavlink_message_t msg)
{
qDebug() << "Parameter" << msg.msgid;
//qDebug() << "Parameter" << msg.msgid;
switch (msg.msgid) {
case MAVLINK_MSG_ID_PARAM_SET:{
@@ -157,7 +157,8 @@ void ParameterProcess::Parse(mavlink_message_t msg)
status.recieve.isWaitingforValue = false;
status.transmit.isWaitingforValue = false;
qDebug() << "param_value" << param_value.param_id << param_value.param_index << param_value.param_type << param_value.param_value;
qDebug() << "param_value" << param_value.param_index << param_value.param_value;
}break;
case MAVLINK_MSG_ID_PARAM_EXT_ACK:{
mavlink_msg_param_ext_ack_decode(&msg,&param_ext_ack);