diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-06-15 10:56:07 +0200 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-06-15 10:56:07 +0200 |
commit | de5c3580b341759bbc4c35bba46d34033e02df10 (patch) | |
tree | 00b312e518c755505be38726f81c5c20697f3f3a /src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp | |
parent | 582a082fb449691493a6e43ea4290dafc5821105 (diff) | |
download | px4-firmware-de5c3580b341759bbc4c35bba46d34033e02df10.tar.gz px4-firmware-de5c3580b341759bbc4c35bba46d34033e02df10.tar.bz2 px4-firmware-de5c3580b341759bbc4c35bba46d34033e02df10.zip |
adding individual warnings for all defined reset conditions
Diffstat (limited to 'src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp index 70c1cddb5..501b7cc1b 100644 --- a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp +++ b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp @@ -997,6 +997,20 @@ FixedwingEstimator::task_main() mavlink_log_info(_mavlink_fd, "%s%s", ekfname, str); break; } + case 5: + { + const char* str = "diverged too far from GPS"; + warnx("%s", str); + mavlink_log_info(_mavlink_fd, "%s%s", ekfname, str); + break; + } + case 6: + { + const char* str = "excessive covariances"; + warnx("%s", str); + mavlink_log_info(_mavlink_fd, "%s%s", ekfname, str); + break; + } default: { |