From c6d3f07b5f7ae03e466e2af67e0f199bf84298f6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 28 Jul 2016 12:39:07 +1000 Subject: [PATCH] AP_RPM: provide an RPM quality in SITL --- libraries/AP_RPM/RPM_SITL.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_RPM/RPM_SITL.cpp b/libraries/AP_RPM/RPM_SITL.cpp index e002cdce01..cbd09cc010 100644 --- a/libraries/AP_RPM/RPM_SITL.cpp +++ b/libraries/AP_RPM/RPM_SITL.cpp @@ -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(); }