Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
POST /settings/joint-zero sets one joint's offset so the model reads a known mechanical reference #445
Sign in to join this conversation.
Part of #439 (calibrate the model to the arm). Today
jointOffsetsDegis{}and only PUT /settings can set it, by hand.Done:
POST /settings/joint-zero {"joint": "shoulder_pan", "referenceDeg": 0}onsrc/server.tsreads that joint's Present_Position. It setsjointOffsetsDeg[joint]so the model angle equalsreferenceDeg, saves the settings the way table-here does, and returns the new settings plus the offset it applied.ADMIN_ONLYinsrc/relay.ts)./statusand the model agree with the reference within 0.5°. A bad joint is a 400, and an offset that is too large is a 409.bun --cwd Software/so101 testpasses.Risk: offsets feed the safe-zone geometry (server.ts toQ). A test must prove that a zone block still fires at the same physical pose after zeroing.