LP-56 - Use separate roll/picth factors and add firmware support
[librepilot.git] / shared / uavobjectdefinition / gpssettings.xml
blob57f02f492182cf32161727cdfec2bffeb71a4bff
1 <xml>
2     <object name="GPSSettings" singleinstance="true" settings="true" category="Sensors">
3         <description>GPS Module specific settings</description>
4         <field name="DataProtocol" units="" type="enum" elements="1" options="NMEA,UBX" defaultvalue="UBX"/>
5         <field name="MinSatellites" units="" type="uint8" elements="1" defaultvalue="7"/>
6         <field name="MaxPDOP" units="" type="float" elements="1" defaultvalue="3.5"/>
7         <!-- Ubx self configuration. Enable to allow the flight board to auto configure ubx GPS options,
8             store does AutoConfig and save GPS settings (i.e. to prevent issues if gps is power cycled)  -->
9         <!-- add AbConfigStoreAndDisable after AbConfigAndStore and uncomment AUTOBAUD_CONFIGURE_STORE_AND_DISABLE in ubx_autoconfig.c-->
10         <field name="UbxAutoConfig" units="" type="enum" elements="1" options="Disabled,AutoBaud,AutoBaudAndConfigure,AutoBaudConfigureAndStore,AutoBaudConfigureStoreAndDisable" defaultvalue="AutoBaudAndConfigure"/>
11         <!-- Ubx position update rate, -1 for auto -->
12         <field name="UbxRate" units="Hz" type="int8" elements="1" defaultvalue="5" />
13         <!-- Ubx dynamic model, see UBX datasheet for more details -->
14         <field name="UbxDynamicModel" units="" type="enum" elements="1" 
15         options="Portable,Stationary,Pedestrian,Automotive,Sea,Airborne1G,Airborne2G,Airborne4G" defaultvalue="Airborne1G" />
16         <!-- Ubx SBAS settings -->
17         <field name="UbxSBASMode" units="" type="enum" elements="1" options="Disabled,Ranging,Correction,Integrity,Ranging+Correction,Ranging+Integrity,Ranging+Correction+Integrity,Correction+Integrity" defaultvalue="Ranging" />
18         <field name="UbxSBASChannelsUsed" units="" type="uint8" elements="1" defaultvalue="3"/>
19         <field name="UbxSBASSats" units="" type="enum" elements="1" options="AutoScan,WAAS,EGNOS,MSAS,GAGAN,SDCM" defaultvalue="AutoScan" />
20         <!-- Ubx GNSS configuration, only applies to Ublox generation 7+ and concurrent GNSS only to generation 8 -->
21         <field name="UbxGNSSMode" units="" type="enum" elements="1" options="Default,GPS,GLONASS,GPS+GLONASS,GPS+BeiDou,GLONASS+BeiDou" defaultvalue="Default" />
22         <access gcs="readwrite" flight="readwrite"/>
23         <telemetrygcs acked="true" updatemode="onchange" period="0"/>
24         <telemetryflight acked="true" updatemode="onchange" period="0"/>
25         <logging updatemode="manual" period="0"/>
26     </object>
27 </xml>