[pkg-fgfs-crew] Bug#760698: flightgear-data-aircrafts: SenecaII: incorrect fuel flow indication in the 3D cockpit

Ludovic Brenta ludovic at ludovic-brenta.org
Sun Sep 7 00:22:02 UTC 2014


Package: flightgear-data-aircrafts
Version: 3.0.0-1
Severity: minor
Tags: patch

There is a discrepancy between the value of the
/engines/engine[...]/fuel-flow-gph and the indication on the fuel flow
gauge in the 3D panel.  The neeles indicate a value much higher than the
actual.  This is because the gauge (SenecaII/Instruments-3d/Faces3.rgb)
uses a nonlinear scale whereas SenecaII/Instruments-3d/FuelFlow.xml
specifies a linear relationship between fuel flow and the angle of the
needles.  Patch attached, replacing the linear relationship with a
nonlinear one using interpolation.

----------------------------------------------------------------------
Revision: 8d69756b4f776ed902c59f921a6e0b21bdc2bc9a
Parent:   4de47308fec1a8d3354ed0e0846f4574a40bbb71
Author:   Ludovic Brenta
Date:     2014-09-07T02:15:20
Branch:   org.flightgear.aircraft.SenecaII

Changelog: 

* The scale of the fuel flow gauge is nonlinear; drive the needles accordingly.

Changes against parent 4de47308fec1a8d3354ed0e0846f4574a40bbb71

  patched  Instruments-3d/FuelFlow.xml

============================================================
--- Instruments-3d/FuelFlow.xml	0fcd4e1dc4f0ac24be9d5f9e45d9164b6d859527
+++ Instruments-3d/FuelFlow.xml	90c293bb927c1d6641363510971948cdc23aa42d
@@ -39,7 +39,23 @@
         <type>rotate</type>
         <object-name>Left</object-name>
         <property>engines/engine[0]/fuel-flow-gph</property>
-        <factor>-10.4</factor>
+        <interpolation>
+          <entry><ind> 0.0</ind><dep>   0.0</dep></entry>
+          <entry><ind> 8.0</ind><dep> -61.0</dep></entry>
+          <entry><ind> 9.0</ind><dep> -67.0</dep></entry>
+          <entry><ind>10.0</ind><dep> -74.0</dep></entry>
+          <entry><ind>11.0</ind><dep> -83.0</dep></entry>
+          <entry><ind>12.0</ind><dep> -91.0</dep></entry>
+          <entry><ind>13.0</ind><dep>-101.0</dep></entry>
+          <entry><ind>14.0</ind><dep>-112.0</dep></entry>
+          <entry><ind>15.0</ind><dep>-123.0</dep></entry>
+          <entry><ind>16.0</ind><dep>-133.0</dep></entry>
+          <entry><ind>17.0</ind><dep>-144.0</dep></entry>
+          <entry><ind>18.0</ind><dep>-156.0</dep></entry>
+          <entry><ind>19.0</ind><dep>-167.0</dep></entry>
+          <entry><ind>20.0</ind><dep>-180.0</dep></entry>
+          <entry><ind>25.0</ind><dep>-260.0</dep></entry>
+        </interpolation>
         <center>
             <x-m>0.0</x-m>
             <y-m>0.0</y-m>
@@ -55,7 +71,23 @@
         <type>rotate</type>
         <object-name>Right</object-name>
         <property>engines/engine[1]/fuel-flow-gph</property>
-        <factor>-10.4</factor>
+        <interpolation>
+          <entry><ind> 0.0</ind><dep>   0.0</dep></entry>
+          <entry><ind> 8.0</ind><dep> -61.0</dep></entry>
+          <entry><ind> 9.0</ind><dep> -67.0</dep></entry>
+          <entry><ind>10.0</ind><dep> -74.0</dep></entry>
+          <entry><ind>11.0</ind><dep> -83.0</dep></entry>
+          <entry><ind>12.0</ind><dep> -91.0</dep></entry>
+          <entry><ind>13.0</ind><dep>-101.0</dep></entry>
+          <entry><ind>14.0</ind><dep>-112.0</dep></entry>
+          <entry><ind>15.0</ind><dep>-123.0</dep></entry>
+          <entry><ind>16.0</ind><dep>-133.0</dep></entry>
+          <entry><ind>17.0</ind><dep>-144.0</dep></entry>
+          <entry><ind>18.0</ind><dep>-156.0</dep></entry>
+          <entry><ind>19.0</ind><dep>-167.0</dep></entry>
+          <entry><ind>20.0</ind><dep>-180.0</dep></entry>
+          <entry><ind>25.0</ind><dep>-260.0</dep></entry>
+        </interpolation>
         <axis>
             <x>1</x>
             <y>0</y>


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (10000, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



More information about the pkg-fgfs-crew mailing list