Skip to content

BatteryInfo (UORB message)

Battery information.

Static or near-invariant battery information. Should be streamed at low rate.

TOPICS: battery_info

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64usTime since system start
iduint8Must match the id in the battery_status message for the same battery
serial_numberchar[32]Serial number of the battery pack in ASCII characters, 0 terminated (Invalid: 0 All bytes)

Source Message

Source file (GitHub)

Click here to see original file
c
# Battery information
#
# Static or near-invariant battery information.
# Should be streamed at low rate.

uint64 timestamp # [us] Time since system start

uint8 id # Must match the id in the battery_status message for the same battery
char[32] serial_number # [@invalid 0 All bytes] Serial number of the battery pack in ASCII characters, 0 terminated