diff --git a/Code/Server/Motor.py b/Code/Server/Motor.py index 9a0f602f..730c19a4 100644 --- a/Code/Server/Motor.py +++ b/Code/Server/Motor.py @@ -24,7 +24,7 @@ def duty_range(self,duty1,duty2,duty3,duty4): duty4=4095 elif duty4<-4095: duty4=-4095 - return duty1,duty2,duty3,duty4 + return -duty1,-duty2,-duty3,-duty4 def left_Upper_Wheel(self,duty): if duty>0: