mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 11:13:34 +08:00
ekf2: refactor wind reset functions
This commit is contained in:
committed by
Mathieu Bresciani
parent
456dfcb4b9
commit
d0f89f7fff
@@ -140,8 +140,7 @@ void Ekf::fuseSideslip()
|
||||
const char *action_string = nullptr;
|
||||
|
||||
if (update_wind_only) {
|
||||
resetWindStates();
|
||||
resetWindCovariance();
|
||||
resetWind();
|
||||
action_string = "wind";
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user