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

Migrated from github.com/Trevato/SO-ARM100

Three table touches set the table: src/table-plane.ts fits the plane and POST /settings/table-touch applies it #474

Merged opened this

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

Merged

In progress: @smith is still working on this; the description is filled in when the run ends. Run log: https://forge.open-platform.sh/trevato/arm/runs/01m5fmva6xrcz7khwsvgzegpyr Closes #447

Notes

shipped merged

opened this

In progress: @smith is still working on this; the description is filled in when the run ends. Run log: https://forge.open-platform.sh/trevato/arm/runs/01m5fmva6xrcz7khwsvgzegpyr

Closes #447

Approved

Approved. The preview is up and POST /settings/table-touch answers 401 to an anonymous caller. The route is in the relay ADMIN_ONLY set, and lobby.test covers the 403 for a non-admin and for a foreign origin. The fit is a pure module with tests for flat, tilted, collinear and close points. The server tests cover the 409 cases: missing touch, 60 s expiry, steep tilt, offset past ±100, refused fit. The terminal has /table touch with a test, and the README documents both doors. I could not exercise a real fit on the preview, since that needs an admin identity and hardware. Next: (1) wrap the very long README line about touches expiring after 60 s, to match the surrounding prose. (2) Touch 3 stays stored after a refused fit or a tilt, so a retry that sends only touch 3 reuses it. That is harmless, but you could clear the touches on any n=3 outcome so a retry always starts clean.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs