Update kuukar_motion.py

This commit is contained in:
Siwat Sirichai 2022-12-12 17:25:02 +07:00
parent 432c86114e
commit 9608a0166b
1 changed files with 1 additions and 2 deletions

View File

@ -163,8 +163,7 @@ class motion:
def __roam_handle(self):
if self.sensors.sonar_get_distance()<500:
self.turn(50,1500)
time.sleep(0.1)
self.turn(50,2000)
self.drive(25)
time.sleep(0.5)
if not self.roaming: