From c1f141569607eb95e1850a13a9ecb5492c7919e4 Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Tue, 2 Mar 2021 19:55:21 +1100 Subject: [PATCH] EKF: Add usage warning comment --- EKF/estimator_interface.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EKF/estimator_interface.h b/EKF/estimator_interface.h index 2886c338e6..843674d5ca 100644 --- a/EKF/estimator_interface.h +++ b/EKF/estimator_interface.h @@ -389,6 +389,8 @@ protected: virtual float compensateBaroForDynamicPressure(const float baro_alt_uncompensated) const = 0; + // these are used to record single frame events for external monitoring and should NOT be used for + // state logic becasue they will be cleared externally after being read. warning_event_status_u _warning_events{}; information_event_status_u _information_events{};