From b717ac54953306746c8b41868d437a0bad0f1dcf Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 18 Dec 2020 15:45:16 +0100 Subject: [PATCH] pid: update default gain parameters --- src/pid.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pid.rs b/src/pid.rs index 5243f88..0cab33a 100644 --- a/src/pid.rs +++ b/src/pid.rs @@ -19,8 +19,8 @@ impl Default for Parameters { fn default() -> Self { Parameters { kp: 1.5, - ki: 0.1, - kd: 150.0, + ki: 1.0, + kd: 1.5, output_min: 0.0, output_max: 2.0, integral_min: -10.0,