添加健康

This commit is contained in:
hm
2020-10-08 17:32:13 +08:00
parent 1944dac45a
commit 73ac013b67
8 changed files with 109 additions and 5 deletions
+2 -1
View File
@@ -86,7 +86,7 @@ void ServoSystem::setBUMState(mavlink_bmustate_t *t)
{
ui->label_temp->setText(QString::number(t->BAT1_hi_temp_degC) + "");
ui->label_onBoard_28V_Voltage->setText(QString::number(t->BAT1_group_voltage_mv));
ui->label_onBoard_28V_Voltage->setText(QString::number(t->BAT1_group_voltage_mv * 0.001) + "V");
ui->label_onBoard_28V_Current->setText(QString::number(t->BAT1_group_current_dA));
ui->label_onBoard_56V_Voltage->setText(QString::number(t->BAT2_group_voltage_mv));
@@ -98,5 +98,6 @@ void ServoSystem::setBUMState(mavlink_bmustate_t *t)
}