diff --git a/clearpath_config/platform/battery.py b/clearpath_config/platform/battery.py index c97aa4d..4750f79 100644 --- a/clearpath_config/platform/battery.py +++ b/clearpath_config/platform/battery.py @@ -46,6 +46,8 @@ class BatteryConfig(BaseConfig): ES20_12C = 'ES20_12C' # A200/J100 LiION 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], diff --git a/clearpath_config/platform/can.py b/clearpath_config/platform/can.py index f930a77..0a8af91 100644 --- a/clearpath_config/platform/can.py +++ b/clearpath_config/platform/can.py @@ -126,6 +126,7 @@ def interface(self, interface: str) -> None: class CANBridgeListConfig(ListConfig[CANBridge, str]): def __init__(self) -> None: + super().__init__( uid=lambda obj: obj.interface, obj_type=CANBridge,