Skip to content
7d edited this page Aug 17, 2023 · 3 revisions

Welcome to the air-traffic-simulator wiki!

Motivation

  • 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)

How it will work

Vocab

  • class: a string. smaller classes can park at gates and taxi on taxiways and runways of higher classes

Data Provided

Airports & Runways

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

Planes (icons?)

a list of plane types/models. each plane includes its model information and class (and icon)

Flight Routes (optional)

a list of flights. each flight includes its source, destination, plane type, and other information

randomly generated if not provided

Waypoints

a list of waypoint. each waypoint is a 2d coordinate

Flight Routes

(Vector) Representation

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

Route Generation

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.

Takeoff & Landing

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

Holding & Go-Arounds

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.

Diversions & 7700s

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%

Crashes?

plane may go off radar mysteriously, after rapidly losing altitude

plane is deleted off the radar if altitude is -10 or below

ATC-Plane Messages

Flight Procedure