1
0
Fork 0

- Corrected the XML example so it works in FG and without aborting.

This commit is contained in:
abory 2008-01-06 15:10:46 +00:00
parent 43cf56ad9a
commit 3ff4521146

View file

@ -13,24 +13,26 @@ a simple example that logs the rudder and aileron settings every
second (1000ms) to the file steering.csv, using a comma (the default, second (1000ms) to the file steering.csv, using a comma (the default,
anyway) as the field delimiter: anyway) as the field delimiter:
<PropertyList>
<logging> <logging>
<log> <log>
<enabled>true<enabled> <enabled>true</enabled>
<filename>steering.csv</filename> <filename>steering.csv</filename>
<interval-ms>1000</interval-ms> <interval-ms>1000</interval-ms>
<delimiter>,</delimiter> <delimiter>,</delimiter>
<entry> <entry>
<enabled>true</enabled> <enabled>true</enabled>
<title>Rudder</title> <title>Rudder</title>
<property>/controls/rudder</property> <property>/controls/flight/rudder</property>
</entry> </entry>
<entry> <entry>
<enabled>true</enabled> <enabled>true</enabled>
<title>Ailerons</title> <title>Ailerons</title>
<property>/controls/aileron</property> <property>/controls/flight/aileron</property>
</entry> </entry>
</log> </log>
</logging> </logging>
</PropertyList>
Each 'log' subbranch contains a required 'enabled' property, an Each 'log' subbranch contains a required 'enabled' property, an
optional 'filename' property (defaults to "fg_log.csv"), an optional optional 'filename' property (defaults to "fg_log.csv"), an optional