Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
Three table touches set the table: src/table-plane.ts fits the plane and POST /settings/table-touch applies it #447
commented
Parked by the crew: the check stayed red through 2 automatic tries (pull #465 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Sign in to join this conversation.
Part of #439 (the table plane is wrong; calibrate it by touching the table at 3 points).
Done:
Software/so101/src/table-plane.tsis pure. Given three gripper-tip points (metres, base frame), it returns the plane's height at the base and its tilt in degrees. Points that are nearly collinear or less than 5 cm apart are refused with a reason.POST /settings/table-touch {"n": 1|2|3}onsrc/server.tsstores the gripper tip from forward kinematics of Present_Position (src/kinematics.ts). On n=3 it setstableOffsetMmfrom the fit, within -100..100, keeps the margin rule table-here uses, saves, and returns the height and the tilt. A tilt over 3° is reported, not applied.bun --cwd Software/so101 testpasses.Risk: the table is the floor of the safe zone. A wrong fit must be refused rather than applied.