Common aircraft properties: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Draft)
 
m (Draft)
Line 11: Line 11:
===States===
===States===
*In /controls/gears
*In /controls/gears
** /controls/gears/parking-brake<br />0 = Off<br />1 = On
** /controls/gears/brake-parking<br />0 = Off<br />1 = On
** /controls/gears/wheel-chokes<br />0 = Off<br />1 = On
** /controls/gears/brake-chokes<br />0 = Off<br />1 = On
** /controls/gears/antiskid<br />0 = Off<br />1 = On
** /controls/gears/antiskid<br />0 = Off<br />1 = On
** /controls/gears/autobrake<br />0 = Off<br />1 = On
** /controls/gears/autobrake<br />0 = Off<br />1 = On
** /controls/gears/gears-pos-lever<br />0 = Retracted<br />1 = Extended
launcbar
servicable
brake-servicable
brake-temperature
brake-hydraulic-pressure
tyre-temperature
tyre-pressure
brake-available
retractable
** /controls/gears/gear-pos-lever<br />0 = Retracted<br />1 = Extended
*In /controls/gears/gear[n]
*In /controls/gears/gear[n]


Line 22: Line 31:
** /controls/gears/gears-pos-norm (all gears)<br />0 = Fully Retracted<br />0.x = Transitioning<br />1 = Fully Extended
** /controls/gears/gears-pos-norm (all gears)<br />0 = Fully Retracted<br />0.x = Transitioning<br />1 = Fully Extended
*In /controls/gears/gear[n]
*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





Revision as of 17:16, 30 July 2013

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