The new c172p aircraft is beautiful (thank you, Heiko!), but the panel
is not quite finished.
In particular, the needle on the ADF gauge (KI-227) does not function,
and the card cannot be rotated.

NDBs are still important in my part of the world (Canada) so I needed
to get that needle to move. (I can live without the card rotation.)

I finally found the XML file controlling this:
              Aircraft/c172p/Instruments/kr87-adf/ki227-00.xml .

This file has section:
     <animation>
        <type>rotate</type>
        <object-name>KI227.needle</object-name>
        <property>/instrumentation/kr-87/outputs/needle-deg</property>
        <axis>
            <x>-1</x>
            <y>0</y>
            <z>0</z>
        </axis>
    </animation>

But, using the property browser dialog, I found that "needle-deg" has no
value, although the frequencies are there and the KR-87 seems to be working
fine otherwise.

The property section for the ADF of the previous c172p is still there,
and -- surprise! -- the property "Instrumentation/adf/indicated-bearing-deg"
has the needed value.

So replacing 
        <property>/instrumentation/kr-87/outputs/needle-deg</property>
with
        <property>/instrumentation/adf/indicated-bearing-deg</property>
produces a working ("relative bearing" type) ADF gauge.

I assume Heiko has further plans for the new c172p panel. However, this
patch could be used if there is not enough time to carry them out before
the impending new release...

cheers,

david.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to