This paper aims to explore the importance of achieving accurate positioning and navigation,as well as high-precision modeling of the environment in which cars and robots operate,in the context of the booming development of the autonomous driving and robotics industry.Laser SLAM,as the most stable and mainstream positioning and navigation method,has been widely used in this field.This study uses the Gmapping algorithm,Hector algorithm and Cartographr algorithm to model the indoor environment on an intelligent car equipped with a 2 D laser radar,and compares and analyzes the maps built by the three algorithms.The experimental results show that the cartography algorithm has the highest accuracy in the indoor environment,and the mapping effect is better than that of the Gmapping algorithm and Hector algorithm.