Skip to content
connector_flightgear_uav.xml 3.03 KiB
Newer Older
<PropertyList>
 <generic>
  <output>
   <line_separator>newline</line_separator>
   <var_separator>,</var_separator>

   <chunk>
    <name>lat</name>
    <type>float</type>
    <format>%+1.8f</format>
    <node>/position/latitude-deg</node>
   </chunk>

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

   <chunk>
    <name>alt</name>
    <type>float</type>
    <format>%+1.4f</format>
    <node>/position/altitude-ft</node>
   </chunk>


   <chunk>
    <name>speed</name>
    <type>float</type>
    <format>%2.3f</format>
    <node>/velocities/groundspeed-kt</node>
   </chunk>

   <chunk>
    <name>airspeed</name>
    <type>float</type>
    <format>%2.3f</format>
    <node>/velocities/airspeed-kt</node>
   </chunk>



   <chunk>
    <name>pitch</name>
    <type>float</type>
    <format>%+1.3f</format>
    <node>/orientation/pitch-deg</node>
   </chunk>

   <chunk>
    <name>roll</name>
    <type>float</type>
    <format>%+1.3f</format>
    <node>/orientation/roll-deg</node>
   </chunk>

   <chunk>
    <name>heading</name>
    <type>float</type>
    <format>%+1.3f</format>
    <node>/orientation/heading-deg</node>
   </chunk>

   <chunk>
    <name>v_n</name>
    <type>float</type>
    <format>%2.3f</format>
    <node>/velocities/speed-north-fps</node>
   </chunk>

   <chunk>
    <name>v_e</name>
    <type>float</type>
    <format>%2.3f</format>
    <node>/velocities/speed-east-fps</node>
   </chunk>

   <chunk>
    <name>v_d</name>
    <type>float</type>
    <format>%2.3f</format>
    <node>/velocities/speed-down-fps</node>
   </chunk>


   <chunk>
    <name>rate_phi</name>
    <type>float</type>
    <format>%2.3f</format>
    <node>/orientation/roll-rate-degps</node>
   </chunk>

   <chunk>
    <name>rate_theta</name>
    <type>float</type>
    <format>%2.3f</format>
    <node>/orientation/pitch-rate-degps</node>
   </chunk>

   <chunk>
    <name>rate_psi</name>
    <type>float</type>
    <format>%2.3f</format>
    <node>/orientation/yaw-rate-degps</node>
   </chunk>


  </output>

 <input>
   <line_separator>newline</line_separator>
   <var_separator>,</var_separator>

   <chunk>
    <name>pitch</name>
    <type>float</type>
    <format>%+1.3f</format>
    <node>/autopilot/settings/target-pitch-deg</node>
   </chunk>

   <chunk>
    <name>roll</name>
    <type>float</type>
    <format>%+1.3f</format>
    <node>/autopilot/settings/target-roll-deg</node>
   </chunk>

   <chunk>
    <name>throttle</name>
    <type>float</type>
    <format>%+1.3f</format>
    <node>/controls/engines/engine/throttle</node>
   </chunk>

   <chunk>
    <name>lat</name>
    <type>float</type>
    <format>%+1.8f</format>
    <node>/sim/view/target/latitude-deg</node>
   </chunk>

   <chunk>
    <name>lon</name>
    <type>float</type>
    <format>%+1.8f</format>
    <node>/sim/view/target/longitude-deg</node>
   </chunk>

   <chunk>
    <name>alt</name>
    <type>float</type>
    <format>%+1.4f</format>
    <node>/sim/view/target/alt</node>
   </chunk>

  </input>

 </generic>
</PropertyList>