diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-01 15:35:01 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-06-01 15:35:01 +0200 |
commit | 50342f96613d6a6d428b8b65a572c93696bd720f (patch) | |
tree | 0ceabf577f899eaf3242be7c9cc2eab93e2c9c03 /src/modules/ekf_att_pos_estimator/estimator.cpp | |
parent | ff4aec6588d6452812131b9275069ac2933543ff (diff) | |
download | px4-firmware-50342f96613d6a6d428b8b65a572c93696bd720f.tar.gz px4-firmware-50342f96613d6a6d428b8b65a572c93696bd720f.tar.bz2 px4-firmware-50342f96613d6a6d428b8b65a572c93696bd720f.zip |
att / pos estimator: Publishing wind estimate
Diffstat (limited to 'src/modules/ekf_att_pos_estimator/estimator.cpp')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/estimator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/ekf_att_pos_estimator/estimator.cpp b/src/modules/ekf_att_pos_estimator/estimator.cpp index 5db1adbb3..1320b4668 100644 --- a/src/modules/ekf_att_pos_estimator/estimator.cpp +++ b/src/modules/ekf_att_pos_estimator/estimator.cpp @@ -2042,10 +2042,10 @@ float AttPosEKF::ConstrainFloat(float val, float min, float max) float ret; if (val > max) { ret = max; - ekf_debug("> max: %8.4f, val: %8.4f", max, val); + ekf_debug("> max: %8.4f, val: %8.4f", (double)max, (double)val); } else if (val < min) { ret = min; - ekf_debug("< min: %8.4f, val: %8.4f", min, val); + ekf_debug("< min: %8.4f, val: %8.4f", (double)min, (double)val); } else { ret = val; } |