Update kuukar_motion.py
This commit is contained in:
parent
41b83b4d1b
commit
42463e14d6
|
@ -163,7 +163,7 @@ class motion:
|
||||||
|
|
||||||
def __roam_handle(self):
|
def __roam_handle(self):
|
||||||
if self.sensors.sonar_get_distance()<500:
|
if self.sensors.sonar_get_distance()<500:
|
||||||
self.turn(50,0.5)
|
self.turn(50,1.5)
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
self.drive(25)
|
self.drive(25)
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
|
Loading…
Reference in New Issue