Skip to content

Commit f368837

Browse files
author
akiyuki ishikawa
committed
Fix accel term in position update
1 parent 9d3fc0a commit f368837

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rtkpos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def udpos(nav, sol):
701701
F[0:6, 3:9] += np.eye(6) * tt
702702
# include accel terms if filter is converged
703703
if posvar < nav.thresar1:
704-
F[3:6, 6:9] += np.eye(3) * tt**2 / 2
704+
F[0:3, 6:9] += np.eye(3) * tt**2 / 2
705705
else:
706706
trace(3, 'pos var too high for accel term: %.4f\n' % posvar)
707707
# x=F*x, P=F*P*F

0 commit comments

Comments
 (0)