Merge branch 'next' into LP-295_OP-1900_fixedwingautotakeoff_rebasenext
[librepilot.git] / shared / uavobjectdefinition / systemalarms.xml
blobba4cd24de021943315a7e79ffb4a9cb94cafdec5
1 <xml>
2     <object name="SystemAlarms" singleinstance="true" settings="false" category="System" priority="true">
3         <description>Alarms from OpenPilot to indicate failure conditions or warnings.  Set by various modules.  Some modules may have a module defined Status and Substatus fields that details its condition.</description>
4         <field name="Alarm" units="" type="enum" options="Uninitialised,OK,Warning,Critical,Error" defaultvalue="Uninitialised">
5                 <elementnames>
6                         <elementname>SystemConfiguration</elementname>
7                         <elementname>BootFault</elementname>
8                         <elementname>OutOfMemory</elementname>
9                         <elementname>StackOverflow</elementname>
10                         <elementname>CPUOverload</elementname>
11                         <elementname>EventSystem</elementname>
12                         <elementname>Telemetry</elementname>
13                         <elementname>Receiver</elementname>
14                         <elementname>ManualControl</elementname>
15                         <elementname>Actuator</elementname>
16                         <elementname>Attitude</elementname>
17                         <elementname>Sensors</elementname>
18                         <elementname>Magnetometer</elementname>
19                         <elementname>Airspeed</elementname>
20                         <elementname>Stabilization</elementname>
21                         <elementname>Guidance</elementname>
22                         <elementname>PathPlan</elementname>
23                         <elementname>Battery</elementname>
24                         <elementname>FlightTime</elementname>
25                         <elementname>I2C</elementname>
26                         <elementname>GPS</elementname>
27                 </elementnames>
28         </field>
29         <field name="ExtendedAlarmStatus" units="" type="enum" defaultvalue="None">
30                 <elementnames>
31                         <elementname>SystemConfiguration</elementname>
32                         <elementname>BootFault</elementname>
33                 </elementnames>
34                 <options>
35                         <option>None</option>
36                         <option>RebootRequired</option>
37                         <option>FlightMode</option>
38                         <option>UnsupportedConfig_OneShot</option>
39                         <option>BadThrottleOrCollectiveInputRange</option>
40                 </options>
41         </field>
42         <field name="ExtendedAlarmSubStatus" units="" type="uint8" defaultvalue="0">
43                 <elementnames>
44                         <elementname>SystemConfiguration</elementname>
45                         <elementname>BootFault</elementname>
46                 </elementnames>
47         </field>
48         <access gcs="readwrite" flight="readwrite"/>
49         <telemetrygcs acked="false" updatemode="manual" period="0"/>
50         <telemetryflight acked="false" updatemode="periodic" period="1000"/>
51         <logging updatemode="manual" period="0"/>
52     </object>
53 </xml>