Merge branch 'next' into LP-295_OP-1900_fixedwingautotakeoff_rebasenext
[librepilot.git] / shared / uavobjectdefinition / manualcontrolsettings.xml
blob2d2a2def39673b929ba23a4b1bbdc264baa0678d
1 <xml>
2     <object name="ManualControlSettings" singleinstance="true" settings="true" category="Control">
3         <description>Settings to indicate how to decode receiver input by @ref ManualControlModule.</description>
4         <field name="ChannelGroups" units="Channel Group" type="enum" 
5                elementnames="Throttle,Roll,Pitch,Yaw,FlightMode,Collective,Accessory0,Accessory1,Accessory2,Accessory3"
6            options="PWM,PPM,DSM (MainPort),DSM (FlexiPort),S.Bus,EX.Bus,HoTT,SRXL,GCS,OPLink,None" defaultvalue="None"/>
7         <field name="ChannelNumber" units="channel" type="uint8" defaultvalue="0"
8                elementnames="Throttle,Roll,Pitch,Yaw,FlightMode,Collective,Accessory0,Accessory1,Accessory2,Accessory3"/>
9         <field name="ChannelMin" units="us" type="int16" defaultvalue="1000"
10                elementnames="Throttle,Roll,Pitch,Yaw,FlightMode,Collective,Accessory0,Accessory1,Accessory2,Accessory3"/>
11         <field name="ChannelNeutral" units="us" type="int16" defaultvalue="1500"
12                elementnames="Throttle,Roll,Pitch,Yaw,FlightMode,Collective,Accessory0,Accessory1,Accessory2,Accessory3"/>
13         <field name="ChannelMax" units="us" type="int16" defaultvalue="2000"
14                elementnames="Throttle,Roll,Pitch,Yaw,FlightMode,Collective,Accessory0,Accessory1,Accessory2,Accessory3"/>
15         <field name="ResponseTime" units="ms" type="uint16" defaultvalue="0"
16                elementnames="Roll,Pitch,Yaw,Collective,Accessory0,Accessory1,Accessory2,Accessory3"/>
18         <field name="Deadband" units="%" type="uint8" elements="1" defaultvalue="2"/>
19         <!-- Note the following deadband is used in AssistedControl.  Use of deadband with AssistedControl is not optional and will have a hardcoded minimum. -->
20         <field name="DeadbandAssistedControl" units="%" type="uint8" elements="1" defaultvalue="8" description="Stick deadband used for AssistedControl"/>
23         <!-- Note these options values should be identical to those defined in FlightMode -->
24         <field name="FlightModeNumber" units="" type="uint8" elements="1" defaultvalue="3"/>
26         <field name="FailsafeFlightModeSwitchPosition" units="" type="int8" elements="1" defaultvalue="-1"/>
27         <field name="FailsafeChannel" units="%" type="float" elementnames="Throttle,Roll,Pitch,Yaw,Collective,Accessory0,Accessory1,Accessory2,Accessory3" defaultvalue="-1,0,0,0,0,0,0,0,0" />
29         <access gcs="readwrite" flight="readwrite"/>
30         <telemetrygcs acked="true" updatemode="onchange" period="0"/>
31         <telemetryflight acked="true" updatemode="onchange" period="0"/>
32         <logging updatemode="manual" period="0"/>
33     </object>
34 </xml>