aboutsummaryrefslogtreecommitdiff
path: root/src/modules/ekf_att_pos_estimator
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-04-30 08:52:37 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-04-30 08:52:37 +0200
commitbe1f39e3851036e43be1bea0fa09096691559a0f (patch)
tree0bcfdf71164e1c032e82eb5da0f29b74a3cf389d /src/modules/ekf_att_pos_estimator
parente2af77123fb14e9e19d1aa9e02f04b62a342c724 (diff)
downloadpx4-firmware-be1f39e3851036e43be1bea0fa09096691559a0f.tar.gz
px4-firmware-be1f39e3851036e43be1bea0fa09096691559a0f.tar.bz2
px4-firmware-be1f39e3851036e43be1bea0fa09096691559a0f.zip
ekf Print declination on init
Diffstat (limited to 'src/modules/ekf_att_pos_estimator')
-rw-r--r--src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp b/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp
index fb019a354..b87338282 100644
--- a/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp
+++ b/src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp
@@ -1013,7 +1013,7 @@ FixedwingEstimator::task_main()
mavlink_log_info(_mavlink_fd, "[ekf] ref: LA %.4f,LO %.4f,ALT %.2f", lat, lon, (double)gps_alt);
warnx("HOME/REF: LA %8.4f,LO %8.4f,ALT %8.2f V: %8.4f %8.4f %8.4f", lat, lon, (double)gps_alt,
(double)_ekf->velNED[0], (double)_ekf->velNED[1], (double)_ekf->velNED[2]);
- warnx("GPS: eph: %8.4f, epv: %8.4f", (double)_gps.eph_m, (double)_gps.epv_m);
+ warnx("GPS: eph: %8.4f, epv: %8.4f, declination: %8.4f", (double)_gps.eph_m, (double)_gps.epv_m, (double)math::degrees(declination));
_gps_initialized = true;