How Tesla detects traffic lights and stops automatically