diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-19 15:14:13 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-19 15:14:13 +0200 |
commit | 0b85c41cd19486e829d48cf9e604fbc25b9e52a6 (patch) | |
tree | e28f8469b994f5cc4d3c72c1310cb350e62079af | |
parent | 2e384234268a4fcf002998716d9f05d2322c1adc (diff) | |
parent | 63dae04c22009512abe9a0450480698de2bba9db (diff) | |
download | px4-firmware-0b85c41cd19486e829d48cf9e604fbc25b9e52a6.tar.gz px4-firmware-0b85c41cd19486e829d48cf9e604fbc25b9e52a6.tar.bz2 px4-firmware-0b85c41cd19486e829d48cf9e604fbc25b9e52a6.zip |
Merge pull request #820 from PX4/filter_nan_guard
pauls estimator: Added NaN guard before publishing
-rw-r--r-- | src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp b/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp index 840cd585e..8ea611802 100644 --- a/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp +++ b/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp @@ -959,7 +959,7 @@ FixedwingEstimator::task_main() } // Publish results - if (_initialized) { + if (_initialized && (check == OK)) { |