Sensors under the wings and on the back of its head send information about the flight immediately to its brain.