13,212
edits
m (Johan G moved page User:Johan G/Flightplan.xml to Flightplan XML formats without leaving a redirect: Lets kick this out of my to-do list ;-) |
(→Related content: + Links to the source code) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
FlightGear use a few different '''flightplan | FlightGear use a few different '''flightplan XML formats''' stored in property-list xml files. Due to different needs the flightplans used in the route manager and AI scenarios and have different formats. | ||
== AI flightplans == | == AI flightplans == | ||
Line 9: | Line 9: | ||
Each waypoint can contain the following tags: | Each waypoint can contain the following tags: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Tag !! Type !! Use !! | ! Tag !! Type !! Use !! Remarks | ||
|- | |- | ||
| <code><name></code> || string || Waypoint name || The last waypoint use <code>EOF</code>, or if the AI model is to be deleted <code>END</code>. | | <code><name></code> || string || Waypoint name || The last waypoint use <code>EOF</code>, or if the AI model is to be deleted <code>END</code>. | ||
Line 73: | Line 73: | ||
=== Departure and destination tags === | === Departure and destination tags === | ||
{| class="wikitable" | {| class="wikitable" | ||
! Tag !! Type !! Use !! | ! Tag !! Type !! Use !! Remarks | ||
|- | |- | ||
| <code><airport></code> || string || The ICAO identifier of the airport || | | <code><airport></code> || string || The ICAO identifier of the airport || | ||
Line 88: | Line 88: | ||
=== Waypoint types and tags === | === Waypoint types and tags === | ||
{| class="wikitable" | {| class="wikitable" | ||
! Tag !! Type !! Use !! | ! Tag !! Type !! Use !! Remarks | ||
|- | |- | ||
| <code><type></code> || string || Type of waypoint. Either <code>runway</code>, <code>navaid</code> or <code>offset-navaid</code> || | | <code><type></code> || string || Type of waypoint. Either <code>runway</code>, <code>navaid</code> or <code>offset-navaid</code> || | ||
Line 175: | Line 175: | ||
== Related content == | == Related content == | ||
=== Wiki articles === | |||
* [[AI Systems]] | * [[AI Systems]] | ||
* [[ | * [[Howto:Create a flightplan]] – Contains no information whatsoever on using flightplans in FlightGear though. | ||
* [[Interactive traffic#An example of a traffic file]] – Not flightplans per see as they only cover cruise altitude and departure and destination airport. | |||
* [[List of Nasal extension functions#flightplan()]] | * [[List of Nasal extension functions#flightplan()]] | ||
* [[Nasal Flightplan]] | * [[Nasal Flightplan]] | ||
* [[PropertyList XML File]] | * [[PropertyList XML File]] | ||
* [[ | * [[UFO from the 'White Project' of the UNESCO]] | ||
=== Source code === | |||
* {{flightgear source|src/AIModel/AIFlightPlan.hxx}} | |||
* {{flightgear source|src/AIModel/AIFlightPlan.cxx}} | |||
* {{flightgear source|src/Navaids/FlightPlan.hxx}} | |||
* {{flightgear source|src/Navaids/FlightPlan.cxx}} | |||
[[Category:XML]] | |||
[[Category:Artificial intelligence]] | |||
[[Category:Autoflight]] |