This sounds like science fiction but the technology exists. Known as the intelligent transport system (ITS), it is being tested at Toyota’s ITS Proving Ground.
Located at the company’s Higashi-Fuji Technical Centre in Susono City, Japan, the ITS Proving Ground is a 3.5-hectare site that faithfully replicates a real urban environment, complete with intersecting streets, pedestrian crosswalks, and traffic signals. It is equipped with optical beacons, government-allocated 760 MHz transmitters to link the various ITS detection and communication systems, vehicle detection sensors and pedestrian detection sensors.