Changed the value of Kp making the robot more centered
This commit is contained in:
vanhempi
0539ebdcb8
commit
ca072ae8bb
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
|
@ -4,9 +4,9 @@ QTRSensors qtr;
|
||||||
const uint8_t SensorCount = 8;
|
const uint8_t SensorCount = 8;
|
||||||
uint16_t sensorValues[SensorCount];
|
uint16_t sensorValues[SensorCount];
|
||||||
|
|
||||||
float Kp = 0.07; //set up the constants value
|
float Kp = 0.06; //set up the constants value
|
||||||
float Ki = 0.0008;
|
float Ki = 0.0008;
|
||||||
float Kd = 0.6;
|
float Kd = 0.7;
|
||||||
int P;
|
int P;
|
||||||
int I;
|
int I;
|
||||||
int D;
|
int D;
|
||||||
|
|
Ladataan…
Lisää taulukko
Lisää linkki
Viittaa uudessa ongelmassa