Skip to content

Commit

Permalink
Fix accel term in position update
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyuki ishikawa committed Jul 20, 2022
1 parent 9d3fc0a commit f368837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtkpos.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ def udpos(nav, sol):
F[0:6, 3:9] += np.eye(6) * tt
# include accel terms if filter is converged
if posvar < nav.thresar1:
F[3:6, 6:9] += np.eye(3) * tt**2 / 2
F[0:3, 6:9] += np.eye(3) * tt**2 / 2
else:
trace(3, 'pos var too high for accel term: %.4f\n' % posvar)
# x=F*x, P=F*P*F
Expand Down

0 comments on commit f368837

Please sign in to comment.