X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fturn_indicator.hxx;h=b96873081b49ae6ebc2375ebe99c6fba89860972;hb=43880b201cea2b120fefd99696ae0b43227358dc;hp=5d5028cf1c49805752d817472b75e0b6c6f5def2;hpb=980012e1682fdb27c9b9ec27edea0b549d603f9d;p=flightgear.git diff --git a/src/Instrumentation/turn_indicator.hxx b/src/Instrumentation/turn_indicator.hxx index 5d5028cf1..b96873081 100644 --- a/src/Instrumentation/turn_indicator.hxx +++ b/src/Instrumentation/turn_indicator.hxx @@ -25,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 SGSubsystem { public: - TurnIndicator (); + TurnIndicator ( SGPropertyNode *node ); virtual ~TurnIndicator (); virtual void init (); @@ -53,6 +53,9 @@ private: Gyro _gyro; double _last_rate; + string _name; + int _num; + SGPropertyNode_ptr _roll_rate_node; SGPropertyNode_ptr _yaw_rate_node; SGPropertyNode_ptr _electric_current_node;