|
|
|
@ -4972,6 +4972,7 @@ void NavEKF::getFilterStatus(nav_filter_status &status) const
@@ -4972,6 +4972,7 @@ void NavEKF::getFilterStatus(nav_filter_status &status) const
|
|
|
|
|
status.flags.takeoff = expectGndEffectTakeoff; // The EKF has been told to expect takeoff and is in a ground effect mitigation mode
|
|
|
|
|
status.flags.touchdown = expectGndEffectTouchdown; // The EKF has been told to detect touchdown and is in a ground effect mitigation mode
|
|
|
|
|
status.flags.using_gps = (imuSampleTime_ms - lastPosPassTime) < 4000; |
|
|
|
|
status.flags.gps_glitching = !gpsAccuracyGood; // The GPS is glitching
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// send an EKF_STATUS message to GCS
|
|
|
|
|