From cf6d42cc516db669a7831b94ef0d4108d3020852 Mon Sep 17 00:00:00 2001 From: Claudio Micheli Date: Thu, 11 Mar 2021 02:17:33 +0100 Subject: [PATCH] Add battery faults flags for wrong firmware and battery models (#1577) * common.xml: add new battery fault flags Signed-off-by: Claudio Micheli * Change to BATTERY_FAULT_INCOMPATIBLE_CELLS_CONFIGURATION Co-authored-by: Hamish Willee --- message_definitions/v1.0/common.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/message_definitions/v1.0/common.xml b/message_definitions/v1.0/common.xml index 58ddb04334..5df8d08a65 100644 --- a/message_definitions/v1.0/common.xml +++ b/message_definitions/v1.0/common.xml @@ -2932,6 +2932,12 @@ Vehicle voltage is not compatible with this battery (batteries on same power rail should have similar voltage). + + Battery firmware is not compatible with current autopilot firmware. + + + Battery is not compatible due to cell configuration (e.g. 5s1p when vehicle requires 6s). + Flags to report status/failure cases for a power generator (used in GENERATOR_STATUS). Note that FAULTS are conditions that cause the generator to fail. Warnings are conditions that require attention before the next use (they indicate the system is not operating properly).