From 9fd549f3ef4ca21058c580cd7b0447da6ef951ee Mon Sep 17 00:00:00 2001 From: Yash Bhat Date: Sun, 14 Jul 2024 21:58:11 -0500 Subject: [PATCH] fixing values --- car-bsp/DataModules/src/CustomBMS.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/car-bsp/DataModules/src/CustomBMS.cpp b/car-bsp/DataModules/src/CustomBMS.cpp index c39e383..7c2a926 100644 --- a/car-bsp/DataModules/src/CustomBMS.cpp +++ b/car-bsp/DataModules/src/CustomBMS.cpp @@ -36,19 +36,19 @@ void CustomBMSRx0::FromByteArray(uint8_t* buff) { } float CustomBMSRx0::GetPackVoltage() const { - return pack_voltage_ * 1e-3; + return pack_voltage_ * 1e-2; } float CustomBMSRx0::GetAvgCellVoltage() const { - return avg_cell_voltage_ * 1e-4; + return avg_cell_voltage_ * 1e-3; } float CustomBMSRx0::GetHighCellVoltage() const { - return high_cell_voltage_ * 1e-4; + return high_cell_voltage_ * 1e-3; } float CustomBMSRx0::GetLowCellVoltage() const { - return low_cell_voltage_ * 1e-4; + return low_cell_voltage_ * 1e-3; } #ifdef IS_TELEMETRY