ekf2: fix sideslip fusion sign

This commit is contained in:
bresch
2022-10-12 16:05:49 +02:00
committed by Mathieu Bresciani
parent 53865118fb
commit bdd043f27f
2 changed files with 3 additions and 3 deletions
@@ -126,7 +126,7 @@ def compute_sideslip_innov_and_innov_var(
sideslip_pred = predict_sideslip(state, epsilon);
innov = 0.0 - sideslip_pred
innov = sideslip_pred - 0.0
H = sf.V1(sideslip_pred).jacobian(state)
innov_var = (H * P * H.T + R)[0,0]