From 59d3fde32e82d759a0f92049ff5ee5067d91dd42 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 2 Oct 2019 22:21:50 +0200 Subject: [PATCH] main: fix DEFAULT_SH_PARAMETERS --- firmware/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/src/main.rs b/firmware/src/main.rs index bb90cff..54ada2c 100644 --- a/firmware/src/main.rs +++ b/firmware/src/main.rs @@ -97,10 +97,10 @@ const DEFAULT_PID_PARAMETERS: pid::Parameters = pid::Parameters { }; const DEFAULT_SH_PARAMETERS: sh::Parameters = sh::Parameters { - a: 0.01, - b: 0.01, - c: 0.01, - parallel_r: 55_000.0, // Ohm (TODO: verify) + a: 0.001_4, + b: 0.000_237, + c: 0.000_000_099, + parallel_r: 5_110.0, // Ohm (TODO: verify) }; const PWM_PID_WIDTH: u16 = 0xffff;