-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the air-traffic-simulator wiki!
- I like watching flightradar24
- I play on a Minecraft server that has airports
- Someone came up with the idea of flightradar24 but for said server
- I made it but it was very crude so I want to do it again (this time with more realism)
- class: a string. smaller classes can park at gates and taxi on taxiways and runways of higher classes
a list of airports. each airport includes information and a list of runways. each runway includes its start and end 2d coordinates, altitude, and class
taxiways and gates will come in a future release
a list of plane types/models. each plane includes its model information and class (and icon)
a list of flights. each flight includes its source, destination, plane type, and other information
randomly generated if not provided
a list of waypoint. each waypoint is a 2d coordinate
the position of the plane is represented by a 3d vector. the plane's position is controlled by its velocity. there would be methods for the plane to accelerate to its target velocity
todo use some mathematics to figure out its angle per tick from its turning radius
after plane takes off, heads towards first waypoint. when it comes within 100m of a waypoint, or distance is increasing for some bizarre reason, go to next point. after last point, align with runway and land.
plane starts at start of runway (for now). aim horizontal velocity at plane speed and vertical position at cruising altitude. 100m above takeoff position, allow turning (head to first waypoint)
at landing, plane aligns with runway 500m away from it. aim for touchdown halfway down runway. after touchdown, decelerate
ATC may issue a request to hold when plane requests to land. Holding pattern would be (algorithmically?) calculated from runway positions so multiple runways share the same position
ATC or plane itself may also abort a landing and go-around.
ATC or plane may also divert the plane to another nearby airport.
plane may squawk 7700 at any point. it would return to the nearest airport 50% of the time and unsquawk for the other 50%
plane may go off radar mysteriously, after rapidly losing altitude
plane is deleted off the radar if altitude is -10 or below