trevato/arm
Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
- The arm server serves the Pi's temperature and under-voltage flags at GET /health/pi, read from sysfs, never a shell
- /admin/data draws the facts: overview strip, precision, latency, people and health charts, worst sessions, on phone, tablet and desktop
- GET /data?from&to&step[&compare=1] and ?turn=<id> serve the facts as series for owner and moderators (src/data-series.ts, src/data-api.ts)
- src/facts.ts keeps 90 days of turns, events and per-minute samples in facts.sqlite under FORGE_APP_DATA, written by the relay (no API, no page)
- The intent hold falls back to the arm's real settle time (1 s, not 2 s) when the motion gives no duration; arrival stays at 12 ticks or less
- bench/real-probe.ts steps one joint a little, reports arrive time, final error and overshoot, refuses while a turn is held, and always restores the start pose
- The arm server writes settings.servoGains to the servos at start and when a silent servo answers again, only where registers differ
- 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)
- Precision numbers that mean what they say: settle error and following lag, not lead during motion; n on every number P0 Trust
- src/limits-search.ts steps one joint's speed and acceleration up until p95 error or overshoot worsens, then backs off one step - orchestration and test only
- /admin 'Try this P' runs the tuning experiment on the arm while nobody drives and keeps every result in the precision history
- src/tuning-run.ts runs one P-coefficient experiment: sweep, write, sweep, then keep or put back - orchestration and test only
- /precision reports browser→relay and read-back→browser hops on a clock the page aligns with the relay
- /precision reports the relay→Pi and Pi read-back hops on a clock the relay aligns with the arm server
- src/hops.ts: NTP-style clock offset and per-hop p50/p95 from timestamps - pure module and test only
- bench/limits-sweep.ts drives a fixed per-joint sweep and prints the /precision scorecard before and after, against the fake bus or a given arm URL
- Speed and acceleration limits can differ per joint: maxSpeedDegS and maxAccelDegS2 take a per-joint override, defaults unchanged
new above
offline