aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-03-24 10:13:22 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-03-24 10:13:22 +0100
commit29abf6db39dbf337d27c7dd85669934971444fef (patch)
tree3874231fb074bf1e9fc7d1a75cc4423a96189397 /src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
parent58857a548d7895ce01558c40c33be09b5af1a4ae (diff)
downloadpx4-firmware-29abf6db39dbf337d27c7dd85669934971444fef.tar.gz
px4-firmware-29abf6db39dbf337d27c7dd85669934971444fef.tar.bz2
px4-firmware-29abf6db39dbf337d27c7dd85669934971444fef.zip
Fixed missing increment across states
Diffstat (limited to 'src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp')
-rw-r--r--src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp b/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
index 1d57f705a..c9d75bce4 100644
--- a/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
+++ b/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
@@ -758,6 +758,7 @@ FixedwingEstimator::task_main()
while ((i < ekf_n_states) && (i < max_states)) {
rep.states[i] = ekf_report.states[i];
+ i++;
}
if (_estimator_status_pub > 0) {