first throw of PID parameters 2 (IMPORTANT)

This commit is contained in:
Patrick Haßel 2024-04-11 21:28:00 +02:00
parent fb6edf1828
commit 6a7118635f

View File

@ -24,9 +24,9 @@ double temperatureMaxOvershoot = 5;
double heaterPWM = 0; double heaterPWM = 0;
double proportional = 10; double proportional = 1;
double integral = 2; double integral = 0;
double derivative = 0; double derivative = 0;
@ -119,6 +119,8 @@ bool patrix_command(char *first) {
void configLoad() { void configLoad() {
proportional = configGetDouble("p", 1); proportional = configGetDouble("p", 1);
integral = configGetDouble("i", 0); integral = configGetDouble("i", 0);
proportional = configGetDouble("p", 5);
integral = configGetDouble("i", 2);
derivative = configGetDouble("d", 0); derivative = configGetDouble("d", 0);
temperatureTarget = configGetDouble("target", 31); temperatureTarget = configGetDouble("target", 31);
temperatureMaxOvershoot = configGetDouble("over", 5); temperatureMaxOvershoot = configGetDouble("over", 5);