// static.hxx - the static air system.
// Written by David Megginson, started 2002.
//
+// Last modified by Eric van den Berg, 09 November 2013
// This file is in the Public Domain and comes with no warranty.
*
* /environment/pressure-inhg
* /systems/"name"/serviceable
+ * /orientation/alpha-deg
+ * /orientation/side-slip-rad
+ * /velocities/mach
*
* Output properties:
*
* /systems/"name"/pressure-inhg
*
- * TODO: support specific locations
* TODO: support alternate air with errors
*/
class StaticSystem : public SGSubsystem
virtual ~StaticSystem ();
virtual void init ();
+ virtual void reinit ();
virtual void bind ();
virtual void unbind ();
virtual void update (double dt);
private:
- string name;
- int num;
+ std::string _name;
+ int _num;
+ double _tau;
+ double _error_factor;
+ int _type;
SGPropertyNode_ptr _serviceable_node;
SGPropertyNode_ptr _pressure_in_node;
SGPropertyNode_ptr _pressure_out_node;
+ SGPropertyNode_ptr _beta_node;
+ SGPropertyNode_ptr _alpha_node;
+ SGPropertyNode_ptr _mach_node;
};