Update kuukar_motion.py
This commit is contained in:
parent
432c86114e
commit
9608a0166b
|
@ -163,8 +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,1500)
|
self.turn(50,2000)
|
||||||
time.sleep(0.1)
|
|
||||||
self.drive(25)
|
self.drive(25)
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
if not self.roaming:
|
if not self.roaming:
|
||||||
|
|
Loading…
Reference in New Issue