From ac354d949ed705c0a83677ae0d0996f51686f461 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 23 Nov 2021 14:39:04 +1100 Subject: [PATCH] common: added voltage and current multipliers to BATTERY_STATUS this is to allow for vehicles with very high voltage and very high current power systems. Vehicles with more than 65V ESCs are becoming quite common --- message_definitions/v1.0/common.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/message_definitions/v1.0/common.xml b/message_definitions/v1.0/common.xml index 6f1dcf4da2..ba7c037e0f 100644 --- a/message_definitions/v1.0/common.xml +++ b/message_definitions/v1.0/common.xml @@ -4615,6 +4615,8 @@ Battery voltages for cells 11 to 14. Cells above the valid cell count for this battery should have a value of 0, where zero indicates not supported (note, this is different than for the voltages field and allows empty byte truncation). If the measured value is 0 then 1 should be sent instead. Battery mode. Default (0) is that battery mode reporting is not supported or battery is in normal-use mode. Fault/health indications. These should be set when charge_state is MAV_BATTERY_CHARGE_STATE_FAILED or MAV_BATTERY_CHARGE_STATE_UNHEALTHY (if not, fault reporting is not supported). + Multiplier which should be applied to voltages in this packet to allow for higher than 65.5V. A value of 0 means no scaling + Multiplier which should be applied to currents in this packet to allow for higher than 327A. A value of 0 means no scaling Version and capability of autopilot software. This should be emitted in response to a request with MAV_CMD_REQUEST_MESSAGE.