5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-05 23:48:31 -04:00

AP_RPM: provide an RPM quality in SITL

This commit is contained in:
Andrew Tridgell 2016-07-28 12:39:07 +10:00
parent 4ca1b58408
commit c6d3f07b5f

View File

@ -41,6 +41,7 @@ void AP_RPM_SITL::update(void)
} else {
state.rate_rpm = sitl->state.rpm2;
}
state.signal_quality = 0.5f;
state.last_reading_ms = AP_HAL::millis();
}