fix roaming
This commit is contained in:
parent
ab3a4477c7
commit
15ef7493c7
2 changed files with 2 additions and 5 deletions
|
@ -93,6 +93,8 @@ class motion:
|
|||
|
||||
def roam_stop(self):
|
||||
self.roaming = False
|
||||
time.sleep(0.5)
|
||||
self.stop()
|
||||
|
||||
def is_roaming(self) -> bool:
|
||||
return self.roaming
|
||||
|
@ -133,7 +135,4 @@ class motion:
|
|||
else:
|
||||
self.turn(-23, TURN_TIME_FS_90DEG_MS)
|
||||
self.drive(30)
|
||||
self.stop()
|
||||
|
||||
print("stopping")
|
||||
time.sleep(0.5)
|
Loading…
Add table
Add a link
Reference in a new issue