Skip to main content
. 2019 Dec 9;19(24):5430. doi: 10.3390/s19245430
Algorithm 3: Improved weighted iterative closest point (ICP)
Input: V-SLAM track pi, GPS track qi, weights on timestamps wiwi0, i=1,,N
Output: Rotation matrix and translation vector that minimises i=1NwiqiRpi+t2
1: Centroids p¯=i=1Nwipi/i=1Nwi, q¯=i=1Nwiqi/i=1Nwi
2: Centred vectors xi=qiq¯, yi=pip¯
3: Covariance matrix S=XWYT, where X and Y have xi and yi as columns, respectively, and W is a diagonal matrix with wi on the diagonal
4: Singular value decomposition S=UΣVT
5: R=UVT and t=q¯Rp¯
6: V-SLAM track after calibration in global coordinates pi=Rpi+t