mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 03:23:34 +08:00
Fill error report
This commit is contained in:
@@ -2266,7 +2266,7 @@ int AttPosEKF::CheckAndBound()
|
||||
|
||||
// Reset the filter if gyro offsets are excessive
|
||||
if (fabs(states[10]) > 1.0f || fabsf(states[11]) > 1.0f || fabsf(states[12]) > 1.0f) {
|
||||
|
||||
FillErrorReport(&last_ekf_error);
|
||||
InitializeDynamic(velNED, magDeclination);
|
||||
|
||||
// that's all we can do here, return
|
||||
|
||||
Reference in New Issue
Block a user