first throw of PID parameters 2 (IMPORTANT)
This commit is contained in:
parent
fb6edf1828
commit
6a7118635f
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user