ekf2: refactor wind reset functions

This commit is contained in:
bresch
2021-10-26 10:18:56 +02:00
committed by Mathieu Bresciani
parent 456dfcb4b9
commit d0f89f7fff
6 changed files with 69 additions and 62 deletions
+1 -2
View File
@@ -140,8 +140,7 @@ void Ekf::fuseSideslip()
const char *action_string = nullptr;
if (update_wind_only) {
resetWindStates();
resetWindCovariance();
resetWind();
action_string = "wind";
} else {