diff --git a/controller/python/controller.py b/controller/python/controller.py
index 06c5e9e72969bae47042c2b3fb84786c8f47fef1..50c3eb1ac193d742e14f75a890711730eae0be26 100644
--- a/controller/python/controller.py
+++ b/controller/python/controller.py
@@ -45,7 +45,7 @@ class Controller:
         (between 1 and 100)."""
         return self._read(self.MAX_MOTOR_PERCENTAGE, 1, "B")[0]
 
-    def set_motor_speed(self, left: Optional[int], right: Optional[int]):
+    def set_motor_speed(self, left: Optional[float], right: Optional[float]):
         """Set the motor speed between -100 and 100. None means not to
         change the motor value. Using None for both motors will put
         the controller board in standby mode and motors will stop."""
@@ -73,11 +73,11 @@ class Controller:
         return self._read(self.MOTOR_SPEED, 2, "bb")
 
     def set_left_motor_speed(self, speed: int):
-        """Set the left motor speed between -127 and 127."""
+        """Set the left motor speed between -100 and 100."""
         self.set_motor_speed(speed, None)
 
     def set_right_motor_speed(self, speed: int):
-        """Set the right motor speed between -127 and 127."""
+        """Set the right motor speed between -100 and 100."""
         self.set_motor_speed(None, speed)
 
     def standby(self):