Commander: Add reporting of preflight and prearming state

This is essential for the operator to know if the system is ready to fly.
This commit is contained in:
Lorenz Meier
2020-03-17 00:17:11 +01:00
parent 4f1749541c
commit ed0a01d5da
2 changed files with 14 additions and 1 deletions
+1
View File
@@ -28,6 +28,7 @@ uint64 SUBSYSTEM_TYPE_LOGGING = 16777216
uint64 SUBSYSTEM_TYPE_SENSORBATTERY = 33554432
uint64 SUBSYSTEM_TYPE_SENSORPROXIMITY = 67108864
uint64 SUBSYSTEM_TYPE_SATCOM = 134217728
uint64 SUBSYSTEM_TYPE_PREARM_CHECK = 268435456
uint64 SUBSYSTEM_TYPE_OBSTACLE_AVOIDANCE = 536870912
bool present