Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

struct VehicleHealthData

fbs/state.fbs / Source schema

Vehicle-wide state summary for operator displays and failsafe supervision.

FlatBuffers root table: VehicleHealth

NameTypeUnit / ScaleNotes
timestamp_usulongmicrosecondsSample timestamp in monotonic boot time.
sensors_presentuintBitmask of SensorComponentFlags bits for detected components.
sensors_enableduintBitmask of SensorComponentFlags bits enabled for use.
sensors_healthuintBitmask of SensorComponentFlags bits currently considered healthy.
sensors_present_extuintReserved extension bitmask for future component bits.
sensors_enabled_extuintReserved extension bitmask for future component bits.
sensors_health_extuintReserved extension bitmask for future component bits.
load_dpermilleushortdeci-percent; percent = value / 10, 1000 means 100%Main controller load as deci-percent, where 1000 means 100%.
voltage_battery_cvushortcenti-volts; volts = value / 100Primary battery pack voltage in centi-volts.
current_battery_dashortdeci-amps; amps = value / 10Primary battery current in deci-amps; positive means discharge.
drop_rate_comm_cpercentushortcenti-percent; percent = value / 100Communication drop rate as centi-percent.
errors_commushortCommunication error count.
battery_remaining_pctbytepercentRemaining primary battery percentage, or negative when unknown.
vehicle_typeubyteProducer-defined vehicle class.
flight_modeubyteProducer-defined active flight mode.
system_stateubyteProducer-defined high-level system state.
link_quality_pctubytepercentCommand/control link quality from 0 to 100.
flagsubytebitmaskBitmask of VehicleHealthFlags bits.