estimator_aid_source split GNSS pos (3d) -> pos (2d) + hgt

- per estimator air source status only keep a single set of flags and
timestamp that applies to the entire source
This commit is contained in:
Daniel Agar
2022-10-13 11:28:50 -04:00
parent 8a9a091ff3
commit 2de990fd4b
26 changed files with 578 additions and 691 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ void Ekf::controlFakeHgtFusion()
auto &fake_hgt = _aid_src_fake_hgt;
// clear
resetEstimatorAidStatusFlags(fake_hgt);
resetEstimatorAidStatus(fake_hgt);
// If we aren't doing any aiding, fake position measurements at the last known vertical position to constrain drift
const bool fake_hgt_data_ready = isTimedOut(fake_hgt.time_last_fuse, (uint64_t)2e5); // Fuse fake height at a limited rate