We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe81387 commit 8561f52Copy full SHA for 8561f52
libraries/AP_NavEKF3/AP_NavEKF3_Control.cpp
@@ -718,14 +718,14 @@ void NavEKF3_core::runYawEstimatorCorrection()
718
} else {
719
EKFGSF_yaw_valid_count = 0;
720
}
721
- } else {
722
- EKFGSF_yaw_valid_count = 0;
723
724
725
// action an external reset request
726
if (EKFGSF_yaw_reset_request_ms > 0 && imuSampleTime_ms - EKFGSF_yaw_reset_request_ms < YAW_RESET_TO_GSF_TIMEOUT_MS) {
727
EKFGSF_resetMainFilterYaw();
728
+ } else {
+ EKFGSF_yaw_valid_count = 0;
729
730
731
0 commit comments