From 3b5265fcd0c5fd3c18188fa2836d032257aa8012 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Wed, 9 Nov 2022 23:43:20 +0700 Subject: [PATCH] fix roam stop bug --- kuukar/kuukar_motion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kuukar/kuukar_motion.py b/kuukar/kuukar_motion.py index 76ac539..f3dac78 100644 --- a/kuukar/kuukar_motion.py +++ b/kuukar/kuukar_motion.py @@ -141,4 +141,6 @@ class motion: else: self.turn(-turn_speed, 1) self.drive(drive_speed) + if not self.roaming: + self.stop() time.sleep(0.3) \ No newline at end of file