chore: SonarLint fixes
This commit is contained in:
parent
36644a1af2
commit
3a67ed31b2
3 changed files with 2 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
from main import *
|
||||
from main import Controller, Lane, OutType, OutAngle, Unit
|
||||
from time import sleep
|
||||
|
||||
interval = 0.2
|
||||
|
@ -74,7 +74,6 @@ def distance(controller: Controller):
|
|||
controller.set_distance(999, Unit.Metres)
|
||||
controller.set_distance(999, Unit.Foot)
|
||||
controller.set_distance(999, Unit.Miles)
|
||||
pass
|
||||
|
||||
|
||||
def speed(controller: Controller):
|
||||
|
@ -84,7 +83,6 @@ def speed(controller: Controller):
|
|||
controller.set_speed(50, 100)
|
||||
controller.set_speed(150, 100)
|
||||
controller.set_speed(50, 100, True)
|
||||
pass
|
||||
|
||||
|
||||
def time(controller: Controller):
|
||||
|
@ -92,7 +90,6 @@ def time(controller: Controller):
|
|||
controller.set_time(22, 22)
|
||||
controller.set_time(22, 22, traffic=True)
|
||||
controller.set_time(22, 22, flag=True)
|
||||
pass
|
||||
|
||||
|
||||
def control(controller: Controller):
|
||||
|
@ -111,7 +108,6 @@ def compass(controller: Controller):
|
|||
controller.set_compass(247.5)
|
||||
controller.set_compass(292.5)
|
||||
controller.set_compass(337.5)
|
||||
pass
|
||||
|
||||
|
||||
def route(controller: Controller):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue