mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
61 lines
2.9 KiB
XML
61 lines
2.9 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
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
|
|
pulse_type: POSITIVE ( Futaba and others) | NEGATIVE (JR)
|
|
min, max and sync are expressed in micro-seconds
|
|
-->
|
|
|
|
<!--
|
|
Attributes of channel tag :
|
|
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">
|
|
<radio name="Futaba T16SZ with SBUS" data_min="1000" data_max="2000" sync_min="5000" sync_max="15000" pulse_type="POSITIVE">
|
|
<channel function="ROLL" min="1000" neutral="1500" max="2000" average="0"/>
|
|
<channel function="PITCH" min="1000" neutral="1500" max="2000" average="0"/>
|
|
<channel function="THROTTLE" min="1100" neutral="1100" max="1940" average="0"/>
|
|
<channel function="YAW" min="1000" neutral="1500" max="2000" average="0"/>
|
|
<channel function="MODE" max="2000" neutral="1520" min="1000" average="1" reverse="1"/>
|
|
<channel function="GAIN1" min="1000" neutral="1520" max="2000" average="0"/>
|
|
<channel function="GAIN2" min="1000" neutral="1520" max="2000" average="0"/>
|
|
<channel function="GAIN3" min="1000" neutral="1500" max="2000" average="0"/>
|
|
<channel function="GAIN4" min="1000" neutral="1500" max="2000" average="0"/>
|
|
<channel function="GAIN5" min="1000" neutral="2000" max="2000" average="0" reverse="1"/>
|
|
<channel function="GAIN6" min="1000" neutral="1500" max="2000" average="0"/>
|
|
<channel function="GAIN7" max="2000" neutral="1520" min="1000" average="1" reverse="1"/>
|
|
<channel function="GAIN8" min="1000" neutral="1520" max="2000" average="0"/>
|
|
<channel function="GAIN9" min="1000" neutral="1520" max="2000" average="0"/>
|
|
<channel function="GAIN10" min="1000" neutral="1500" max="2000" average="0"/>
|
|
<channel function="GAIN11" min="1000" neutral="1500" max="2000" average="0"/>
|
|
</radio>
|