Common aircraft properties

From FlightGear wiki
Revision as of 17:16, 30 July 2013 by Fusionstream (talk | contribs) (Draft)
Jump to navigation Jump to search

WORK IN PROGRESS

TODO: standardise locations most common to existing aircraft to ease transition

With common aircraft properties found in uncommon locations, assigning buttons in joysticks to certain functions became mostly a hit or miss affair.

There was an attempt to unify it all with a nasal script but after consulation and comments with others, this attempt was replaced with the solution to standardise common aircraft properties in standardised locations.

This document will exhaustively list property tree locations where aircraft developers should store their aircraft properties (if not alias them).

Gear

States

  • In /controls/gears
    • /controls/gears/brake-parking
      0 = Off
      1 = On
    • /controls/gears/brake-chokes
      0 = Off
      1 = On
    • /controls/gears/antiskid
      0 = Off
      1 = On
    • /controls/gears/autobrake
      0 = Off
      1 = On

launcbar servicable brake-servicable brake-temperature brake-hydraulic-pressure tyre-temperature tyre-pressure brake-available retractable

    • /controls/gears/gear-pos-lever
      0 = Retracted
      1 = Extended
  • In /controls/gears/gear[n]

Transitions

  • In /controls/gears
    • /controls/gears/gears-pos-norm (all gears)
      0 = Fully Retracted
      0.x = Transitioning
      1 = Fully Extended
  • In /controls/gears/gear[n]

brake-pressure 0 0.x 1 friction-ground friction-ground-real friction-bearing friction-bearing-real friction-side-slip friction-side-slip-real


Speedbrakes

engine --thrust reversers

flaps

tailhook


radios - /instrumentation/nav


fuel


implementation with custom locations: if you require your values be stored in a custom location, be sure to alias them in the standard location: <property alias="../../params/n1"/>h