<?xml version="1.0"?>
<!-- $Id: cockpitSX.xml 3160 2009-03-31 23:22:21Z flixr $
--
-- (c) 2006 Pascal Brisset, Antoine Drouin
--
-- This file is part of paparazzi.
--
-- paparazzi is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2, or (at your option)
-- any later version.
--
-- paparazzi is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with paparazzi; see the file COPYING.  If not, write to
-- the Free Software Foundation, 59 Temple Place - Suite 330,
-- Boston, MA 02111-1307, USA.
-->

<!--
-- Attributes of root (Radio) tag :
-- name: name of RC
-- data_min: min width of a pulse to be considered as a data pulse
-- data_max: max width of a pulse to be considered as a data pulse
-- sync_min: min width of a pulse to be considered as a synchro pulse
-- sync_max: max width of a pulse to be considered as a synchro pulse
-- min, max and sync are expressed in micro-seconds
-->

<!--
-- Attributes of channel tag :
-- ctl: name of the command on the transmitter - only for displaying
-- function: logical command
-- average: (boolean) channel filtered through several frames (for discrete commands)
-- min: minimum pulse length (micro-seconds)
-- max: maximum pulse length (micro-seconds)
-- neutral: neutral pulse length (micro-seconds)
-- Note: a command may be reversed by exchanging min and max values
-->


<!--


<!DOCTYPE radio SYSTEM "radio.dtd">
<!--<serial name="Spektrum Serial" data_min="900pulse_type="NEGATIVE">////>
<radio name="DX7 on NoVa Frame" data_min="900" data_max="2100" sync_min ="5000" sync_max ="15000" pulse_type="POSITIVE">
 <channel ctl="right_stick_vert" function="THROTTLE"     max="1890" neutral="1096" min="1096" average="0"/>
 <channel ctl="right_stick_horiz" function="ROLL"    min="1104" neutral="1493" max="1881" average="0"/>
 <channel ctl="left_stick_vert" function="PITCH"      min="1873" neutral="1511" max="1104" average="0"/>
 <channel ctl="left_stick_horiz" function="YAW" min="1102" neutral="1505" max="1876" average="0"/>
 <channel ctl="switch_g" function="UNUSED"    min="2050" neutral="1500" max="948" average="1"/>
 <channel ctl="aux2" function="AUX1"     min="948" neutral="1496" max="2050" average="1"/>
 <channel ctl="aux3" function="SWITCH1"    min="1105" neutral="1500" max="1905" average="1"/>
 <channel ctl="switch_C" function="MODE"    min="1905" neutral="1506" max="1105" average="1"/>
</radio> -->


<!-- <!DOCTYPE radio SYSTEM "radio.dtd">
<!--<serial name="Spektrum Serial" data_min="900pulse_type="NEGATIVE">////>
<radio name="PM9x on NoVa Frame" data_min="900" data_max="2100" sync_min ="5000" sync_max ="15000" pulse_type="POSITIVE">
 <channel ctl="right_stick_vert" function="THROTTLE"     max="1883" neutral="1096" min="1096" average="0"/>
 <channel ctl="right_stick_horiz" function="ROLL"    min="1101" neutral="1490" max="1877" average="0"/>
 <channel ctl="left_stick_vert" function="PITCH"      min="1870" neutral="1491" max="1102" average="0"/>
 <channel ctl="left_stick_horiz" function="YAW" min="1101" neutral="1485" max="1870" average="0"/>
 <channel ctl="switch_g" function="UNUSED"    min="2050" neutral="1500" max="948" average="1"/>
 <channel ctl="aux2" function="SWITCH1"     min="948" neutral="1496" max="2050" average="1"/>
 <channel ctl="aux3" function="AUX1"    min="1103" neutral="1500" max="1876" average="1"/>
 <channel ctl="switch_C" function="MODE"    min="1878" neutral="1489" max="1105" average="1"/>
</radio> -->


<!DOCTYPE radio SYSTEM "radio.dtd">
<!--<serial name="Spektrum Serial" data_min="900 pulse_type="NEGATIVE">-->
<radio name="DX7 on NoVa Frame with AR7000 (malaysian)" data_min="900" data_max="2100" sync_min ="5000" sync_max ="15000" pulse_type="POSITIVE">
 <channel ctl="right_stick_vert" function="THROTTLE"     max="1883" neutral="1098" min="1098" average="0"/>
 <channel ctl="right_stick_horiz" function="ROLL"    min="1103" neutral="1491" max="1883" average="0"/>
 <channel ctl="left_stick_vert" function="PITCH"      min="1875" neutral="1491" max="1103" average="0"/>
 <channel ctl="left_stick_horiz" function="YAW" min="1104" neutral="1491" max="1871" average="0"/>
 <channel ctl="switch_g" function="UNUSED"    min="2050" neutral="1500" max="948" average="1"/>
 <channel ctl="aux2" function="SWITCH1"     min="1125" neutral="1523" max="1922" average="1"/>
 <channel ctl="switch_C" function="MODE"    min="1922" neutral="1523" max="1125" average="1"/>
 <channel ctl="aux3" function="AUX1"    min="1103" neutral="1500" max="1876" average="1"/>
</radio>

