]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/kr_87.hxx
fix NAV receiver vs GPS bugs
[flightgear.git] / src / Instrumentation / kr_87.hxx
index 1664352abcc83904fbe3f99a837f536146eabc2a..e59beba7b729cc2b6a340f000a8b69ff95b84f13 100644 (file)
@@ -34,6 +34,7 @@
 #include <Navaids/navlist.hxx>
 #include <Sound/morse.hxx>
 
+class SGSampleGroup;
 
 class FGKR_87 : public SGSubsystem
 {
@@ -59,9 +60,7 @@ class FGKR_87 : public SGSubsystem
     double effective_range;
     double dist;
     double heading;
-    double x;
-    double y;
-    double z;
+    SGVec3d xyz;
     double goal_needle_deg;
     double et_flash_time;
 
@@ -106,6 +105,8 @@ class FGKR_87 : public SGSubsystem
     // internal periodic station search timer
     double _time_before_search_sec;
 
+    SGSharedPtr<SGSampleGroup> _sgr;
+
 public:
 
     FGKR_87( SGPropertyNode *node );