>>>>>>>>>>>>>Correction for constants. This is a good one!!!

This commit is contained in:
Γιώργος Αντρέου 2025-05-29 18:14:56 +03:00
parent eaf6a8a0e7
commit 023e78bd1c

View file

@ -4,9 +4,9 @@ QTRSensors qtr;
const uint8_t SensorCount = 8;
uint16_t sensorValues[SensorCount];
float Kp = 0.097;//set up the constants value
float Ki = 0.0008;
float Kd = 0.6;
float Kp = 0.09; //set up the constants value
float Ki = 0.0009;
float Kd = 0.3;
int P;
int I;
int D;