Missions: any stop word ends any task; questions answered while paused; a new command from anyone replaces the task; only go on resumes; one more after a look

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 17:22:46 +09:00
co-authored by Claude Opus 5.5
parent fc73a90208
commit 53a8edc13f
7 changed files with 234 additions and 60 deletions
+7
View File
@@ -2361,6 +2361,13 @@ def stop():
log("stopped")
def end(timeout=5.0):
"""stop() and wait until the run has ended, so a new task can start right after."""
stop()
if _thread is not None:
_thread.join(timeout)
# ---------- measuring the arm's yaw on the base ----------
def _straight(dist_m, speed=None):
"""Drive straight by dist_m (+ forward) at `speed` m/s (AXIS_SPEED; a function: read again every 0.1 s, so a