]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/heading_indicator_fg.hxx
commradio: typo: cuttoff --> cutoff
[flightgear.git] / src / Instrumentation / heading_indicator_fg.hxx
index 0ddf98506d503d3f2bb4ca35f6570876894c4191..9ed2bce0bc77a46b2e75a922f1aa1f0dc8990249 100644 (file)
@@ -18,7 +18,7 @@
 
 
 /**
- * Model an electicallym-powered fluxgate compass
+ * Model an electically-powered fluxgate compass
  *
  * Input properties:
  *
@@ -41,8 +41,9 @@ public:
     HeadingIndicatorFG ();
     virtual ~HeadingIndicatorFG ();
 
-    virtual void init ();   
-    virtual void bind (); 
+    virtual void init ();
+    virtual void reinit ();
+    virtual void bind ();
     virtual void unbind ();
     virtual void update (double dt);
 
@@ -51,7 +52,7 @@ private:
     Gyro _gyro;
     double _last_heading_deg;
 
-    string name;
+    std::string name;
     int num;
     
     SGPropertyNode_ptr _offset_node;
@@ -61,6 +62,7 @@ private:
        SGPropertyNode_ptr _electrical_node;
        SGPropertyNode_ptr _error_node;
        SGPropertyNode_ptr _nav1_error_node;
+    SGPropertyNode_ptr _off_node;