From 237d7ad8789a64fa32d3a1eca458a9f8219f6989 Mon Sep 17 00:00:00 2001 From: jack G <49022851+ZiJace@users.noreply.github.com> Date: Wed, 16 Oct 2019 09:33:44 +0800 Subject: [PATCH] Update Line_Tracking.py --- Code/Server/Line_Tracking.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Code/Server/Line_Tracking.py b/Code/Server/Line_Tracking.py index 47d0ced..be60497 100644 --- a/Code/Server/Line_Tracking.py +++ b/Code/Server/Line_Tracking.py @@ -21,13 +21,13 @@ class Line_Tracking: if self.LMR==2: PWM.setMotorModel(800,800,800,800) elif self.LMR==4: - PWM.setMotorModel(-1400,-1400,1400,1400) + PWM.setMotorModel(-1500,-1500,2500,2500) elif self.LMR==6: - PWM.setMotorModel(-800,-800,1200,1200) + PWM.setMotorModel(-2000,-2000,4000,4000) elif self.LMR==1: - PWM.setMotorModel(1400,1400,-1400,-1400) + PWM.setMotorModel(2500,2500,-1500,-1500) elif self.LMR==3: - PWM.setMotorModel(1200,1200,-800,-800) + PWM.setMotorModel(4000,4000,-2000,-2000) elif self.LMR==7: pass