From da809ad79d8a5bd7df3b642d72474537c17bfbf5 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Mon, 12 Dec 2022 16:35:45 +0700 Subject: [PATCH] Update kuukar_motion.py --- kuukar/kuukar_motion.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kuukar/kuukar_motion.py b/kuukar/kuukar_motion.py index 9e35de1..2aae8d7 100644 --- a/kuukar/kuukar_motion.py +++ b/kuukar/kuukar_motion.py @@ -159,7 +159,7 @@ class motion: while True: if self.roaming: self.__roam_handle() - time.sleep(0.3) + time.sleep(0.5) def __roam_handle(self): if self.sensors.sonar_get_distance()<500: @@ -167,6 +167,5 @@ class motion: time.sleep(0.1) self.drive(25) time.sleep(0.5) - time.sleep(0.5) if not self.roaming: self.stop() \ No newline at end of file