Give the PC-7 a capacity of 474 liters of fuel

  The file Aircraft/pc7/specifications says the PC-7 can hold 474
  liters of fuel. At 15°C and about 0.8g/cm^3 that corresponds to
  379kg of jet fuel. 379 kg are 836 lbs, and those 836 lbs distributed
  evenly into two fuel tanks makes for 418 lbs of fuel per tank.

  This also requires the instrument scale to be adapted, to distribute
  those 420 pounds over 300 degrees instead of 2000 pounds. However,
  the image used for the instruments still shows a scale which just
  goes from "0" via "1" to "2". Someone else will have to fix that.

  As an additional check for the correctness of this, the effective
  range you get with this patch is reasonably similar to the numbers
  given in the "specifications" file.

Index: Aircraft/pc7/pc7.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/pc7/pc7.xml,v
retrieving revision 1.5
diff -u -p -r1.5 pc7.xml
--- Aircraft/pc7/pc7.xml        13 Mar 2006 15:27:15 -0000      1.5
+++ Aircraft/pc7/pc7.xml        22 Sep 2006 19:09:15 -0000
@@ -128,8 +128,8 @@
                 <y> 0 </y>
                 <z> -9.62645 </z>
             </location>
-            <capacity unit="LBS"> 118 </capacity>
-            <contents unit="LBS"> 100 </contents>
+            <capacity unit="LBS"> 418 </capacity>
+            <contents unit="LBS"> 410 </contents>
         </tank>
         <tank type="FUEL">    <!-- Tank number 1 -->
             <location unit="IN">
@@ -137,8 +137,8 @@
                 <y> 0 </y>
                 <z> -9.62645 </z>
             </location>
-            <capacity unit="LBS"> 118 </capacity>
-            <contents unit="LBS"> 100 </contents>
+            <capacity unit="LBS"> 418 </capacity>
+            <contents unit="LBS"> 410 </contents>
         </tank>
     </propulsion>
     <flight_control name="FCS: pc7">
Index: Aircraft/pc7/Instruments/fuel-0.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/pc7/Instruments/fuel-0.xml,v
retrieving revision 1.1
diff -u -p -r1.1 fuel-0.xml
--- Aircraft/pc7/Instruments/fuel-0.xml 29 Apr 2004 19:47:56 -0000      1.1
+++ Aircraft/pc7/Instruments/fuel-0.xml 22 Sep 2006 19:09:15 -0000
@@ -33,8 +33,8 @@
      <type>rotation</type>
      <property>consumables/fuel/tank[0]/level-lb</property>
       <min>0</min>
-      <max>2100</max>
-      <scale>0.144</scale>
+      <max>420</max>
+      <scale>0.714</scale>
       <offset>216</offset>
     </transformation>
     <transformation>
Index: Aircraft/pc7/Instruments/fuel-1.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/pc7/Instruments/fuel-1.xml,v
retrieving revision 1.1
diff -u -p -r1.1 fuel-1.xml
--- Aircraft/pc7/Instruments/fuel-1.xml 29 Apr 2004 19:47:56 -0000      1.1
+++ Aircraft/pc7/Instruments/fuel-1.xml 22 Sep 2006 19:09:15 -0000
@@ -33,8 +33,8 @@
      <type>rotation</type>
      <property>consumables/fuel/tank[1]/level-lb</property>
       <min>0</min>
-      <max>2100</max>
-      <scale>0.144</scale>
+      <max>420</max>
+      <scale>0.714</scale>
       <offset>216</offset>
     </transformation>
     <transformation>

-------------------------------------------------------------------------
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