From 4b96a1a4a744b6ba2ca4fa64db9bbedfe27777da Mon Sep 17 00:00:00 2001 From: Konstantin Lampalzer Date: Fri, 4 Feb 2022 18:32:32 +0100 Subject: [PATCH] Update Motor.py --- compLib/Motor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/compLib/Motor.py b/compLib/Motor.py index 9cafbcb..51e0c02 100644 --- a/compLib/Motor.py +++ b/compLib/Motor.py @@ -184,9 +184,7 @@ class Motor(object): if power < 0 or power > 100: raise ValueError(f'Power out of range: {str(power)}%') - print(power) requiredSpeed = Motor.__map(power, 0, 100, min(curve), max(curve)) - print(requiredSpeed) return Motor.__interpolateSpeed(curve, requiredSpeed)