It seems there is a well defined distance between two light poles on our motorways. With some simple math you can calculate your driving speed.
I have never tried it though.
Nowadays these poles aren’t used any more. There are no lights on the motorway during the night.
They say it makes you drive safer thus resulting in less accidents.