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/props/props.hxx>
16 #include <Main/fgfs.hxx>
20 * Model an airspeed indicator tied to the pitot and static ports.
24 * /instrumentation/airspeed-indicator/serviceable
25 * /systems/pitot[0]/total-pressure-inhg
26 * /systems/static[0]/pressure-inhg
27 * /environment/density-slugft3
31 * /instrumentation/airspeed-indicator/indicated-speed-kt
33 class AirspeedIndicator : public FGSubsystem
39 virtual ~AirspeedIndicator ();
42 virtual void update (double dt);
46 SGPropertyNode_ptr _serviceable_node;
47 SGPropertyNode_ptr _total_pressure_node;
48 SGPropertyNode_ptr _static_pressure_node;
49 SGPropertyNode_ptr _density_node;
50 SGPropertyNode_ptr _speed_node;
54 #endif // __INSTRUMENTS_AIRSPEED_INDICATOR_HXX