> It was asked in the German fgfs forum[1] if it's possible to log
> internal data to an XML file. Sure is!  :-)

There are probably several ways within Flightgear to do this. If one is
interested in flight dynamics parameters you can also do this in JSBSim in
the aircraft configuration file with an <output> element (where the rate is
in Hz):

<output name="MyOutputFile.csv" type="CSV" rate="40">
  <property> aero/qbar-psf </property>
  <rates> ON </rates>
  <velocities> ON </velocities>
  <forces> ON </forces>
  <moments> ON </moments>
  <position> ON </position>
</output>

This approach allows logging of "subsystems", as well as individual
properties. Changing a few attributes in the output element will change the
output to tab-delimited, or to output to socket, or to the console. Any
number of output elements can be specified.

For those using a JSBSim aircraft, this can be a good option.

JB



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to