Sensors for Distance and Displacement