fix roam stop bug
This commit is contained in:
parent
231f5c7532
commit
3b5265fcd0
|
@ -141,4 +141,6 @@ class motion:
|
||||||
else:
|
else:
|
||||||
self.turn(-turn_speed, 1)
|
self.turn(-turn_speed, 1)
|
||||||
self.drive(drive_speed)
|
self.drive(drive_speed)
|
||||||
|
if not self.roaming:
|
||||||
|
self.stop()
|
||||||
time.sleep(0.3)
|
time.sleep(0.3)
|
Loading…
Reference in New Issue