health-flags: Increase health flags to 64 bit bit field to support extended sys status mavlink message

Add SYS_STATUS flag for parachute
This commit is contained in:
Thomas Debrunner
2021-11-23 18:07:31 +01:00
committed by Daniel Agar
parent 37099f85b9
commit eb69f15d3a
5 changed files with 33 additions and 17 deletions
+4 -3
View File
@@ -92,9 +92,10 @@ bool geofence_violated
uint8 failure_detector_status # Bitmask containing FailureDetector status [0, 0, 0, 0, 0, FAILURE_ALT, FAILURE_PITCH, FAILURE_ROLL]
# see SYS_STATUS mavlink message for the following
uint32 onboard_control_sensors_present
uint32 onboard_control_sensors_enabled
uint32 onboard_control_sensors_health
# lower 32 bits are for the base flags, higher 32 bits are or the extended flags
uint64 onboard_control_sensors_present
uint64 onboard_control_sensors_enabled
uint64 onboard_control_sensors_health
uint8 ARM_DISARM_REASON_TRANSITION_TO_STANDBY = 0