mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 08:01:36 +08:00
Fixed missing increment across states
This commit is contained in:
@@ -758,6 +758,7 @@ FixedwingEstimator::task_main()
|
|||||||
while ((i < ekf_n_states) && (i < max_states)) {
|
while ((i < ekf_n_states) && (i < max_states)) {
|
||||||
|
|
||||||
rep.states[i] = ekf_report.states[i];
|
rep.states[i] = ekf_report.states[i];
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_estimator_status_pub > 0) {
|
if (_estimator_status_pub > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user