Skip to content

Commit

Permalink
Add HE2411 battery support (#110)
Browse files Browse the repository at this point in the history
* Add support for the HE2411 battery to J100 and A200

* Add the even-older HE2410 too
  • Loading branch information
civerachb-cpr committed Jan 14, 2025
1 parent 16594df commit c6ae418
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion clearpath_config/platform/battery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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],
Expand All @@ -98,6 +102,8 @@ class BatteryConfig(BaseConfig):
},
Platform.J100: {
HE2613: [S1P1],
HE2411: [S1P1],
HE2410: [S1P1],
},
Platform.R100: {
DTM8A31: [S1P2],
Expand Down

0 comments on commit c6ae418

Please sign in to comment.