According to the simulation results, the maximum error of the two algorithms is in the Y-axis direction. Ekf-slam takes about 19 minutes and the maximum error is about 1.57m, while UKF-SLAM takes about 21 minutes and the maximum error is about 0.8m.During the operation of these two algorithms, due to the continuous accumulation of errors, the AGV prediction path gradually deviates from the real path.However, ukF-SLAM in straight line path prediction than EKF-SLAM error value is smaller.It can be seen that UKF-SLAM has better accuracy than EKF-SLAM