SLAM: mapping while moving
INTERMEDIATE · 7 MIN READ
The robot builds a map and finds its place on it at the same time, with no GPS.
SLAM stands for Simultaneous Localisation And Mapping. It solves a chicken-and-egg problem: to map a room you need to know where you are, and to know where you are you need a map.
The robot solves both together. It spots landmarks, notes how far it moved, and keeps correcting the map and its own position. When it returns to a place it has seen, it snaps everything back into line.
A robot drives once around a square (white). It estimates its position only by counting wheel turns (orange). Small errors pile up, so the end does not meet the start.
The robot believes it finished 16.2 units away from where it started. It is lost by that much.
This is the heart of SLAM: when the robot sees a place it has seen before, it corrects its whole map, not just its last position.
A robot vacuum maps your flat the first time it cleans, then plans efficient routes and knows which rooms it has finished.
Robots can work indoors, underground or in unknown places where GPS does not reach.
The robot needs a pre-made map or a track on the floor. A moved chair can confuse it for good.
Draw a map of your room from memory, then walk it with your eyes closed. Notice how you correct using touch. That is SLAM.
Common questions
Does SLAM need a lidar?
No. It can use cameras, lidar or other sensors. Lidar is common because it measures distance directly.
Why is SLAM hard?
Small errors pile up over time, and moving objects like people confuse the map.
Keep learning
Get your personal invite link to share R2BOT with friends.
Teachers and bloggers: paste the embed code into your page to show this demo for free.
Plain English. Free. Unsubscribe in one click.