Time of flight

A lidar sensor sends out a flash of laser light. The light bounces off a wall and returns to the sensor. The sensor measures the trip.

Light covers a long distance in a tiny amount of time. A short trip means a close wall. A longer trip means a farther chair or sofa. Engineers call this method time of flight.