refactor - change constants
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ void MoveControl::setDrivingStatus(DrivingStatus status) {
|
||||
}
|
||||
|
||||
void MoveControl::setSpeed(double speed) {
|
||||
if (speed < 0.2 && speed > -0.2)
|
||||
if (speed < 0.1 && speed > -0.1)
|
||||
this->x_speed = 0;
|
||||
else
|
||||
this->x_speed = speed;
|
||||
|
||||
Reference in New Issue
Block a user