Hello,

I'm using CVS version of flightgear and flightgear-data. I've been
trying to use ki228 indicator in SenecaII. I found it doesn't show
correct heading. It seems that the property it gets the indicated
heading doesn't contain any value. It must be related to 
<heading-indicator> being commented out from 
Systems/SenecaII-instruments.xml

I'm attaching a small patch making this indicator use a heading from
kcs55 subsystem. The other heading source I found is
instrumentation/magnetic-compass/indicated-heading-deg, but I think that
kcs55 is a better source.

The other option is to make kcs55 also set the property 
instrumentation/heading-indicator/indicated-heading-deg (and perhaps 
others). That would add a small abstraction layer to make every 
direction showing instrument use one set of properties.


P.S. I really enjoy flying the SenecaII plane in FG. Good work!


Best regards,
Pawel



--- ki227_228.xml.orig  2009-10-25 22:39:48.000000000 +0100
+++ ki227_228.xml       2009-11-21 16:56:28.000000000 +0100
@@ -22,7 +22,7 @@
      <rotation-deg>instrumentation/adf[0]/rotation-deg</rotation-deg>
 
<adf-bearing-deg>instrumentation/adf[0]/indicated-bearing-deg</adf-bearing-deg>
 
<vor-bearing-deg>instrumentation/nav[0]/radials/reciprocal-radial-deg</vor-bearing-deg>
- 
<indicated-heading>instrumentation/heading-indicator/indicated-heading-deg</indicated-heading>
+ 
<indicated-heading>instrumentation/kcs55/kg102/indicated-heading-deg</indicated-heading>
    </params>

    <animation>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to