Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / shared / uavobjectdefinition / mixersettings.xml
blobd6160758d347c6dc0635337b8b5509d2d757418d
1 <xml>
2     <object name="MixerSettings" singleinstance="true" settings="true" category="Control">
3         <description>Settings for the @ref ActuatorModule that controls the channel assignments for the mixer based on AircraftType</description>
4         <field name="MixerValueRoll" units="percent" type="int8" elements="1" defaultvalue="50"/>
5         <field name="MixerValuePitch" units="percent" type="int8" elements="1" defaultvalue="50"/>
6         <field name="MixerValueYaw" units="percent" type="int8" elements="1" defaultvalue="50"/>
7         <field name="RollDifferential" units="percent" type="int8" elements="1" defaultvalue="0"/>
8         <field name="FirstRollServo" units="" type="uint8" elements="1" defaultvalue="0"/>
9         <field name="ThrottleCurve1" units="percent" type="float" elementnames="0,25,50,75,100" defaultvalue="0,0,0,0,0"/>
10         <field name="Curve2Source" units="" type="enum" elements="1" defaultvalue="Throttle">
11                 <options>
12                         <option>Throttle</option>
13                         <option>Roll</option>
14                         <option>Pitch</option>
15                         <option>Yaw</option>
16                         <option>Collective</option>
17                         <option>Accessory0</option>
18                         <option>Accessory1</option>
19                         <option>Accessory2</option>
20                         <option>Accessory3</option>
21                         <option>Accessory4</option>
22                         <option>Accessory5</option>
23                 </options>
24         </field>
25         <field name="ThrottleCurve2" units="percent" type="float" elementnames="0,25,50,75,100" defaultvalue="0,0.25,0.5,0.75,1"/>
26         <field name="Mixer1Type" units="" type="enum" elements="1" defaultvalue="Disabled">
27                 <options>
28                         <option>Disabled</option>
29                         <option>Motor</option>
30                         <option>ReversableMotor</option>
31                         <option>Servo</option>
32                         <option>CameraRollOrServo1</option>
33                         <option>CameraPitchOrServo2</option>
34                         <option>CameraYaw</option>
35                         <option>CameraTrigger</option>
36                         <option>Accessory0</option>
37                         <option>Accessory1</option>
38                         <option>Accessory2</option>
39                         <option>Accessory3</option>
40                         <option>Accessory4</option>
41                         <option>Accessory5</option>
42                 </options>
43         </field>
44         <field name="Mixer1Vector" units="" type="int8" defaultvalue="0">
45                 <elementnames>
46                         <elementname>ThrottleCurve1</elementname>
47                         <elementname>ThrottleCurve2</elementname>
48                         <elementname>Roll</elementname>
49                         <elementname>Pitch</elementname>
50                         <elementname>Yaw</elementname>
51                 </elementnames>
52         </field>
54         <field name="Mixer2Type"   cloneof="Mixer1Type"/>
55         <field name="Mixer2Vector" cloneof="Mixer1Vector"/>
57         <field name="Mixer3Type"   cloneof="Mixer1Type"/>
58         <field name="Mixer3Vector" cloneof="Mixer1Vector"/>
60         <field name="Mixer4Type"   cloneof="Mixer1Type"/>
61         <field name="Mixer4Vector" cloneof="Mixer1Vector"/>
63         <field name="Mixer5Type"   cloneof="Mixer1Type"/>
64         <field name="Mixer5Vector" cloneof="Mixer1Vector"/>
66         <field name="Mixer6Type"   cloneof="Mixer1Type"/>
67         <field name="Mixer6Vector" cloneof="Mixer1Vector"/>
69         <field name="Mixer7Type"   cloneof="Mixer1Type"/>
70         <field name="Mixer7Vector" cloneof="Mixer1Vector"/>
72         <field name="Mixer8Type"   cloneof="Mixer1Type"/>
73         <field name="Mixer8Vector" cloneof="Mixer1Vector"/>
75         <field name="Mixer9Type"   cloneof="Mixer1Type"/>
76         <field name="Mixer9Vector" cloneof="Mixer1Vector"/>
78         <field name="Mixer10Type"   cloneof="Mixer1Type"/>
79         <field name="Mixer10Vector" cloneof="Mixer1Vector"/>
81         <field name="Mixer11Type"   cloneof="Mixer1Type"/>
82         <field name="Mixer11Vector" cloneof="Mixer1Vector"/>
84         <field name="Mixer12Type"   cloneof="Mixer1Type"/>
85         <field name="Mixer12Vector" cloneof="Mixer1Vector"/>
87         <access gcs="readwrite" flight="readwrite"/>
88         <telemetrygcs acked="true" updatemode="onchange" period="0"/>
89         <telemetryflight acked="true" updatemode="onchange" period="0"/>
90         <logging updatemode="manual" period="0"/>
91     </object>
92 </xml>