- Corrected the XML example so it works in FG and without aborting.
This commit is contained in:
parent
43cf56ad9a
commit
3ff4521146
1 changed files with 5 additions and 3 deletions
|
@ -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,
|
||||
anyway) as the field delimiter:
|
||||
|
||||
<PropertyList>
|
||||
<logging>
|
||||
<log>
|
||||
<enabled>true<enabled>
|
||||
<enabled>true</enabled>
|
||||
<filename>steering.csv</filename>
|
||||
<interval-ms>1000</interval-ms>
|
||||
<delimiter>,</delimiter>
|
||||
<entry>
|
||||
<enabled>true</enabled>
|
||||
<title>Rudder</title>
|
||||
<property>/controls/rudder</property>
|
||||
<property>/controls/flight/rudder</property>
|
||||
</entry>
|
||||
<entry>
|
||||
<enabled>true</enabled>
|
||||
<title>Ailerons</title>
|
||||
<property>/controls/aileron</property>
|
||||
<property>/controls/flight/aileron</property>
|
||||
</entry>
|
||||
</log>
|
||||
</logging>
|
||||
</PropertyList>
|
||||
|
||||
Each 'log' subbranch contains a required 'enabled' property, an
|
||||
optional 'filename' property (defaults to "fg_log.csv"), an optional
|
||||
|
|
Loading…
Reference in a new issue