Automatically directing the course of the aircraft