从参数读取舵机参数状态

This commit is contained in:
hm
2022-03-10 11:22:25 +08:00
parent f64dc7b7a5
commit f694821dca
14 changed files with 224 additions and 31 deletions
+2
View File
@@ -342,11 +342,13 @@ void ServoSystem::setServoState(mavlink_servo_output_raw_t *t)
void ServoSystem::setAPversion(QString ver)
{
ui->label_APVer->setText(ver);
emit showMessage(tr("飞控软件版本信息:%1").arg(ver));
}
void ServoSystem::setHILMode(QString mode)
{
ui->label_HILMode->setText(mode);
emit showMessage((mode>0)?("进入HIL仿真"):("退出HIL仿真"));
}