There is a fix for this in JSBSim CVS. It should not be getting called in
FlightGear. It is used in the standalone version of JSBSim to generate a
"reset" file at a particular time, so that the aircraft can start at that
point in the same (roughly) state, later on in another run.

Jon


> -----Original Message-----
> From: Sébastien MARQUE [mailto:seb.mar...@free.fr]
> Sent: Friday, January 30, 2009 6:31 PM
> To: FlightGear developers discussions
> Subject: [Flightgear-devel] initfile.xml file created with jsbsim
> aircraft
> 
> Hi all,
> 
> I've just noticed that at least these jsbsim aircrafts create a file
> named "initfile.xml", inside the directory I use to launch FG. Here is
> the file content:
> <?xml version="1.0"?>
> <initialize name="reset00">
>    <ubody unit="FT/SEC"> 0 </ubody>
>    <vbody unit="FT/SEC"> 0 </vbody>
>    <wbody unit="FT/SEC"> 0 </wbody>
>    <phi unit="DEG"> 0 </phi>
>    <theta unit="DEG"> -0 </theta>
>    <psi unit="DEG"> 0 </psi>
>    <longitude unit="DEG"> 0 </longitude>
>    <latitude unit="DEG"> 0 </latitude>
>    <altitude unit="FT"> 0 </altitude>
> </initialize>
> 
> that is not so disturbing as long as I don't have an important file
> already named initfile.xml in the directory I use to launch FG :p, but
> it is surprising to see that FG can write everywhere.
> 
> When I try to launch FG from /etc (with no write permissions) I've got
> the following message in terminal: "Could not open and/or write the
> state to the initial conditions file: initfile.xml", and FG continues
> gently.
> 
> What is the purpose of this file?
> 
> I'm using FG/CVS freshly compiled.
> 
> best regards
> seb
> 
> -----------------------------------------------------------------------
> -------
> 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


------------------------------------------------------------------------------
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