Blocked-way commands (try again / go around / back up / go back), any map names in every reader, seeing round 2, blind test sets r1 + r2 and their scorer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 20:29:40 +09:00
co-authored by Claude Opus 5.5
parent 3fbe1d2928
commit df79b162bd
137 changed files with 121170 additions and 203 deletions
+8
View File
@@ -99,6 +99,14 @@ def dock_marker():
return min(docks)[1] if docks else None
def marker_xy(name):
"""(x, y) of a marker on the map ("home" = the dock marker), None when there is no such marker."""
name = (dock_marker() or DOCK_FALLBACK) if name == "home" else name
m = (request("/api/markers/query_list").get("results") or {}).get(name) or {}
p = (m.get("pose") or {}).get("position")
return (p["x"], p["y"]) if p else None
def markers():
"""Marker names on the current map; the dock marker is called "home"."""
names = list((request("/api/markers/query_brief").get("results") or {}).keys())