Merge branch 'next' into LP-295_OP-1900_fixedwingautotakeoff_rebasenext
[librepilot.git] / shared / uavobjectdefinition / gpssettings.xml
blobac20c56fdfc3e075dd96f2075811603cdfd3d332
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,DJI" 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>