Turn the waist with the arm on a hand-over, recover stopped picks and improve follow tracking

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 15:55:03 +09:00
co-authored by Claude Opus 5.5
parent 390ec9db99
commit e8d651da49
24 changed files with 728 additions and 200 deletions
+3 -3
View File
@@ -127,13 +127,13 @@ lumi.head.status = lambda: [0, 0, 0, 0]
lumi.nav.person_on_map = lambda *a: (3.0, 0.0)
lumi.nav.approach = lambda *a: (2.0, 0.0, 0.0)
L = fresh(U("Stop!"), trip=False)
L.vision, L.modes, L.turn_head = Vision(), type("Modes", (), {"drive": True})(), lambda *a, **k: None
L.vision, L.modes, L.turn_head = Vision(), type("Modes", (), {})(), lambda *a, **k: None
base["move_status"] = "running"
t = time.time()
L.come_to(Track())
assert stopped(L) and time.time() - t < 3, done
L = fresh(U("What is your name?"), trip=False)
L.vision, L.modes, L.turn_head = Vision(), type("Modes", (), {"drive": True})(), lambda *a, **k: None
L.vision, L.modes, L.turn_head = Vision(), type("Modes", (), {})(), lambda *a, **k: None
base["move_status"] = "running"
threading.Timer(1.0, lambda: base.update(move_status="succeeded")).start()
L.come_to(Track())
@@ -142,7 +142,7 @@ assert "agv cancel" not in done and L.pending_text == "What is your name?", done
# right after Lumi said "Okay, I stopped.", "Stop." is no echo of it (own_echo counts "stop" in "stopped")
lumi.mouth.recent_speech = lambda s: "Okay, I stopped. Let's go to p5."
L = fresh(U("Stop."), trip=False)
L.vision, L.modes, L.turn_head = Vision(), type("Modes", (), {"drive": True})(), lambda *a, **k: None
L.vision, L.modes, L.turn_head = Vision(), type("Modes", (), {})(), lambda *a, **k: None
base["move_status"] = "running"
L.come_to(Track())
assert stopped(L), done