Skip to main content
. 2013 Oct 21;13(10):14133–14160. doi: 10.3390/s131014133

Algorithm 3: Event based KF, Ackermann case

Input : uk,zk,xk−1,Pk−1,LGPS
Output: k,Pk
Data: A, B and H from model (5), Qk,Rk,ANXT,Qx,Hp,Rk,GM,Pk,p
Initialization: x0,P0
for current time k do
 Prediction Step KF:
k = Ax̂k−1+Buk−1
Pk = APk−1AT+Qk
 Correction Step KF:
Kk=PkHkT(HkPkHkT+Rk)1
k = k + Kk[zkHx̂k]
Pk = (IKk HK)Pk
 Pose estimation using (2)
 Covariance propagation using (14)
 3 −σ ellipsoid area Aellip using (12)
RA = Aellip/ANXT
if RA > RA,lim And Nsat > Nsat,min then
  Global Correction Step, pose KF
   Kk,KF=Pk,pHpT(HpPk,pHpT+Rk,GM)1
  k,p = k−1,p +Kk,KF(LGPSHpk−1,p)
  Pk,p = (IKk,KF H) Pk,p
end
end