aboutsummaryrefslogtreecommitdiff
path: root/src/modules/ekf_att_pos_estimator
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-04-26 15:19:21 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-04-26 15:19:21 +0200
commit5ad3ff95bf0ebf67c2054f02ee534ef4c8e03b0a (patch)
tree301db980a61f6536339b6a1d699fc43b57aaa84b /src/modules/ekf_att_pos_estimator
parentad1be765bf36a6068fda25e3c62c92e275aebc6b (diff)
parent4a949a9565b08bac24130b36bd677d9d08b7cdc8 (diff)
downloadpx4-firmware-5ad3ff95bf0ebf67c2054f02ee534ef4c8e03b0a.tar.gz
px4-firmware-5ad3ff95bf0ebf67c2054f02ee534ef4c8e03b0a.tar.bz2
px4-firmware-5ad3ff95bf0ebf67c2054f02ee534ef4c8e03b0a.zip
Merged master into ekf_params
Diffstat (limited to 'src/modules/ekf_att_pos_estimator')
-rw-r--r--src/modules/ekf_att_pos_estimator/fw_att_pos_estimator_main.cpp8
1 files changed, 4 insertions, 4 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 8031a311e..ad8c1b4c0 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
@@ -837,21 +837,21 @@ FixedwingEstimator::task_main()
case 1:
{
const char* str = "NaN in states, resetting";
- warnx("%s%s", ekfname, str);
+ warnx("%s", str);
mavlink_log_critical(_mavlink_fd, "%s%s", ekfname, str);
break;
}
case 2:
{
const char* str = "stale IMU data, resetting";
- warnx("%s%s", ekfname, str);
+ warnx("%s", str);
mavlink_log_critical(_mavlink_fd, "%s%s", ekfname, str);
break;
}
case 3:
{
const char* str = "switching to dynamic state";
- warnx("%s%s", ekfname, str);
+ warnx("%s", str);
mavlink_log_critical(_mavlink_fd, "%s%s", ekfname, str);
break;
}
@@ -859,7 +859,7 @@ FixedwingEstimator::task_main()
default:
{
const char* str = "unknown reset condition";
- warnx("%s%s", ekfname, str);
+ warnx("%s", str);
mavlink_log_critical(_mavlink_fd, "%s%s", ekfname, str);
}
}