mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 23:03:34 +08:00
format smart battery serial number as string on mavlink
according to change on mavlink protocol message formatted as 'dd/mm/yy-123456'
This commit is contained in:
committed by
Lorenz Meier
parent
ceadcd74d0
commit
8d5813994f
@@ -21,7 +21,7 @@ uint16 cycle_count # number of discharge cycles the battery has experienced
|
||||
uint16 run_time_to_empty # predicted remaining battery capacity based on the present rate of discharge in min
|
||||
uint16 average_time_to_empty # predicted remaining battery capacity based on the average rate of discharge in min
|
||||
uint16 serial_number # serial number of the battery pack
|
||||
uint16 manufacture_date # manufacture date, part of serial number of the battery pack
|
||||
uint16 manufacture_date # manufacture date, part of serial number of the battery pack. formated as: Day + Month×32 + (Year–1980)×512
|
||||
uint16 state_of_health # state of health. FullChargeCapacity/DesignCapacity.
|
||||
uint16 max_error # max error, expected margin of error in % in the state-of-charge calculation with a range of 1 to 100%
|
||||
uint8 id # ID number of a battery. Should be unique and consistent for the lifetime of a vehicle. 1-indexed.
|
||||
|
||||
Reference in New Issue
Block a user