From: Bertrand C. <bco...@gm...> - 2018-03-18 13:44:45
|
Rex, 2018-03-18 14:30 GMT+01:00 Rex du Pont <rex...@gm...>: > Bertrand, > Now I have a new problem: I set up a file "aircraft" (instead of > Aircraft as in fgfs) and got to a new level of complicaiton: > Yes you need the following following directory tree for JSBSim to work /path/from/which/you/run/JSBSim | |- aircraft/ |- engine/ |- systems/ Alternatively you can use --root to point to the directory where aircraft, engine and systems are located. > The error message is now: > > YOU HAVE AN INCOMPATIBLE CFG FILE FOR THIS AIRCRAFT. ... > Current version is: 2.0 > you have version: > > I will go back and see what is needed from a current aircraft file > (presumably at least a version number). > You are probably using the old XML format: JSBSim moved to a new syntax for the XML configuration files many years ago. If that is the case, the modification of the version number in your files will probably not be sufficient: you'll have to update your XML configuration files to the new syntax. > > By the way, from your name, are you in France? > I am indeed. > > thank you et merci! > > Rex du Pont > De rien. Bertrand. > > > > On Sun, Mar 18, 2018 at 7:52 AM, Bertrand Coconnier <bco...@gm...> > wrote: > >> Hi Rex, >> >> 2018-03-17 16:41 GMT+01:00 Rex du Pont <rex...@gm...>: >> >>> to jsbsim-users >>> I have downloaded and compiled the full FlightGear program but want to >>> run the JSBSim subset. The main prograhang on some ownership problem with >>> qT. >>> >>> I am trying to start JSBSim, but I do not seem to have the correct sort >>> of startup script. >>> The Aircraft folder is several steps away from the main program and I >>> tried this: >>> >>> From the Aircraft/dp2/ folder I tried: >>> >>> sudo ../../bin/JSBSim --script=reset00.xml (which specifies where >>> the aircraft is Lat Lon Alt, etc). >>> >>> I get the following: >>> >>> JSBSim startup beginning ... >>> >>> File: Path "reset000.xml" is not a script file >>> >>> What has to be in a simple script startup file? The one in the manual >>> is very complex. >>> >> >> You have plenty of examples in the directory 'scripts' in JSBSim source >> code (https://github.com/JSBSim-Team/jsbsim/tree/master/scripts) >> A simple script might be https://github.com/JSBSim-Team >> /jsbsim/blob/master/scripts/c1724.xml >> >> >>> >>> I tried yesterday with a photo of the screen, but it was too big. And I >>> found a stupid misteak in it anyway. >>> >>> Thank you, >>> >>> Rex du Pont >>> >> >> Regards, >> >> Bertrand. >> > |