mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 07:47:35 +08:00
Do not update output filter a second time after reset to flow.
This commit is contained in:
committed by
Mathieu Bresciani
parent
77b11129fa
commit
960b80ee71
@@ -432,9 +432,6 @@ void Ekf::controlOpticalFlowFusion()
|
|||||||
// but _flow_compensated_XY_rad is this zero as it gets updated for the first time below here.
|
// but _flow_compensated_XY_rad is this zero as it gets updated for the first time below here.
|
||||||
resetVelocity();
|
resetVelocity();
|
||||||
resetHorizontalPosition();
|
resetHorizontalPosition();
|
||||||
|
|
||||||
// align the output observer to the EKF states
|
|
||||||
alignOutputFilter();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user