diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-25 12:50:59 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-25 12:50:59 -0700 |
commit | 5bf7d5774c07ed7e9d2e83d623abc7bab6422348 (patch) | |
tree | 828c1134cda0802cc97741e3e19833665832d45f /src | |
parent | 277a16873ba2c353f106275064adde6d434a3946 (diff) | |
parent | 87334a987a5b571f6cc3d962df1194584de4fd7f (diff) | |
download | px4-firmware-5bf7d5774c07ed7e9d2e83d623abc7bab6422348.tar.gz px4-firmware-5bf7d5774c07ed7e9d2e83d623abc7bab6422348.tar.bz2 px4-firmware-5bf7d5774c07ed7e9d2e83d623abc7bab6422348.zip |
Merge pull request #1226 from PX4/filter_mode
Return 0 for a non-reset - tested 40 mins in flight.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/estimator_23states.cpp | 2 |
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 |