diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-12 15:52:15 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-12 15:52:15 +0200 |
commit | 3685ec5c975bf5a7f39f726fe07b99f1c26350f8 (patch) | |
tree | 00245b22fee0a28e426303da5d2308f31df2e87a /src/modules/ekf_att_pos_estimator/estimator_23states.cpp | |
parent | 7983e105bf1aa6b8cf13ed49dac36c4f1b3a034f (diff) | |
download | px4-firmware-3685ec5c975bf5a7f39f726fe07b99f1c26350f8.tar.gz px4-firmware-3685ec5c975bf5a7f39f726fe07b99f1c26350f8.tar.bz2 px4-firmware-3685ec5c975bf5a7f39f726fe07b99f1c26350f8.zip |
Loosen velocity threshold to 20 m/s to only catch the really bad instances and let the system live in peace else
Diffstat (limited to 'src/modules/ekf_att_pos_estimator/estimator_23states.cpp')
-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 de3c9d60e..352d9a0ce 100644 --- a/src/modules/ekf_att_pos_estimator/estimator_23states.cpp +++ b/src/modules/ekf_att_pos_estimator/estimator_23states.cpp @@ -2140,7 +2140,7 @@ bool AttPosEKF::VelNEDDiverged() Vector3f delta = current_vel - gps_vel; float delta_len = delta.length(); - return (delta_len > 8.0f); + return (delta_len > 20.0f); } bool AttPosEKF::FilterHealthy() |