fix roam stop bug

This commit is contained in:
Siwat Sirichai 2022-11-09 23:43:20 +07:00
parent 231f5c7532
commit 3b5265fcd0
1 changed files with 2 additions and 0 deletions

View File

@ -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)