aboutsummaryrefslogtreecommitdiff
path: root/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-06-15 10:56:29 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-06-15 10:56:29 +0200
commiteda926d7d59e217cb7b5b382032c22b69698aadf (patch)
tree2efe65965c9c939eae96f766fd8fecd809908cb8 /src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp
parent4ade5d5ab90e44d2b845e0fcb69f99dda070e7aa (diff)
parentde5c3580b341759bbc4c35bba46d34033e02df10 (diff)
downloadpx4-firmware-eda926d7d59e217cb7b5b382032c22b69698aadf.tar.gz
px4-firmware-eda926d7d59e217cb7b5b382032c22b69698aadf.tar.bz2
px4-firmware-eda926d7d59e217cb7b5b382032c22b69698aadf.zip
Merge remote-tracking branch 'upstream/mtecs_estimator' into navigator_rewrite_estimator
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.cpp14
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 b20b312a2..26a448b6d 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
@@ -1004,6 +1004,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:
{