Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
bench/limits-search.ts <url> runs the limits search per joint against the fake bus or a given arm server and prints a before/after table (lands once main is green) #513
Sign in to join this conversation.
Replaces #495, with the same scope. Pulls #500 and #505 were closed only because main's own test (
src/stop-layout.test.ts, the notes pill) failed on every preview. The bench work in them passed its own tests (26 pass). Start from branchsmith/495-bench-limits-search-ts-url-runs-the-limiand merge main after the fix lands.Done when:
Software/so101/bench/limits-search.tswith no argument runs on the fake bus, asbench/limits-sweep.tsdoes. With<url>it runs on that arm server, and--joint Nruns one joint. It drivessearchLimitsfromsrc/limits-search.tsand the sweep frombench/limits-sweep.ts, and reads and writesjointSpeedDegS/jointAccelDegS2throughPUT /settings.RANGESinsrc/safety.ts. The gripper is skipped unless named./statusshows nobody driving, no STOP and no E-stop. If any of those appears mid-run, it stops at once and puts the starting limits back.bench/limits-search.test.tsruns it end to end on the fake bus: a table comes out, and the arm's settings end at the reported 'after' limits.bun --cwd Software/so101 testpasses, so the preview deploys green.Files:
bench/limits-search.ts,bench/limits-search.test.ts,Software/README.md. Serves #439.