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