Skip to content

Commit

Permalink
recompute R after iters in IEKF
Browse files Browse the repository at this point in the history
  • Loading branch information
PDeco committed Jul 17, 2023
1 parent 91d27a0 commit f3672ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pynav/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ def correct(

# Re-evaluate the jacobians at our latest operating point
G = np.atleast_2d(y.model.jacobian(x_op_jac))
R = np.atleast_2d(y.model.covariance(x_op_jac))
e = x_op.minus(x.state).reshape((-1, 1))
J = x_op.plus_jacobian(e)
P = J @ x.covariance @ J.T
Expand Down

0 comments on commit f3672ad

Please sign in to comment.