From: Bill G. <bi...@be...> - 2010-12-17 14:29:00
|
> -----Original Message----- > From: Ron Jensen [mailto:wi...@je...] > Sent: Friday, December 17, 2010 9:20 AM > To: Development issues > Subject: Re: [Jsbsim-devel] How do I change the code? > > On Friday 17 December 2010 06:50:01 Bill Galbraith wrote: > > > -----Original Message----- > > > From: Ron Jensen [mailto:wi...@je...] > > > Sent: Thursday, December 16, 2010 10:40 PM > > > To: Development issues > > > Subject: Re: [Jsbsim-devel] How do I change the code? > > > > > > While we're on this road, it would be nice to have a way to break > > > out of the aircraft_name/aircraft_name.xml paradigm so we > can run FG > > > aircraft out of the box. > > > > What do you mean by that? I don't do the FG game much, but a quick > > looks shows that they have the same directory structure, just under > > the data directory. > > > > Bill > > In JSBSim stand-alone the directory name and the aircraft xml > name must be an exact match. In Flightgear they do not. > Flightgear scans all the directories under Aircraft/ for > files called *-set.xml and parses those to find the > appropriate $(fdm).xml to load. > > What I am thinking is we should allow the full path > specification for the aircraft xml file. > > Ron Oh yeah. That sounds familar. When I first started digging into FG, I was amazed that the simple name (C172.xml) was used for the FDM, and the more complex name (C172-set.xml) was the overall aircraft model. I wondered why it wasn't reversed, with the FDM file called C172-FDM.xml or C172-JSB.xml. Thanks Bill |