mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
fixing rotation
This commit is contained in:
@@ -700,9 +700,9 @@ void CKobuki::doRotation(long double th)
|
||||
{
|
||||
long double u = 0; // controlled variable, angular speed of the robot during movement
|
||||
long double w = th; // desired value in radians
|
||||
long double Kp = PI * 2;
|
||||
long double Kp = PI;
|
||||
long double e = 0;
|
||||
int thresh = PI;
|
||||
int thresh = PI /2;
|
||||
|
||||
theta = 0;
|
||||
x = 0;
|
||||
|
Reference in New Issue
Block a user