edit comments
This commit is contained in:
@@ -85,7 +85,7 @@ bool TestMode::drive(int16_t cm, int16_t degree) {
|
|||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
//forward or backward and left or right
|
//forward or backward and left or right
|
||||||
|
// TODO: Calculate roationspeed
|
||||||
if (cm < 0)
|
if (cm < 0)
|
||||||
this->moveControl->setSpeed(-this->speed);
|
this->moveControl->setSpeed(-this->speed);
|
||||||
else if (cm > 0)
|
else if (cm > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user