From 22916eef376fbe814ae5ac921a17e51efde441a3 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Fri, 6 Nov 2020 21:46:04 -0800 Subject: [PATCH] more gain --- firmware/pump_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/pump_control.cpp b/firmware/pump_control.cpp index 043f31a..1ee7bf1 100644 --- a/firmware/pump_control.cpp +++ b/firmware/pump_control.cpp @@ -8,7 +8,7 @@ #include "ch.h" // Bosch CJ125 is somewhere VERY ROUGHLY like 200-400A/(v*s) integrator gain -static Pid pumpPid(50.0f, 300.0f, 2); +static Pid pumpPid(50.0f, 5000.0f, 2); static THD_WORKING_AREA(waPumpThread, 256); static void PumpThread(void*)