Improve follow and drive speed, reach toward the person, and name and repeat answers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 17:47:01 +09:00
co-authored by Claude Opus 5.5
parent e3fa2d95b3
commit da0f7f66ee
17 changed files with 149 additions and 37 deletions
+2
View File
@@ -58,6 +58,8 @@ class Base:
if cmd == "/api/move/cancel":
self.status = "canceled" if self.status == "running" else self.status
return {"status": "OK"}
if cmd.startswith("/api/set_params?"): # the speed, sent before every move (robot/agv.py)
return {"status": "OK"}
if cmd == "/api/get_planned_path":
return {"results": {"path": [[self.x + k * 0.05, 0.0] for k in range(int((self.goal - self.x) / 0.05) + 1)]
if self.status == "running" else []}}