X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fturn_indicator.hxx;h=04a8e6fcb10132a5d1968265629d42d5148aada3;hb=fe0a703a192a37b96aa4f6048c8e542c24671705;hp=89681cfea29e58f398e7451979611c7e248ff246;hpb=2119db35c3f596268e2ee21d3cd8c359a85cd1ed;p=flightgear.git diff --git a/src/Instrumentation/turn_indicator.hxx b/src/Instrumentation/turn_indicator.hxx index 89681cfea..04a8e6fcb 100644 --- a/src/Instrumentation/turn_indicator.hxx +++ b/src/Instrumentation/turn_indicator.hxx @@ -12,8 +12,7 @@ #endif #include - -#include
+#include #include "gyro.hxx" @@ -26,22 +25,22 @@ * * Input properties: * - * /instrumentation/turn-indicator/serviceable - * /instrumentation/turn-indicator/spin + * /instrumentation/"name"/serviceable + * /instrumentation/"name"/spin * /orientation/roll-rate-degps * /orientation/yaw-rate-degps * /systems/electrical/outputs/turn-coordinator * * Output properties: * - * /instrumentation/turn-indicator/indicated-turn-rate + * /instrumentation/"name"/indicated-turn-rate */ -class TurnIndicator : public FGSubsystem +class TurnIndicator : public SGSubsystem { public: - TurnIndicator (); + TurnIndicator ( SGPropertyNode *node ); virtual ~TurnIndicator (); virtual void init (); @@ -54,6 +53,9 @@ private: Gyro _gyro; double _last_rate; + std::string _name; + int _num; + SGPropertyNode_ptr _roll_rate_node; SGPropertyNode_ptr _yaw_rate_node; SGPropertyNode_ptr _electric_current_node;