Each member of the list is an object of the typeĪirplane.ControllableAirplane which has methods to both let you find itsĬurrent position and speed, and to send it commands. The only argument included is a list ofĪirplanes. Simulations begins, then every 10 seconds the executeControl method of theįlightController class is called. This is the class you should modify toĬreate your own flight control system. The flight control system is in the module flight_control.py, which containsĪ class called FlightController.
These limits are designed to make the problem fairly challenging. Maximum incline: +/- 7.5 degrees from level.Maximum turn rate: 1.5 degrees per second.The airplanes themselves are not very maneuverable. If airplanes come within 10km of one another in horizontal distanceĪnd within 600 meters in altitude they are assumed to be too close and the Of each other they are assumed to have crashed and the simulator will registerĪ penalty. Program runs a faster simulation, suitable for debugging.Įach airplane has a desired heading and altitude, however they will obey anyĬommands given by the flight controller. Positions on the screen along with an altitude for each one. Simulator.py will run a real-time simulation of the airplanes showing their There are two simulators for watching the result of the exercise: To develop a flight control systems which sends instructions to airplanes so
#FLIGHT SIMULATOR X AIR TRAFFIC CONTROLLER HOW TO#
Think about how to solve complex problems. This was an assignment as part of a class I taught at CSU Stanislaus to helpįamiliarize the students with python in a fun way, as well as a chance to