Skip to content

Commit

Permalink
Merge pull request #4 from i-aki-y/fix-kf-accel
Browse files Browse the repository at this point in the history
Fix accel term in position update
  • Loading branch information
rtklibexplorer authored Jul 20, 2022
2 parents 9d3fc0a + f368837 commit 84de0ba
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 84de0ba

Please sign in to comment.