Update Line_Tracking.py
This commit is contained in:
parent
8ec757db75
commit
237d7ad878
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user