Is there anyway to calculate time of traffic lights when they change from red to green?
Also, take into account the speed of traffic and motion sensors, which trigger the lights. Factor in all the different traffic light companies. “There are many variations in the use and legislation of traffic lights, depending on the customs of a country and the special needs of a particular intersection. There may, for example, be special lights for pedestrians, bicycles, buses, trams, etc; light sequences may differ; and there may be special rules, or sets of lights, for traffic turning in a particular direction. Complex intersections may use any combination of these. Traffic light technology is constantly evolving with the aims of improving reliability, visibility, and efficiency of traffic flow.” -Wikipedia “Some regions have signals that are interruptible, giving priority to special traffic. Such traffic light preemption is usually reserved for emergency vehicles such as fire apparatus, ambulances, and police squad cars, though sometimes mass transit vehicles including buses and l