There are several solutions: a speed-gun-like radar, which measures the Doppler shift of the backscattered signal, the range sensor based on time-of-flight lidar or frequency-modulated continuous-wave lidar, the distance measuring device based on the analysis of a conventional camera image, the same device based on stereo-vision provided by two cameras and, for limited distances like ~20m, an ultrasonic sonar. All these devices can measure the distance to the rear end of the vehicle, the question is what are your specs? I mean, the accuracy, reliability, cost, weight, weather protection, etc.
To measure the vehicle speed in front of your car on a toll road, a suitable type of LIDAR (Light Detection and Ranging) system would be a Doppler LIDAR or a Speed LIDAR. These LIDAR systems utilize the Doppler effect to measure the speed of an object based on the change in frequency of the reflected laser light.
Doppler LIDAR works by emitting laser pulses and measuring the frequency shift of the light that reflects off a moving object, such as a vehicle. By analyzing the frequency shift, the system can calculate the velocity of the target vehicle relative to the LIDAR device.
Speed LIDAR, commonly used by law enforcement for speed enforcement, operates on a similar principle. It emits a laser beam towards a target vehicle and measures the time it takes for the reflected light to return. Based on the change in distance over time, the system calculates the speed of the vehicle.
Both Doppler LIDAR and Speed LIDAR can provide accurate measurements of the speed of vehicles in front of your car on a toll road. However, it's important to note that the use of LIDAR for speed enforcement and traffic monitoring may be subject to specific regulations and legal considerations in your jurisdiction.
Terrestrial LiDAR, as the name implies, is a system that operates on the ground. It can be attached to a moving vehicle or implanted in a fixed site. Terrestrial LiDAR data, in any case, is useful for applications that demand a precise scan of the ground or "a closer look" at items.
In general, the most known on autonomous vehicle sensing system is this type of LiDAR system either mobile or static.