arming checks: add health topic

This commit is contained in:
Beat Küng
2022-08-25 22:02:15 -04:00
committed by Daniel Agar
parent 07afcf4586
commit b7a6de05df
6 changed files with 50 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
uint64 timestamp # time since system start (microseconds)
uint64 can_arm_mode_flags # bitfield for each flight mode (NAVIGATION_STATE_*) if arming is possible
uint64 can_run_mode_flags # bitfield for each flight mode if it can run
uint64 health_is_present_flags # flags for each health_component_t
uint64 health_warning_flags
uint64 health_error_flags
# A component is required but missing, if present==0 and error==1
uint64 arming_check_warning_flags
uint64 arming_check_error_flags