/
spektrum.xml
57 lines (54 loc) · 2.72 KB
/
spektrum.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?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="fake spektrum" data_min="900" data_max="2100" sync_min ="5000" sync_max ="15000" pulse_type="NEGATIVE">
<channel ctl="left_stick_vert" function="THROTTLE" min="1000" neutral="1000" max="2000" average="0"/>
<channel ctl="right_stick_horiz" function="ROLL" min="2000" neutral="1500" max="1000" average="0"/>
<channel ctl="right_stick_vert" function="PITCH" min="2000" neutral="1500" max="1000" average="0"/>
<channel ctl="left_stick_horiz" function="YAW" min="2000" neutral="1500" max="1000" average="0"/>
<channel ctl="aux1" function="GEAR" min="1000" neutral="1500" max="2000" average="1"/>
<channel ctl="aux2" function="AUX1" min="1000" neutral="1500" max="2000" average="1"/>
<channel ctl="aux2" function="AUX2" min="1000" neutral="1500" max="2000" average="1"/>
<channel ctl="aux3" function="AUX3" min="1000" neutral="1500" max="2000" average="1"/>
<channel ctl="aux4" function="AUX4" min="1000" neutral="1500" max="2000" average="1"/>
</radio>