A robot enters an unknown room. Its laser rangefinder fires a beam and records a distance — but the reading is noisy. Fire again and you get a slightly different number. How does the robot ever build a reliable map?
Occupancy-grid mapping, developed by Moravec and Elfes in the late 1980s, answers that question with a beautifully simple idea: divide space into a grid of cells and assign each cell a number between 0 and 1 that represents the probability it is occupied by an obstacle. At the start, every cell sits at — pure uncertainty. Each sensor reading then nudges those numbers up or down using Bayesian inference.
The key insight is that no single reading is trusted blindly. A return that looks like a wall might just be a dust particle. A return that misses a wall might be a specular reflection. But fire the sensor a hundred times from slightly different positions and the true obstacles accumulate evidence while the noise averages out. The grid remembers every measurement and never throws one away.
The result is a compact, uncertainty-aware map: dark cells are likely walls, light cells are likely free space, and gray cells are still in doubt. It is one of the foundational algorithms in probabilistic robotics — the bedrock under modern self-driving cars and autonomous drones.
Comments
Loading comments...