aboutsummaryrefslogtreecommitdiff
path: root/src/modules/ekf_att_pos_estimator
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-07-24 17:42:45 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-07-24 17:42:45 +0200
commit87334a987a5b571f6cc3d962df1194584de4fd7f (patch)
tree9672a86eb5b34094f9d92912015dd6b52a6ab4a0 /src/modules/ekf_att_pos_estimator
parent1fdc666bb0be393f048c85b1827494beedff0426 (diff)
downloadpx4-firmware-87334a987a5b571f6cc3d962df1194584de4fd7f.tar.gz
px4-firmware-87334a987a5b571f6cc3d962df1194584de4fd7f.tar.bz2
px4-firmware-87334a987a5b571f6cc3d962df1194584de4fd7f.zip
Return 0 for a non-reset
Diffstat (limited to 'src/modules/ekf_att_pos_estimator')
-rw-r--r--src/modules/ekf_att_pos_estimator/estimator_23states.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator_23states.cpp b/src/modules/ekf_att_pos_estimator/estimator_23states.cpp
index 768e0be35..3d504d395 100644
--- a/src/modules/ekf_att_pos_estimator/estimator_23states.cpp
+++ b/src/modules/ekf_att_pos_estimator/estimator_23states.cpp
@@ -2773,7 +2773,7 @@ int AttPosEKF::CheckAndBound(struct ekf_status_report *last_error)
ResetHeight();
ResetStoredStates();
- ret = 3;
+ ret = 0;
}
// Reset the filter if gyro offsets are excessive