change some values

This commit is contained in:
ishak jmilou.ishak
2024-10-10 13:01:48 +02:00
parent a8fcf0e0f8
commit 5d1c0fd44c

View File

@@ -644,9 +644,9 @@ void CKobuki::doRotation(long double th) {
long double u = long double u =
0; // controlled variable, angular speed of the robot during movement 0; // controlled variable, angular speed of the robot during movement
long double w = th; // desired value in radians long double w = th; // desired value in radians
long double Kp = PI; long double Kp = 2.0;
long double e = 0; long double e = 0;
int thresh = PI / 2; long double thresh = 1.0;
theta = 0; theta = 0;
x = 0; x = 0;