ekf2: reinit baro height on sensor or calibration change

- handle reset on delayed time horizon
This commit is contained in:
Daniel Agar
2022-12-29 16:37:34 -05:00
parent 0e2df5a152
commit 20a1c73cf0
4 changed files with 9 additions and 11 deletions
+1
View File
@@ -222,6 +222,7 @@ struct magSample {
struct baroSample {
uint64_t time_us{}; ///< timestamp of the measurement (uSec)
float hgt{}; ///< pressure altitude above sea level (m)
bool reset{false};
};
struct rangeSample {