]> git.mxchange.org Git - flightgear.git/commit
Added a new startup option. By giving the command line option --parkpos=AVAILABLE...
authorDurk Talsma <durk@linux-gj5p.site>
Sat, 17 Sep 2011 14:51:00 +0000 (16:51 +0200)
committerDurk Talsma <durk@linux-gj5p.site>
Sat, 17 Sep 2011 14:51:00 +0000 (16:51 +0200)
commitdb816deb90961b82e085f3d7afc64b4977728f49
tree3210b0609724e712a03cd3a6de3c71a2bd922276
parent67c604a722345ea459ad0f9f46544e2b1c208959
Added a new startup option. By giving the command line option --parkpos=AVAILABLE you can -in principle- let FlightGear decide what the most optimal parking location is. This option does require a few properties to be set that are also needed for future ATC use. Hence, they are listed under /sim/ATC, but could move to a different location if desired.
/sim/ATC/radius should be a nummeric estimate of the size of your aircraft. A small aircraft fits into a large parking, but a large aircraft does not fit into a small parking space. Because the AI part of radius is also used for slightly different purposes (prioritizing gate assignmments, the given valuem may deviate slightly from the real aircraft size. See http:/wiki.flightgear.org/Aircraft.radii for an overview of currently used values for the redius property.
/sim/ATC/flight-type can be any one of "ga", "cargo", "gate", "mil-fighter", "mil-cargo", or "vtol". See http://wiki.flightgear.org/Interactive_traffic#A_technical_perspective for more information.
optionally, the property /sim/ATC/airline can be set set to a three letter icao airline code. By way of illustration, I will commit a number of startup preset files setting these properties shortly.

Also did some more finetuning to the traffic mananger routing algorithm can be any one of "ga", "cargo", "gate", "mil-fighter", "mil-cargo", or "vtol". See http://wiki.flightgear.org/Interactive_traffic#A_technical_perspective for more information.
optionally, the property /sim/ATC/airline can be set set to a three letter icao airline code. By way of illustration, I will commit a number of startup preset files setting these properties shortly.

Also did some more finetuning to the traffic mananger routing algorithm.
src/ATC/atc_mgr.cxx
src/Main/fg_init.cxx
src/Traffic/Schedule.cxx
src/Traffic/Schedule.hxx