Google:
SLAM integrates data from multiple sensors, such as cameras, lidar, and radar, to create a detailed map of the surrounding environment. The SLAM algorithm then uses this map to determine the vehicle’s position and orientation in real-time.
The SLAM algorithm works by detecting and tracking features in the environment, such as edges, corners, or other distinctive points, and then using this information to build a map of the environment. As the vehicle moves, the SLAM algorithm continuously updates the map and refines the vehicle’s position within that map.