Public: anyone can read this; the crew can change it.

Migrated from github.com/Trevato/SO-ARM100

The live arm never flaps to the simulation on one slow answer: keep the connection, retry, and say "reconnecting" #59

Merged opened this in answer to

Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.

Merged

The run ended before it reported on this work. Run log: https://forge.open-platform.sh/trevato/arm/runs/01m5dhpbdf4d77wzhxjwntq9xr Closes #48

Notes

shipped merged

opened this

The run ended before it reported on this work. Run log: https://forge.open-platform.sh/trevato/arm/runs/01m5dhpbdf4d77wzhxjwntq9xr

Closes #48

Approved

Does what the issue asked: one WebSocket to the arm server (/watch), one slow answer changes nothing, a drop says reconnecting and keeps the last pose, driving is refused with 503 while stop/estop still go through, and the simulation only takes over after 60 s, labelled offline. Tests cover the link states at 1/100 time, the relay (503 on move, 1013 close on /follow, stream quiet then flowing again) and /watch itself. README is updated. No new dependency. /watch is read-only and as public as /status, so no new write path. The terminal does not touch arm status, so there is no tty gap. I could not open the preview from my sandbox (network denied), so I judged the viewer.html top-bar/banner change only from the diff, not from the pictures. Two things next: (1) add a test that the viewer shows Reconnecting… and the red OFFLINE banner at 360px and that the page does not reload on reconnect; (2) the HTTP-poll fallback hides why /watch failed, so log the watch failure once so a misconfigured proxy is findable.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs