From 3e0ac63d6447bbfda61c2b428b243c6f895946c7 Mon Sep 17 00:00:00 2001 From: Peter Poetzi Date: Sun, 2 Oct 2022 18:22:50 +0200 Subject: [PATCH] refine parameter (based on measurements) --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 7a848b9..01c6c9b 100644 --- a/main.cpp +++ b/main.cpp @@ -498,8 +498,8 @@ void updateMotors() #ifdef SHUNT_4_MILLIOHM - curL_DC *= 2; - curR_DC *= 2; + curL_DC *= 2.162; + curR_DC *= 2.162; #endif const bool chopL = std::abs(curL_DC) > (left.iDcMax.load() * AMPERE2BIT_CONV);