AP_UAVCAN: Add ardupilot.gnss.Status

This commit is contained in:
Michael du Breuil 2021-02-23 13:17:10 -07:00 committed by Andrew Tridgell
parent fd9c497232
commit e47857a278

View File

@ -0,0 +1,10 @@
# Node specific GNSS error codes, primarily available for logging and diagnostics
uint32 error_codes
# GNSS system is self assesd as healthy
bool healthy
# Status is actually a bitmask, due to encoding issues pretend it's just a field, and leave it up to the application do decode it)
uint23 STATUS_LOGGING = 1 # GNSS system is doing any onboard logging
uint23 STATUS_ARMABLE = 2 # GNSS system is in a reasonable state to allow the system to arm
uint23 status