X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fmrg.hxx;h=7f8f9774255fe835d2328c4db6891ef0d3757e23;hb=34433c1fa1d10e389ffd84ec115d6c8036c5b885;hp=9bfaf741f07a289d0f733a537bd6c598aa64994c;hpb=aa716b350fb8732308c0a0dded0d936f96445f42;p=flightgear.git diff --git a/src/Instrumentation/mrg.hxx b/src/Instrumentation/mrg.hxx index 9bfaf741f..7f8f97742 100644 --- a/src/Instrumentation/mrg.hxx +++ b/src/Instrumentation/mrg.hxx @@ -43,13 +43,16 @@ public: virtual ~MasterReferenceGyro (); virtual void init (); + virtual void reinit (); virtual void bind (); virtual void unbind (); virtual void update (double dt); private: - string _name; + static const double gravity; //conversion factor + + std::string _name; int _num; double _last_roll; @@ -65,6 +68,8 @@ private: double _last_pitch_rate; double _last_yaw_rate; double _last_g; + double _erect_time; + double _g_error; Gyro _gyro; @@ -94,6 +99,7 @@ private: SGPropertyNode_ptr _pitch_rate_node; SGPropertyNode_ptr _responsiveness_node; SGPropertyNode_ptr _hdg_input_source_node; + SGPropertyNode_ptr _fast_erect_node; }; #endif // __INSTRUMENTS_MRG_HXX