<?xml version="1.0"?>

<PropertyList>
 <comment>
  <![CDATA[
    Usage:
  
    Output:    fgfs --generic=socket,out,50,localhost,5505,udp,fgsimout
    Input:     fgfs --generic=socket,in,50,,5507,udp,fgsimin2
  ]]>
 </comment>

 <generic>

  <output>
   <line_separator>newline</line_separator>
   <var_separator>,</var_separator>
   
   <!-- time -->
   <chunk>
    <name>gmt-string</name>
    <type>string</type>
    <format>%s</format>
    <node>/sim/time/gmt-string</node>
   </chunk>
   
   <chunk>
    <name>day</name>
    <type>int</type>
    <format>%d</format>
    <node>/sim/time/utc/day</node>
   </chunk>
   
   <chunk>
    <name>month</name>
    <type>int</type>
    <format>%d</format>
    <node>/sim/time/utc/month</node>
   </chunk>
   
   <chunk>
    <name>year</name>
    <type>int</type>
    <format>%d</format>
    <node>/sim/time/utc/year</node>
   </chunk>
   
   <chunk>
    <name>elapsed-sec</name>
    <type>float</type>
    <format>%.3f</format>
    <node>/sim/time/elapsed-sec</node>
   </chunk>
   

   <!-- Position -->
   <chunk>
    <name>latitude-deg</name>
    <type>float</type>
    <format>%f</format>
    <node>/position/latitude-deg</node>
   </chunk>

   <chunk>
    <name>longitude-deg</name>
    <type>float</type>
    <format>%f</format>
    <node>/position/longitude-deg</node>
   </chunk>

   <!-- Altitude above mean sea level -->
   <chunk>
    <name>altitude-ft</name>
    <type>float</type>
    <format>%f</format>
    <node>/position/altitude-ft</node>
   </chunk>

   <!-- Altitude above ground level -->
   <chunk>
    <name>altitude-agl-ft</name>
    <type>float</type>
    <format>%f</format>
    <node>/position/altitude-agl-ft</node>
   </chunk>
   
   <!-- Acceleration -->
   
   <chunk>
    <name>x-accel-fps_sec</name>
    <type>float</type>
    <format>%.3f</format>
    <node>/accelerations/pilot/x-accel-fps_sec</node>
   </chunk>
   
   <chunk>
    <name>y-accel-fps_sec</name>
    <type>float</type>
    <format>%.3f</format>
    <node>/accelerations/pilot/y-accel-fps_sec</node>
   </chunk>
   
   <chunk>
    <name>z-accel-fps_sec</name>
    <type>float</type>
    <format>%.3f</format>
    <node>/accelerations/pilot/z-accel-fps_sec</node>
   </chunk>
   
   <!-- Gyro rates -->
   <chunk>
    <name>pitch-rate-degps</name>
    <type>float</type>
    <format>%.3f</format>
    <node>/orientation/pitch-rate-degps</node>
   </chunk>
   
   <chunk>
    <name>roll-rate-degps</name>
    <type>float</type>
    <format>%.3f</format>
    <node>/orientation/roll-rate-degps</node>
   </chunk>
   
   <chunk>
    <name>yaw-rate-degps</name>
    <type>float</type>
    <format>%.3f</format>
    <node>/orientation/yaw-rate-degps</node>
   </chunk>
   
   <!-- Orientation -->
   <chunk>
    <name>roll-deg</name>
    <type>float</type>
    <format>%.3f</format>
    <node>/orientation/roll-deg</node>
   </chunk>

   <chunk>
    <name>pitch-deg</name>
    <type>float</type>
    <format>%.3f</format>
    <node>/orientation/pitch-deg</node>
   </chunk>

   <chunk>
    <name>heading-deg</name>
    <type>float</type>
    <format>%.1f</format>
    <node>/orientation/heading-deg</node>
   </chunk>

   <!-- Velocities -->
   <chunk>
     <name>airspeed-kt</name>
     <type>float</type>
     <format>%.1f</format>
     <node>/velocities/airspeed-kt</node>
   </chunk>
   
   <chunk>
     <name>groundspeed-kt</name>
     <type>float</type>
     <format>%.1f</format>
     <node>/velocities/groundspeed-kt</node>
   </chunk>
   
   <!-- auxillary -->
   <chunk>
     <name>engine-rpm</name>
     <type>float</type>
     <format>%.1f</format>
     <node>/engines/engine/rpm</node>
   </chunk>
   
  </output>
 </generic>

</PropertyList>

