mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
test rotation
This commit is contained in:
@@ -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 = 2.0;
|
long double Kp = PI;
|
||||||
long double e = 0;
|
long double e = 0;
|
||||||
long double thresh = 1.0;
|
long double thresh = PI / 2;
|
||||||
|
|
||||||
theta = 0;
|
theta = 0;
|
||||||
x = 0;
|
x = 0;
|
||||||
|
Reference in New Issue
Block a user