fix roam stop bug
This commit is contained in:
parent
231f5c7532
commit
3b5265fcd0
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue