Preset Properties

From FlightGear wiki
Revision as of 16:19, 20 April 2006 by Hellosimon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Flight Gear currently uses these properties to set up the aircraft's initial situation :

/sim/presets/longitude-deg - If an explicit longitude and latitude are supplied, Flight Gear will use that; otherwise, it will look for an airport-id , vor-id , ndb-id , fix , and then finally default to KSFO if nothing else is available.

/sim/presets/latitude-deg - See longitude-deg.

/sim/presets/offset-distance - The horizontal distance from the waypoint, in nautical miles. This property should be renamed to offset-distance-nm?. Flight Gear does not currently honour this property for an airport waypoint unless a runway is also specified.

/sim/presets/offset-azimuth - The bearing FROM the waypoint TO the aircraft location, i.e. the direction you'd look from the waypoint to see the aircraft. This property should be renamed to offset-azimuth-deg .

/sim/presets/heading-deg - The aircraft's initial heading in degrees. Flight Gear may also use this property to select a default runway in some situations.

/sim/presets/glideslope-deg - Set the altitude to put the plane on the specified glide path from an airport (does not current work for other types of fixes). If this property is set, Flight Gear will ignore all other preset properties except for airport-id, offset-distance, and altitude-ft. If the offset distance is specified, Flight Gear will use it to calculate the altitude; otherwise, it will use the altitude to calculate the offset distance.

/sim/presets/altitude-ft - If this property has a value greater than -9990, then Flight Gear will use it to set the initial altitude MSL, unless the glideslope-deg property is also set.

/sim/presets/onground - True if the aircraft should start on the ground, false otherwise.

/sim/presets/airport-id - The ICAO identifier for an airport waypoint, such as "KJFK" or "EGLL". See also the runway property. An airport identifier takes precedence over vor-id , ndb-id , or fix , but is overridden by latitude-deg and longitude-deg .

/sim/presets/runway - The name of a runway, such as "22" or "11R", for an onground start or an initial approach path. This property makes sense only with the airport-id property. /sim/presets/vor-id The identifier for a VOR waypoint, such as "YOW" or "ART". A VOR takes precedence over ndb-id and fix .

/sim/presets/vor-freq - The initial frequency for the VOR 1 radio (??).

/sim/presets/ndb-id - The identifier for an NDB waypoint, such as "OW" or "YSH". An NDB takes precedence over fix .

/sim/presets/ndb-freq - The initial frequency for the NDB radio (??).

/sim/presets/fix - The identifier for a fix or intersection of some kind. All other waypoints take precedence over a fix. This property should be renamed to fix-id .