Has any one thought of a set of traffic lights?
They go red for stop- when this happens another set of lights go green - this then allows the traffic to take turns .
There is no limit to the number of sets that can operate. You can find all about them on the internet.
It is a very clever system they can even tell when cars are waiting at the lights.
If the town council wants to know more about them they can contact me direct.