Skip to content

Commit

Permalink
Update KalmanForWaveAlt.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 11, 2024
1 parent 6ef7121 commit e3b3093
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bbn_wave_freq_m5atomS3/KalmanForWaveAlt.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
a = - (2 * pi * f)^2 * y
let
k = - (2 * pi * f)^2
k_hat = - (2 * pi * f)^2
Process model:
Expand All @@ -35,7 +35,7 @@
v(k) = v(k-1) + a(k-1)*T - a_hat*T
acceleration (from trochoidal wave model):
a(k) = k * y(k-1)
a(k) = k_hat * y(k-1)
accelerometer bias:
a_hat(k) = a_hat(k-1)
Expand Down Expand Up @@ -64,10 +64,10 @@
1,
0 ]
F = [[ 1, T, 1/2*T^2, -1/2*T^2 ],
[ 0, 1, T, -T ],
[ k, 0, 0, 0 ],
[ 0, 0, 0, 1 ]]
F = [[ 1, T, 1/2*T^2, -1/2*T^2 ],
[ 0, 1, T, -T ],
[ k_hat, 0, 0, 0 ],
[ 0, 0, 0, 1 ]]
*/

Expand Down

0 comments on commit e3b3093

Please sign in to comment.