Improve place names in typed commands, give wording and approaches that are blocked

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 19:03:25 +09:00
co-authored by Claude Opus 5.5
parent 27182df965
commit 1b3f4568e1
8 changed files with 47 additions and 11 deletions
+5 -1
View File
@@ -26,7 +26,11 @@ def cmd(name, **args):
tries = RETRIES if again else 1
for i in range(tries):
try:
return _send(name, args)
r = _send(name, args)
if name in READ_ONLY and r.get("cmdName", name) != name and i < tries - 1:
time.sleep(RETRY_S) # another command's reply (get_data to get_joint_pos, seen): ask again
continue
return r
except (ConnectionError, OSError):
if i == tries - 1:
raise