Skip to content

Commit

Permalink
BatteryStatus: Clarify "incompatible voltage" error message
Browse files Browse the repository at this point in the history
  • Loading branch information
MaEtUgR committed Sep 18, 2024
1 parent ab41927 commit 555b2e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion msg/BatteryStatus.msg
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ uint8 BATTERY_FAULT_CELL_FAIL= 2 # One or more cells have failed
uint8 BATTERY_FAULT_OVER_CURRENT = 3 # Over-current
uint8 BATTERY_FAULT_OVER_TEMPERATURE = 4 # Over-temperature
uint8 BATTERY_FAULT_UNDER_TEMPERATURE = 5 # Under-temperature fault
uint8 BATTERY_FAULT_INCOMPATIBLE_VOLTAGE = 6 # Vehicle voltage is not compatible with battery one
uint8 BATTERY_FAULT_INCOMPATIBLE_VOLTAGE = 6 # Vehicle voltage is not compatible with this battery (batteries on same power rail should have similar voltage).
uint8 BATTERY_FAULT_INCOMPATIBLE_FIRMWARE = 7 # Battery firmware is not compatible with current autopilot firmware
uint8 BATTERY_FAULT_INCOMPATIBLE_MODEL = 8 # Battery model is not supported by the system
uint8 BATTERY_FAULT_HARDWARE_FAILURE = 9 # hardware problem
Expand Down
2 changes: 1 addition & 1 deletion src/lib/events/enums.json
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@
},
"6": {
"name": "incompatible_voltage",
"description": "Vehicle voltage is not compatible with battery one"
"description": "Voltage mismatch, use equally charged batteries"
},
"7": {
"name": "incompatible_firmware",
Expand Down

0 comments on commit 555b2e6

Please sign in to comment.