Hi All,

Attached below is a patch for the pc7. It fixes two issues:

- Error in the panel that attempted to pick up an non-existant
  attitude-indicator.
- Incorrect fuel load that provided only 10 minutes of flight before fuel
  starvation.

-Stuart

Index: pc7-set.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/pc7/pc7-set.xml,v
retrieving revision 1.9
diff -u -r1.9 pc7-set.xml
--- pc7-set.xml 12 Sep 2006 17:16:41 -0000      1.9
+++ pc7-set.xml 6 Jan 2007 11:38:15 -0000
@@ -21,6 +21,24 @@
    <electrical>
     <path>Aircraft/pc7/pc7-electrical.xml</path>
    </electrical>
+
+   <pitot>
+    <name>pitot</name>
+    <number>0</number>
+   </pitot>
+
+   <static>
+    <name>static</name>
+    <number>0</number>
+   </static>
+
+   <vacuum>
+    <name>vacuum</name>
+    <number>0</number>
+    <rpm>/engines/engine[0]/rpm</rpm>
+    <scale>1.0</scale>
+   </vacuum>
+
   </systems> 
 
   <sound>
@@ -62,6 +80,8 @@
  <engines>
   <engine n="0">
    <running>true</running>
+   <!-- Bogus RPM value to drive vacuum pump until we define a proper
prop -->
+   <rpm>1800</rpm>
   </engine>
  </engines>
 
Index: pc7.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/pc7/pc7.xml,v
retrieving revision 1.5
diff -u -r1.5 pc7.xml
--- pc7.xml     13 Mar 2006 15:27:15 -0000      1.5
+++ pc7.xml     6 Jan 2007 11:36:47 -0000
@@ -128,8 +128,12 @@
                 <y> 0 </y>
                 <z> -9.62645 </z>
             </location>
-            <capacity unit="LBS"> 118 </capacity>
-            <contents unit="LBS"> 100 </contents>
+            <!-- 
+                       Total internal fuel - 474 litres
+                       Specific gravity of JetA is 0.8
+               -->
+            <capacity unit="LBS"> 417 </capacity>
+            <contents unit="LBS"> 350 </contents>
         </tank>
         <tank type="FUEL">    <!-- Tank number 1 -->
             <location unit="IN">
@@ -137,8 +141,8 @@
                 <y> 0 </y>
                 <z> -9.62645 </z>
             </location>
-            <capacity unit="LBS"> 118 </capacity>
-            <contents unit="LBS"> 100 </contents>
+            <capacity unit="LBS"> 417 </capacity>
+            <contents unit="LBS"> 350 </contents>
         </tank>
     </propulsion>
     <flight_control name="FCS: pc7">
Index: Panels/pc7-panel.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/pc7/Panels/pc7-panel.xml,v
retrieving revision 1.2
diff -u -r1.2 pc7-panel.xml
--- Panels/pc7-panel.xml        7 Nov 2006 21:03:11 -0000       1.2
+++ Panels/pc7-panel.xml        6 Jan 2007 12:06:51 -0000
@@ -25,7 +25,7 @@
    <h>90</h>
   </instrument>
 
-  <instrument include="../Instruments/attitude-indicator.xml">
+  <instrument include="../../Instruments/attitude-indicator.xml">
    <name>Backup AI</name>
    <x>300</x>
    <y>150</y>


Send instant messages to your online friends http://uk.messenger.yahoo.com 

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