LiDAR stands for light detection and ranging. It measures distance with a laser.
Time the echo
The principle comes from the maker SICK, which builds safety scanners. The device sends a short pulse of light, receives its reflection, and calculates the distance from the time between the two. This is called optical time of flight. A mirror or a rotating head sweeps the beam so that the device covers a whole plane, or a whole sphere around it.
Swipe the diagram to see all of it.
What a LiDAR sees
A LiDAR does not see colors or objects. It records a point cloud: a huge set of dots, each with a position in space. Software then groups the dots into walls, floors, people and boxes.
The Ouster OS1 is a spinning LiDAR. Three numbers from its datasheet show what this means.
It sees up to 90 meters (about 300 feet) when the target is dark, and up to 170 meters when the target is bright. Dark things send back less light, so they can only be seen from closer.
It can measure up to 2.6 million points per second. Each point is one tiny distance measure, so a room is drawn with a very large number of dots, many times a second.
Its distance error is about 2.5 centimeters (1 inch) on a matte surface. That is the width of a thumb.
What a robot does with it
A robot uses a LiDAR to know where the walls are and to see what is in its way. SICK builds safety scanners on this idea. The scanner watches a zone and stops a machine when a person walks in. NOAA explains that airplanes carry the same kind of device to map the ground.