From 29abf6db39dbf337d27c7dd85669934971444fef Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 24 Mar 2014 10:13:22 +0100 Subject: [PATCH] Fixed missing increment across states --- src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp | 1 + 1 file changed, 1 insertion(+) 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 1d57f705a8..c9d75bce49 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) {