Stefan Seifert wrote:
> On Wednesday, 28. January 2009, Jon S. Berndt wrote:
> 
>> Is there sometimes confusion as to how or where to apply changes to JSBSim
>> code or aircraft models? Do we need to work on easing the process of
>> integration into FlightGear? More frequent synchs? (we'd need additional
>> volunteers, and/or I'd have to step in - I don't want to make more work for
>> anyone else).
> 
> Speaking of volunteers: what does the sync work look like?

I've created two shell utilities in the admin directory of JSBSim, make 
sure you run them both in the root of JSBSim:

1.
admin/jsb2fg <path to FlightGear-source root directory>
e.g. admin/jsb2fg ../FlightGear

This copies over the JSBSim source files to the appropriate directory in 
the FlightGear source tree. It outputs a list of copied files (only 
files that differ are copied) folowed by a list of files that are in 
JSBSim but not in FlightGear. Those have to be hand copied if required. 
Currently there are four files that are not required within FlightGear:

     ./initialization/FGTrimAnalysis.cpp
     ./initialization/FGTrimAnalysis.h
     ./initialization/FGTrimAnalysisControl.cpp
     ./initialization/FGTrimAnalysisControl.h

2.
admin/syncacft <path to FlightGear base package/Aircraft>
e.g. admin/syncacft /usr/local/FlightGear/data/Aircraft

This will copy the appropriate configuration files to their correct 
location in the FlightGear base package. This utility however could be 
overwriting newer configuration files that way.

It will copy aircraft, engine and thruster confuguration files, but not 
yet system files.

This utility prints a list of files that are in JSBSim but not in 
FlightGear and a list of files that are in FlightGear but not JSBSim.

Erik



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to