Hi!

I noticed that T38 doesn't display range to dme. It uses the
/instrumentation/dme/distance-nm property, whereas I think it should
use /instrumentation/dme/indicated-distance-nm.
I have replaced all three occurrences of this property in the data
xmls along with one occurrence in the network code which I am not sure
about.

Greets,
Jester
Index: data/Aircraft/Instruments/nav3.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/Instruments/nav3.xml,v
retrieving revision 1.4
diff -u -r1.4 nav3.xml
--- data/Aircraft/Instruments/nav3.xml  3 Dec 2004 21:25:49 -0000       1.4
+++ data/Aircraft/Instruments/nav3.xml  21 Feb 2007 01:02:32 -0000
@@ -73,7 +73,7 @@
     <chunks>
      <chunk>
       <type>number-value</type>
-      <property>/instrumentation/dme/distance-nm</property>
+      <property>/instrumentation/dme/indicated-distance-nm</property>
       <format>%3.1f</format>
      </chunk>
     </chunks>
Index: data/Aircraft/T38/Instruments/T38-HSI.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/T38/Instruments/T38-HSI.xml,v
retrieving revision 1.4
diff -u -r1.4 T38-HSI.xml
--- data/Aircraft/T38/Instruments/T38-HSI.xml   3 Dec 2004 21:25:50 -0000       
1.4
+++ data/Aircraft/T38/Instruments/T38-HSI.xml   21 Feb 2007 01:02:37 -0000
@@ -231,7 +231,7 @@
     <chunks>
      <chunk>
       <type>number-value</type>
-      <property>/instrumentation/dme/distance-nm[0]</property>
+      <property>/instrumentation/dme/indicated-distance-nm[0]</property>
       <format>%4.1f</format>
      </chunk>
     </chunks>
Index: data/Aircraft/pc7/Instruments/HSI.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/pc7/Instruments/HSI.xml,v
retrieving revision 1.2
diff -u -r1.2 HSI.xml
--- data/Aircraft/pc7/Instruments/HSI.xml       3 Dec 2004 21:25:54 -0000       
1.2
+++ data/Aircraft/pc7/Instruments/HSI.xml       21 Feb 2007 01:02:42 -0000
@@ -231,7 +231,7 @@
     <chunks>
      <chunk>
       <type>number-value</type>
-      <property>/instrumentation/dme/distance-nm[0]</property>
+      <property>/instrumentation/dme/indicated-distance-nm[0]</property>
       <format>%4.1f</format>
      </chunk>
     </chunks>
Index: source/src/Network/native_gui.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Network/native_gui.cxx,v
retrieving revision 1.19
diff -u -r1.19 native_gui.cxx
--- source/src/Network/native_gui.cxx   21 Feb 2006 01:19:47 -0000      1.19
+++ source/src/Network/native_gui.cxx   21 Feb 2007 01:30:51 -0000
@@ -309,7 +309,7 @@
         fgSetDouble( "/instrumentation/nav[0]/frequencies/selected-mhz",
                      net->tuned_freq );
         fgSetBool( "/instrumentation/nav[0]/in-range", net->in_range );
-        fgSetDouble( "/instrumentation/dme/distance-nm", net->dist_nm );
+        fgSetDouble( "/instrumentation/dme/indicated-distance-nm", 
net->dist_nm );
         fgSetDouble( "/instrumentation/nav[0]/heading-needle-deflection",
                      net->course_deviation_deg );
         fgSetDouble( "/instrumentation/nav[0]/gs-needle-deflection",
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to