public:
AttitudeIndicator ( SGPropertyNode *node );
- AttitudeIndicator ();
virtual ~AttitudeIndicator ();
virtual void init ();
+ virtual void reinit ();
virtual void bind ();
virtual void unbind ();
virtual void update (double dt);
private:
- string name;
- int num;
- string vacuum_system;
+ std::string _name;
+ int _num;
+ std::string _suction;
Gyro _gyro;
SGPropertyNode_ptr _pitch_out_node;
SGPropertyNode_ptr _roll_out_node;
+ double spin_thresh;
+ double max_roll_error;
+ double max_pitch_error;
};
#endif // __INSTRUMENTS_ATTITUDE_INDICATOR_HXX