From: Hal V. E. <hv...@gm...> - 2011-02-14 06:58:17
|
I starting working on making the SCR-522C radio functional and ran into a problem. Looking at other devices in Aircraft/Instruments3d to see how I could initialize the device I found that the kma20 does this by using a initialization xml file that is included from the aircraft-set.xml file. So I copied how it was doing things. When working on this from an aircraft that is not located in $FG_ROOT (IE. my clone of fg-data using fg-aircraft=<my fgdata clone/my aircraft>) I was getting file not found errors. At first I though that perhaps I had a typo or something similar in my code but after looking things over very carefully I couldn't find the problem. So as a test I modified the aircraft-set.xml for the same aircraft in $FG_ROOT and tested with it and it didn't have the problem. I did some more testing and found if I run the aircraft from my development copy of fgdata it works but only if the xml file I am including in the aircraft-set.xml file is located in the same tree as the aircraft. So it does not find it in the $FG_ROOT directories like it should based on how the fg- aircraft stuff has been explained. Is this a bug or I am not understanding how this should work? Hal |