Browse Source

Return 0 for a non-reset

sbg
Lorenz Meier 11 years ago
parent
commit
87334a987a
  1. 2
      src/modules/ekf_att_pos_estimator/estimator_23states.cpp

2
src/modules/ekf_att_pos_estimator/estimator_23states.cpp

@ -2773,7 +2773,7 @@ int AttPosEKF::CheckAndBound(struct ekf_status_report *last_error)
ResetHeight(); ResetHeight();
ResetStoredStates(); ResetStoredStates();
ret = 3; ret = 0;
} }
// Reset the filter if gyro offsets are excessive // Reset the filter if gyro offsets are excessive

Loading…
Cancel
Save