From 555b2e6abcaca5de9d23f70b359e4366caaac6bf Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Tue, 17 Sep 2024 19:39:05 +0200 Subject: [PATCH] BatteryStatus: Clarify "incompatible voltage" error message --- msg/BatteryStatus.msg | 2 +- src/lib/events/enums.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/msg/BatteryStatus.msg b/msg/BatteryStatus.msg index f87d4132d858..e8651616152f 100644 --- a/msg/BatteryStatus.msg +++ b/msg/BatteryStatus.msg @@ -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 diff --git a/src/lib/events/enums.json b/src/lib/events/enums.json index dece82e5bb2b..3b73cff62ca7 100644 --- a/src/lib/events/enums.json +++ b/src/lib/events/enums.json @@ -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",