From c9ae41802ba4a2cc3748ea661c02e49785bc27a6 Mon Sep 17 00:00:00 2001 From: jenoack Date: Wed, 29 Mar 2023 11:39:00 +0200 Subject: [PATCH] Adapted PID params --- vscode/Unendlichkeitsmaschine/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vscode/Unendlichkeitsmaschine/src/main.cpp b/vscode/Unendlichkeitsmaschine/src/main.cpp index d51d90d..1391c68 100644 --- a/vscode/Unendlichkeitsmaschine/src/main.cpp +++ b/vscode/Unendlichkeitsmaschine/src/main.cpp @@ -281,8 +281,8 @@ void data_init() Pid_params.err = 0; Pid_params.output = 0.0; Pid_params.kp = 0.002; - Pid_params.ki = 0.004; - Pid_params.kd = 0.0005; + Pid_params.ki = 0.0008; + Pid_params.kd = 0.001; Pid_params.max_speed = MAX_SPEED; Pid_params.min_speed = MIN_SPEED; #ifdef MACHINE_RESTART