diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-26 16:16:44 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-26 16:16:44 +0200 |
commit | 2d978beefbc010d962034a0f0d588cbf46a063f0 (patch) | |
tree | 60f26b8efc0dc6e59b7881eed8ac69e3ba383854 /src/modules/ekf_att_pos_estimator/estimator.cpp | |
parent | 0d50b3ea866a9ca0b9271b8c861f1d9e2a61a24a (diff) | |
download | px4-firmware-2d978beefbc010d962034a0f0d588cbf46a063f0.tar.gz px4-firmware-2d978beefbc010d962034a0f0d588cbf46a063f0.tar.bz2 px4-firmware-2d978beefbc010d962034a0f0d588cbf46a063f0.zip |
Compile fixes
Diffstat (limited to 'src/modules/ekf_att_pos_estimator/estimator.cpp')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/estimator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator.cpp b/src/modules/ekf_att_pos_estimator/estimator.cpp index 6eceb21f8..ffebcd477 100644 --- a/src/modules/ekf_att_pos_estimator/estimator.cpp +++ b/src/modules/ekf_att_pos_estimator/estimator.cpp @@ -2307,7 +2307,7 @@ bool AttPosEKF::StatesNaN(struct ekf_status_report *err_report) { if (!isfinite(states[i])) { err_report->statesNaN = true; - ekf_debug("states NaN: i: %u val: %f", i, states[i]); + ekf_debug("states NaN: i: %u val: %f", i, (double)states[i]); err = true; goto out; } // state matrix |