Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Head-up display"

From FlightGear wiki
Jump to: navigation, search
(added property tree, not finished yet)
m
Line 82: Line 82:
  
 
== preferences.xml ==
 
== preferences.xml ==
 +
While the instruments and their behaviour are set in the Huds-directory, the basic settings and the look regarding to any HUD are set in <tt>$FG_ROOT/preferences.xml</tt>. Search the file for <tt><hud></tt> and you will find a list of properties. For a short description of those have a look at [[#Property_tree|property tree]].
 +
 +
  
 
== Property tree ==
 
== Property tree ==
 
More information about FlightGears property tree and how to access it can be found at its page: [[Property_Tree|Property Tree]].
 
More information about FlightGears property tree and how to access it can be found at its page: [[Property_Tree|Property Tree]].
 +
 +
Paths starting with '$FG_ROOT/' apply to the file system, the others are intra-property tree.
 
  /sim/hud
 
  /sim/hud
 
   current-color  (0|1|2...)    One out of /sim/hud/palette
 
   current-color  (0|1|2...)    One out of /sim/hud/palette
 
   enable3d        (false|true)  hud n=0 3D off|on
 
   enable3d        (false|true)  hud n=0 3D off|on
 
   enable3d[n]    (false|true)  hud n=n 3D off|on
 
   enable3d[n]    (false|true)  hud n=n 3D off|on
   frame-stat-type (tris)
+
   frame-stat-type (tris|???)   ???
   path            ()           Path to hud n=0
+
   path            (Huds/...)   Path to hud n=0
   path[n]        ()           Path to hud n=n
+
   path[n]        (Huds/...)   Path to hud n=n
 
   visibility      (false|true)  hud n=0 hidden|visible
 
   visibility      (false|true)  hud n=0 hidden|visible
 
   visibility[1]  (false|true)  hud n=n hidden|visible
 
   visibility[1]  (false|true)  hud n=n hidden|visible
  /sim/hud/color/
+
  /sim/hud/color/                 Contains settings of current-color
 
     alpha        (0...1)      0=invisible, 1=nontransparent
 
     alpha        (0...1)      0=invisible, 1=nontransparent
     alpha-clamp  ()
+
     alpha-clamp  (???)         ???
 
     antialiased  (false|true)  Antialiasing off|on
 
     antialiased  (false|true)  Antialiasing off|on
 
     blue          (0...1)       
 
     blue          (0...1)       
Line 104: Line 109:
 
     transparent  (false|true)  Transparency off|on
 
     transparent  (false|true)  Transparency off|on
 
  /sim/hud/font/
 
  /sim/hud/font/
     name (Helvetica.txf)
+
     name         (*.txf)       One out of $FG_ROOT/Fonts
     size (8)
+
     size         (8)           Size of font
 
  /sim/hud/palette/
 
  /sim/hud/palette/
 
  /sim/hud/palette/color/        Settings of predefined colors, nearly
 
  /sim/hud/palette/color/        Settings of predefined colors, nearly
  /sim/hud/palette/color[n]/         the same as in /sim/hud/color.
+
  /sim/hud/palette/color[n]/     the same options as in /sim/hud/color.

Revision as of 08:16, 1 September 2008

This article is a stub. You can help the wiki by expanding it.

This is a short description of FlightGears default Head-up display (HUD), it can be (de)activated with the [h]-key. To change the brightness, press [shift]+[h].

There are also two so called 'minimal' HUDs available which are accessible with [shift]+[i], to return to default HUD press [i].

Some of the HUDs options can be altered in the menu: View --> Adjust HUD Properties

Features

HUD overview

Aileron

Aileron
Aileron

Airspeed

Airspeed

Current speed relating to the ambient air in knot/knots (kt/kts) (1 kt = 1.852 km/h).

Altitude

Altitude

Current altitude relating to sea-level in feet (ft) (1 ft = 30.48 cm).

Autopilot

HUD autopilot

If autopilot is activ the direction of the next waypoint is displayed as well as the next two and the last waypoint of the Autopilot --> Route manager list.

Autopilot

Elevation

Current altitude above ground in feet. Relating to the location of the aircrafts radio altimeter therefore it's not zero if the aircraft is on the ground.

Elevator

Elevator
Elevator

G-load

Displays the g-force to the pilot in g - to avoid black-/redout.

The value riding on top of the Airspeed indicator.

Heading

Heading

Direction of the aircraft relating to the geographical North pole in degree (360 degree scale).

Compass

Location

Location

To change the coordinates-system, go to Autopilot --> Set Lat/Lon-format.

Pitch

Like set with [Home]/[End].

It's the left marker of the Elevator indicator.

Pitch ladder

Displays the aircrafts pitch relating to the grounds level/horizontal in degree. It's used as an artificial horizon.

The big ladder like looking indicator at the HUDs centre.
Attitude indicator

Rudder

Rudder
Rudder

Thrust

Thrust

Turn-bank-indicator

Turn Coordinator


Further Information

The basic setup of the above described default HUD is defined at

$FG_ROOT/Huds/Default/default.xml

There is also a 'Runway projection' available which is, because of some issues, disabled by default.

Documentation can be found at

$FG_ROOT/Docs/README.xmlhud

Since FlightGear 0.9.10 there is also a newer and more flexibly HUD-system available. An example can be found at

$FG_ROOT/Huds/default.xml and documentation at
$FG_ROOT/Docs/README.hud.

Also have a look at $FG_ROOT/Huds/README.

preferences.xml

While the instruments and their behaviour are set in the Huds-directory, the basic settings and the look regarding to any HUD are set in $FG_ROOT/preferences.xml. Search the file for <hud> and you will find a list of properties. For a short description of those have a look at property tree.


Property tree

More information about FlightGears property tree and how to access it can be found at its page: Property Tree.

Paths starting with '$FG_ROOT/' apply to the file system, the others are intra-property tree.

/sim/hud
  current-color   (0|1|2...)    One out of /sim/hud/palette
  enable3d        (false|true)  hud n=0 3D off|on
  enable3d[n]     (false|true)  hud n=n 3D off|on
  frame-stat-type (tris|???)    ???
  path            (Huds/...)    Path to hud n=0
  path[n]         (Huds/...)    Path to hud n=n
  visibility      (false|true)  hud n=0 hidden|visible
  visibility[1]   (false|true)  hud n=n hidden|visible
/sim/hud/color/                 Contains settings of current-color
    alpha         (0...1)       0=invisible, 1=nontransparent
    alpha-clamp   (???)         ???
    antialiased   (false|true)  Antialiasing off|on
    blue          (0...1)       
    brightness    (0...1)       0=dark/black
    green         (0...1)
    red           (0...1)
    transparent   (false|true)  Transparency off|on
/sim/hud/font/
    name          (*.txf)       One out of $FG_ROOT/Fonts
    size          (8)           Size of font
/sim/hud/palette/
/sim/hud/palette/color/         Settings of predefined colors, nearly
/sim/hud/palette/color[n]/      the same options as in /sim/hud/color.