Skip to content

Commit

Permalink
Updated battery model
Browse files Browse the repository at this point in the history
  • Loading branch information
luis-camero committed Oct 23, 2023
1 parent b06766d commit 61d5259
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions clearpath_config/platform/battery.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ class BatteryConfig(BaseConfig):
MODEL = "model"
UNKNOWN = "unknown"
# Husky Lead Acid
ES20_12C = "ES20-12C"
ES20_12C = "ES20_12C"
# Husky/Jackal Li_ION
HE2613 = "HE2613"
# Warthog Lead Acid
U1_35 = "U1-35"
U1_35 = "U1_35"
# Warthog LiFEPO4
ALM12V35 = "ALM12V35"
U24_12XP = "U24-12XP"
U27_12XP = "U27-12XP"
NEC_ALM12V35 = "NEC_ALM12V35"
VALENCE_U24_12XP = "VALENCE_U24_12XP"
VALENCE_U27_12XP = "VALENCE_U27_12XP"

# Configurations
CONFIGURATION = "configuration"
Expand All @@ -69,9 +69,9 @@ class BatteryConfig(BaseConfig):
},
Platform.W200: {
U1_35: [S4P3],
ALM12V35: [S4P3],
U24_12XP: [S4P1],
U27_12XP: [S4P1],
NEC_ALM12V35: [S4P3],
VALENCE_U24_12XP: [S4P1],
VALENCE_U27_12XP: [S4P1],
},
}

Expand Down
2 changes: 1 addition & 1 deletion clearpath_config/sample/a200/a200_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ system:
platform:
controller: ps4
battery:
model: ES20-12C
model: ES20_12C
configuration: S21P
attachments:
front_bumper:
Expand Down
2 changes: 1 addition & 1 deletion clearpath_config/sample/a200/a200_dual_laser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ system:
platform:
controller: ps4
battery:
model: ES20-12C
model: ES20_12C
configuration: S21P
attachments:
front_bumper:
Expand Down
2 changes: 1 addition & 1 deletion clearpath_config/sample/a200/a200_sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ system:
platform:
controller: ps4
battery:
model: ES20-12C
model: ES20_12C
configuration: S21P
attachments:
front_bumper:
Expand Down
2 changes: 1 addition & 1 deletion clearpath_config/sample/a200/a200_velodyne.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ system:
platform:
controller: ps4
battery:
model: ES20-12C
model: ES20_12C
configuration: S21P
attachments:
front_bumper:
Expand Down

0 comments on commit 61d5259

Please sign in to comment.