navigator: add failure enum

This commit is contained in:
bresch authored and Mathieu Bresciani committed 2024-08-14 11:08:02 +02:00
1 parent 25fcb3c913
commit 4ed3e9e210
5 files changed
+22 -8

No files matched your search

+4 -1
View File
@@ -3,4 +3,7 @@
uint64 timestamp # time since system start (microseconds)
uint8 nav_state # Source mode (values in VehicleStatus)
bool failure # True when the current mode cannot continue
uint8 failure # Navigator failure enum
uint8 FAILURE_NONE = 0
uint8 FAILURE_HAGL = 1 # Target altitude exceeds maximum height above ground