1 // pitot.hxx - the pitot air system.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain and comes with no warranty.
7 #ifndef __SYSTEMS_PITOT_HXX
8 #define __SYSTEMS_PITOT_HXX 1
11 # error This library requires C++
14 #include <simgear/props/props.hxx>
16 #include <Main/fgfs.hxx>
20 * Model a pitot air system.
22 * The output is the sum of static and dynamic pressure (not just the
27 * /systems/pitot[0]/serviceable
28 * /environment/pressure-slugft3
29 * /environment/density-slugft3
30 * /velocities/airspeed-kt
34 * /systems/pitot[0]/total-pressure-inhg
36 class PitotSystem : public FGSubsystem
42 virtual ~PitotSystem ();
46 virtual void unbind ();
47 virtual void update (double dt);
51 SGPropertyNode_ptr _serviceable_node;
52 SGPropertyNode_ptr _pressure_node;
53 SGPropertyNode_ptr _density_node;
54 SGPropertyNode_ptr _velocity_node;
55 SGPropertyNode_ptr _total_pressure_node;
59 #endif // __SYSTEMS_PITOT_HXX