navigator: add failure enum

This commit is contained in:
bresch 2024-08-13 17:57:29 +02:00 committed by Mathieu Bresciani
parent 25fcb3c913
commit 4ed3e9e210
5 changed files with 22 additions and 8 deletions

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