Changed the value of Kp making the robot more centered

This commit is contained in:
Γιώργος Αντρέου 2022-06-05 16:29:48 +03:00
부모 0539ebdcb8
커밋 ca072ae8bb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제

파일 보기

@ -4,9 +4,9 @@ QTRSensors qtr;
const uint8_t SensorCount = 8;
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 Kd = 0.6;
float Kd = 0.7;
int P;
int I;
int D;