Fill error report

This commit is contained in:
Lorenz Meier 2014-06-07 20:16:17 +02:00
parent f4075b5623
commit 33f98abf80
1 changed files with 1 additions and 1 deletions

View File

@ -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