1 // airspeed_indicator.hxx - a regular VSI tied to the static port.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain and comes with no warranty.
7 #ifndef __INSTRUMENTS_AIRSPEED_INDICATOR_HXX
8 #define __INSTRUMENTS_AIRSPEED_INDICATOR_HXX 1
11 # error This library requires C++
14 #include <simgear/misc/props.hxx>
15 #include <Main/fgfs.hxx>
19 * Model an airspeed indicator tied to the pitot and static ports.
23 * /instrumentation/airspeed-indicator/serviceable
24 * /systems/pitot[0]/total-pressure-inhg
25 * /systems/static[0]/pressure-inhg
26 * /environment/density-slugft3
30 * /instrumentation/airspeed-indicator/indicated-speed-kt
32 class AirspeedIndicator : public FGSubsystem
38 virtual ~AirspeedIndicator ();
41 virtual void update (double dt);
45 SGPropertyNode_ptr _serviceable_node;
46 SGPropertyNode_ptr _total_pressure_node;
47 SGPropertyNode_ptr _static_pressure_node;
48 SGPropertyNode_ptr _density_node;
49 SGPropertyNode_ptr _speed_node;
53 #endif // __INSTRUMENTS_AIRSPEED_INDICATOR_HXX