Skip to main content
. 2022 Dec 1;22(23):9362. doi: 10.3390/s22239362
Algorithm 1: IPS adaptive outlier suppression algorithm
 Input: Threshold Hhead; Hposition; Current IPS Positions TMnow; Current VO position TVOnow
 Step 1: Calculate the IPS positional change ΔTM=TMlast1TMnow, Calculate the VO positional change ΔTVO=TVOlast1TOnow.
 Step 2: Update the previous moment’s pose data with the current pose data TMlast, TVOlast.
 Step 3: IPS pose change ΔRM and displacement change ΔtM are extracted from the change matrix ΔTM.
 Step 4: VO pose change ΔRVO and displacement change ΔtVO are extracted from the change matrix ΔTVO.
 Step 5: Substitute ΔRM, ΔRVO, ΔtM, ΔtVO into the equation S=i=0mj=0nAijBij2 respectively The error of change of heading angle eR and the error of change of displacement et.
 Step 6: if etHpositioneRHhead.
 Step 7: Add the current IPS pose TMnow to the pose map.
 Step 8; else.
 Step 9: The current IPS pose does not join TMnow.