Flightplan XML formats: Difference between revisions

Jump to navigation Jump to search
→‎Related content: + Links to the source code
m (Style)
(→‎Related content: + Links to the source code)
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
FlightGear use a few different '''flightplan xml formats''' stored in property-list xml files.  Due to having different needs the flightplans used in the route manager and AI scenarios and have different formats.
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 !! Comment
! Tag !! Type !! Use !! Remarks
|-
|-
| <code>&lt;name&gt;</code> || string || Waypoint name || The last waypoint use <code>EOF</code>, or if the AI model is to be deleted <code>END</code>.
| <code>&lt;name&gt;</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 !! Comment
! Tag !! Type !! Use !! Remarks
|-
|-
| <code>&lt;airport&gt;</code> || string || The ICAO identifier of the airport ||
| <code>&lt;airport&gt;</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 !! Comment
! Tag !! Type !! Use !! Remarks
|-
|-
| <code>&lt;type&gt;</code> || string || Type of waypoint. Either <code>runway</code>, <code>navaid</code> or <code>offset-navaid</code> ||
| <code>&lt;type&gt;</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]]
* [[UFO from the 'White Project' of the UNESCO]]
* [[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]]
* [[Howto:Create a flightplan]], contains no information whatsoever on using flightplans in FlightGear though.
* [[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]]

Navigation menu