Hello. In short, let's say you have a robot that moves. At each stage, you take what we already know about the robot's environment and location and try to guess what it will look like after a while. Then you take the SLAM software dioramslam.com/ and improve it a bit and use it to read the movement sensor data.
Thus, any robot that needs to move autonomously in space must solve the localization problem in order to know its current position in the world. In the case of unknown or dynamic environments where the map is not available or is constantly changing, the robot also needs to create and update the map in real time. At the moment, there is no general solution that works in all cases, but algorithms that solve a specific problem for a specific use case.