From c6ae418a21920768e3dfc2f837709a109a8a7c49 Mon Sep 17 00:00:00 2001 From: Chris Iverach-Brereton <59611394+civerachb-cpr@users.noreply.github.com> Date: Tue, 14 Jan 2025 09:07:02 -0500 Subject: [PATCH] Add HE2411 battery support (#110) * Add support for the HE2411 battery to J100 and A200 * Add the even-older HE2410 too --- clearpath_config/platform/battery.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/clearpath_config/platform/battery.py b/clearpath_config/platform/battery.py index c97aa4d..811ad53 100644 --- a/clearpath_config/platform/battery.py +++ b/clearpath_config/platform/battery.py @@ -45,7 +45,9 @@ class BatteryConfig(BaseConfig): # A200 Lead Acid ES20_12C = 'ES20_12C' # A200/J100 LiION - HE2613 = 'HE2613' + HE2613 = "HE2613" + HE2411 = "HE2411" + HE2410 = "HE2410" # A300 LiFEPO4 S_24V20_U1 = 'S_24V20_U1' # R100 Lead Acid @@ -76,6 +78,8 @@ class BatteryConfig(BaseConfig): Platform.A200: { ES20_12C: [S2P1], HE2613: [S1P3, S1P4], + HE2411: [S1P3, S1P4], + HE2410: [S1P3, S1P4], }, Platform.A300: { S_24V20_U1: [S1P2, S1P4, S1P6], @@ -98,6 +102,8 @@ class BatteryConfig(BaseConfig): }, Platform.J100: { HE2613: [S1P1], + HE2411: [S1P1], + HE2410: [S1P1], }, Platform.R100: { DTM8A31: [S1P2],