Improve head resting pose and keep the head where it was asked to look

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 18:30:40 +09:00
co-authored by Claude Opus 5.5
parent 7be952f5ca
commit a1e9a2c16f
7 changed files with 45 additions and 5 deletions
+1 -1
View File
@@ -535,7 +535,7 @@ $("driveStop").onclick = () => { holdStop(); api("/jog/stop", {}); api("/agv/can
$("driveSpeed").oninput = e => $("driveSpeedV").textContent = e.target.value + " %";
$("bodySpeed").oninput = e => $("bodySpeedV").textContent = e.target.value + " %";
$("armSpeed").oninput = e => $("armSpeedV").textContent = e.target.value + " %";
$("headCentre").onclick = e => act(e.target, () => api("/head/turn", {yaw: 0, pitch: 0}));
$("headCentre").onclick = e => act(e.target, () => api("/head/turn", {yaw: 0, pitch: -5}));
/* ---------- map ---------- */
const cv = $("map"), ctx = cv.getContext("2d");