the sensor measures speed and distance.

Make this proper case.
The sensor measures speed and distance.