mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 14:24:21 +08:00
navigator: add failure enum
This commit is contained in:
committed by
Mathieu Bresciani
parent
25fcb3c913
commit
4ed3e9e210
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user