Skip to main content
. 2022 May 11;22(10):3672. doi: 10.3390/s22103672
Algorithm 2 Landmark estimation algorithm.
  • Initialisation

  • while Robot is moving do

  •     dataobsObservation

  •     datamovOdometry

  •     if Landmark detected then

  •         while Landmark list empty do

  •            if New landmark detected then

  •                Add to the map the new location

  •            end if

  •            if Old landmark detected then

  •                Load into the state vector the old location

  •                Update system LPV matrices (22) )

  •                LPV-KF xk,uk

  •                LPV-KF xk+1

  •                Store new estimation

  •            end if

  •         end while

  •         if No landmark detected then

  •            xk=xk[1:6]

  •            LPV-KF xk,uk

  •            LPV-KF xk+1

  •         end if

  •     end if

  •     Update robot position, and wait until next movement

  • end while