>>>>>>>>>>>>>Correction for constants. This is a good one!!!
This commit is contained in:
parent
eaf6a8a0e7
commit
023e78bd1c
1 changed files with 3 additions and 3 deletions
|
@ -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.097;//set up the constants value
|
float Kp = 0.09; //set up the constants value
|
||||||
float Ki = 0.0008;
|
float Ki = 0.0009;
|
||||||
float Kd = 0.6;
|
float Kd = 0.3;
|
||||||
int P;
|
int P;
|
||||||
int I;
|
int I;
|
||||||
int D;
|
int D;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue