Transcript
I'm a robot vacuum. Tonight is my first night in your flat, and I have never seen it. No map yet. By the end of this run, I'll know every wall. Watch. On my roof spins a laser. It fires a tiny dot at the wall, and a small camera beside it watches where the dot lands. When the wall is close, the dot lands far off to one side of the picture. When the wall is far away, it slides toward the middle. That shift tells me the distance. It's called triangulation. The laser turns all the way round, one reading every degree. That's 360 dots, a ring of distances all around me. Then I drive. My wheels count their turns, so I know roughly how far I've gone. Roughly. On carpet, the wheels slip, and my guess drifts a little more with every metre. My map starts to bend. The same wall gets drawn twice. So I do two jobs at once. I match each new ring of dots against the walls I already drew, and nudge my position until they line up. Robot builders call this SLAM: simultaneous localisation and mapping. When I get back to the doorway where I started, I recognise it, and the whole map snaps straight. That's called loop closure. Now the map is saved, and tomorrow I clean by plan, not by guesswork. So remember it like this. The laser measures the walls. The wheels guess where I am. Matching the two keeps the map straight. Curious how the tech around you works? Learn IT from zero, free, at seclern.com, and follow for more.