>>>>>>>>>>>>>Correction for constants. This is a good one!!!
Bu işleme şunda yer alıyor:
ebeveyn
eaf6a8a0e7
işleme
023e78bd1c
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
|
|
@ -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;
|
||||||
|
|
|
||||||
Yükleniyor…
Tablo ekle
Add a link
Yeni konuda referans