How do self-driving vehicles work?
Self-driving vehicles are complicated tools, with many different paths to the same or a similar solution. But you can generally assume that most create and maintain an internal map of their surroundings using tools like cameras, sensors, LIDAR, radar, and pre-loaded maps.
All this data is processed by hardware and software in the car or at a central fixed location, as well as applying a vast array of rules for driving. This might include specific driving algorithms for the specific areas where the vehicle is operating, traffic laws, or predictive modeling, often a combination of all of these.
Future self-driving vehicles may be able to communicate with other cars on the road, making them even more likely to avoid collisions.