X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fheading_indicator.hxx;h=4ba772d22a93ddb11ba110e54046329f00f7aa26;hb=ef52b23e3a1aaf44d1a2283c920a70367960abff;hp=75b1bc5c3c41493e149412a54dc9b87cd3aed067;hpb=980012e1682fdb27c9b9ec27edea0b549d603f9d;p=flightgear.git diff --git a/src/Instrumentation/heading_indicator.hxx b/src/Instrumentation/heading_indicator.hxx index 75b1bc5c3..4ba772d22 100644 --- a/src/Instrumentation/heading_indicator.hxx +++ b/src/Instrumentation/heading_indicator.hxx @@ -20,25 +20,24 @@ /** * Model a vacuum-powered heading indicator. * - * This first, simple draft is hard-wired to vacuum pump #1. - * * Input properties: * - * /instrumentation/heading-indicator/serviceable - * /instrumentation/heading-indicator/spin - * /instrumentation/heading-indicator/offset-deg + * /instrumentation/"name"/serviceable + * /instrumentation/"name"/spin + * /instrumentation/"name"/offset-deg * /orientation/heading-deg - * /systems/vacuum[0]/suction-inhg + * "vacuum_system"/suction-inhg * * Output properties: * - * /instrumentation/heading-indicator/indicated-heading-deg + * /instrumentation/"name"/indicated-heading-deg */ class HeadingIndicator : public SGSubsystem { public: + HeadingIndicator ( SGPropertyNode *node ); HeadingIndicator (); virtual ~HeadingIndicator (); @@ -52,6 +51,10 @@ private: Gyro _gyro; double _last_heading_deg; + string name; + int num; + string vacuum_system; + SGPropertyNode_ptr _offset_node; SGPropertyNode_ptr _heading_in_node; SGPropertyNode_ptr _suction_node;