gnss_checks: always run strict checks on ground

With the goal to never take off if the GNSS solution is not fullfilling the configured requirements still not stopping to use it in case it degrades mid air.
This commit is contained in:
Matthias Grob 2026-01-26 16:28:39 +01:00
parent 61c990c5ee
commit f9cdd095b8

View File

@ -49,6 +49,11 @@ bool GnssChecks::run(const gnssSample &gnss, uint64_t time_us)
bool passed = false;
// Run strict checks while not flying yet
if (!_control_status.flags.in_air) {
_initial_checks_passed = false;
}
if (_initial_checks_passed) {
if (runSimplifiedChecks(gnss)) {
_time_last_pass_us = time_us;