From b1028035bccc311896faa9a9bb3a71a62733c2c2 Mon Sep 17 00:00:00 2001 From: Josh Henderson Date: Fri, 9 Jul 2021 01:29:59 -0400 Subject: [PATCH] AP_UAVCAN: cleanup comments in BatteryInfoAux dsdl message --- .../power/20004.BatteryInfoAux.uavcan | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/libraries/AP_UAVCAN/dsdl/ardupilot/equipment/power/20004.BatteryInfoAux.uavcan b/libraries/AP_UAVCAN/dsdl/ardupilot/equipment/power/20004.BatteryInfoAux.uavcan index e0541a213e..0aec9bde84 100644 --- a/libraries/AP_UAVCAN/dsdl/ardupilot/equipment/power/20004.BatteryInfoAux.uavcan +++ b/libraries/AP_UAVCAN/dsdl/ardupilot/equipment/power/20004.BatteryInfoAux.uavcan @@ -4,27 +4,26 @@ # This message is to be used in conjunction with uavcan/equipment/power/1092.BatteryInfo.uavcan # Please ensure that this message is sent before the BatteryInfo which doesn't -# include timestamp, following field should contain timestamp of last current measurement +# include the timestamp. The following fields should contain the timestamp of the last current measurement. uavcan.Timestamp timestamp # Battery individual cell voltages # length of following field also used as cell count float16[<=255] voltage_cell # [Volt] -# Number of Charge Discharge Cycle -# A charge cycle should happen when system uses all of the battery's power. -# Please note that this value doesn't mean that the value should be increment at -# every charge. -# For example, one could use half of battery's charge in one run, -# and then recharge it fully. If one does the same thing the next time, -# it would count as one charge cycle, not two. +# Number of Charge/Discharge Cycles +# A charge cycle is defined as a complete discharge and charge. +# IE when the system uses all of the battery's available energy capacity. +# Please note that this value doesn't mean that the cycle count should be incremented at every charge. +# For example, if half of a battery's charge is used in one run, +# and then recharged fully that is half of a cycle. If the same thing occurs again +# then the charge cycle count would be incremented once, not twice. uint16 cycle_count -# Number of times battery was overdischarged, below the rated -# capacity +# Number of times the battery was discharged over the rated capacity uint16 over_discharge_count -# Max instantaneuos current draw since last message +# Max instantaneous current draw since last message float16 max_current # [Ampere] # Nominal voltage of the battery pack