LiDAR - ‘light detection and ranging’ - is a type of sensor that works by sending out pulses of infrared light millions of times a second, and measures how long they take to come back after bouncing off objects close to it.