refactor and cleaning
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ void MoveControl::setSpeed(double speed) {
|
||||
}
|
||||
|
||||
void MoveControl::setRotationSpeed(double speed) {
|
||||
if (speed < 0.7 && speed > -0.7)
|
||||
if (speed < 0.1 && speed > -0.1)
|
||||
this->rotation_speed = 0;
|
||||
else
|
||||
this->rotation_speed = speed;
|
||||
|
||||
Reference in New Issue
Block a user