early warning system for self-driving cars