|
From: Stuart B. <stu...@gm...> - 2023-07-26 15:05:13
|
Hi Wayne,
On Thu, Jul 20, 2023 at 5:06 PM Wayne Bragg wrote:
> I think this is mainly for Stuart,
>
>
>
> I notice the FG1000 does not include the ADF/DME option, it would be
> between the CDI and XPDR buttons. Yet it does have the option in the BRG
> choices and it does popup a (non-animated) bearing needle on the rose when
> activated. I added the KR87 radio along side the fg1000 so you could tune
> the ADF. The ADF bearing is active in the property tree.
>
>
>
> Can you shed some light on this for us. Is it available? Maybe our ADF
> property doesn’t match what the fg1000 needs? Isn’t finished?
>
>
>
> If it is not finished, is there something I can do to help.
>
Apologies for the delayed response - I've been on vacation.
I had a quick look at the code for this. I suspect I never finished it nor
tested it.
I can see two immediate issues that you should be able to fix yourself:
1) The properties mapping is incorrect, as you noticed.
The FG1000 is reading from the following properties (in
Aircraft/Instruments-3d/FG1000/Nasal/Interfaces/GenericNavComPublisher.nas,
line 104-108):
obj._triggeredPublisher.addPropMap("ADFSelectedFreq",
"/instrumentation/adf/frequencies/selected-khz");
obj._periodicPublisher.addPropMap("ADFInRange",
"/instrumentation/adf/in-range");
obj._periodicPublisher.addPropMap("ADFHeadingDeg",
"/instrumentation/adf/indicated-bearing-deg");
obj._triggeredPublisher.addPropMap("ADFVolume",
"/instrumentation/adf/volume-norm");
obj._triggeredPublisher.addPropMap("ADFServiceable",
"/instrumentation/adf/operable");
It looks like the KR87 uses a different set of properties under
/instrumentation/kr-87/
Given that the KR87 is the only supported ADF, I think the correct solution
here is to modify the FG1000 to use the correct properties. You can edit
the file reference above and send me a diff for merging.
2) It doesn't look like any values are being sent back from the FG1000 into
the property tree. It's unclear to me whether there should be any aspect
of the KR87 that is controlled from the FG1000, except perhaps the audio
controls from the GMA1347?
If we do need to pass back any values it would require updating
Aircraft/Instruments-3d/FG1000/Nasal/Interfaces/GenericNavComUpdater.nas to
map the Emesary message to the property.
Hope this helps and let me know if you have any questions.
-Stuart
|