diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-09 17:06:06 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-09 17:06:06 +0200 |
commit | 63dae04c22009512abe9a0450480698de2bba9db (patch) | |
tree | b8a3b5ab513a90b04a9de44e3e8b212025311cb4 /src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp | |
parent | 8e0e0c164a11b680594bf447671c208955282564 (diff) | |
download | px4-firmware-63dae04c22009512abe9a0450480698de2bba9db.tar.gz px4-firmware-63dae04c22009512abe9a0450480698de2bba9db.tar.bz2 px4-firmware-63dae04c22009512abe9a0450480698de2bba9db.zip |
pauls estimator: Added NaN guard before publishing
Diffstat (limited to 'src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp')
-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)) { |