add ewadme

This commit is contained in:
hm
2020-10-10 15:25:17 +08:00
parent e3c98c6259
commit 44fd672a12
6 changed files with 45 additions and 1 deletions
+30
View File
@@ -59,3 +59,33 @@ void StatusUI::setHealthState(mavlink_sys_status_t *t)
setColor(ui->checkBox_5,((health & 0x0400) > 0)?(((health & 0x0010) > 0)?(state::success):(state::warning)):(state::failure));
setColor(ui->checkBox_6,((health & 0x0800) > 0)?(((health & 0x0020) > 0)?(state::success):(state::warning)):(state::failure));
}
void StatusUI::setAttitude(mavlink_attitude_t *t)
{
}
void StatusUI::setGPS(mavlink_gps_raw_int_t *t)
{
}
void StatusUI::setServo(mavlink_servos_t *t)
{
}
void StatusUI::setBattery(mavlink_battery_status_t *t)
{
}
void StatusUI::setRPM(mavlink_rpm_t *t)
{
}