X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fattitude_indicator.hxx;h=b71e742c21f188ee31668e98bb3c6afb75f66fc3;hb=863b0c943251fae620406ec8983e5f69e1424731;hp=26196eb032170ce753fcec0d75549ea9137a1f29;hpb=b0afca93d5f8877f03fb7ca83eff1d3f486c7375;p=flightgear.git diff --git a/src/Instrumentation/attitude_indicator.hxx b/src/Instrumentation/attitude_indicator.hxx index 26196eb03..b71e742c2 100644 --- a/src/Instrumentation/attitude_indicator.hxx +++ b/src/Instrumentation/attitude_indicator.hxx @@ -11,8 +11,10 @@ # error This library requires C++ #endif -#include -#include
+#include +#include + +#include "gyro.hxx" /** @@ -22,8 +24,10 @@ * * Input properties: * + * /instrumentation/attitude-indicator/config/tumble-flag * /instrumentation/attitude-indicator/serviceable - * /instrumentation/attitude-indicator/spin + * /instrumentation/attitude-indicator/caged-flag + * /instrumentation/attitude-indicator/tumble-norm * /orientation/pitch-deg * /orientation/roll-deg * /systems/vacuum[0]/suction-inhg @@ -32,8 +36,9 @@ * * /instrumentation/attitude-indicator/indicated-pitch-deg * /instrumentation/attitude-indicator/indicated-roll-deg + * /instrumentation/attitude-indicator/tumble-norm */ -class AttitudeIndicator : public FGSubsystem +class AttitudeIndicator : public SGSubsystem { public: @@ -48,11 +53,16 @@ public: private: - SGPropertyNode_ptr _serviceable_node; - SGPropertyNode_ptr _spin_node; + Gyro _gyro; + + SGPropertyNode_ptr _tumble_flag_node; + SGPropertyNode_ptr _caged_node; + SGPropertyNode_ptr _tumble_node; SGPropertyNode_ptr _pitch_in_node; SGPropertyNode_ptr _roll_in_node; SGPropertyNode_ptr _suction_node; + SGPropertyNode_ptr _pitch_int_node; + SGPropertyNode_ptr _roll_int_node; SGPropertyNode_ptr _pitch_out_node; SGPropertyNode_ptr _roll_out_node;