Fixed reversed rotation.
This commit is contained in:
parent
eb9c9b3415
commit
5e58bfd2f9
@ -51,7 +51,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
float speed = y * th;
|
float speed = y * th;
|
||||||
float rot = x; // do some math here to smooth out turning?
|
float rot = -x * th; // do some math here to smooth out turning?
|
||||||
|
|
||||||
dt1->ArcadeDrive(speed, rot, false);
|
dt1->ArcadeDrive(speed, rot, false);
|
||||||
dt2->ArcadeDrive(speed, rot, false);
|
dt2->ArcadeDrive(speed, rot, false);
|
||||||
|
Reference in New Issue
Block a user