Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
Speed and acceleration limits can differ per joint: maxSpeedDegS and maxAccelDegS2 take a per-joint override, defaults unchanged #477
Sign in to join this conversation.
From #438 step 4. #469 needs this before anyone can raise one joint's limits without raising them all.
Done:
Software/so101/src/safety.tsaccepts an optionaljointSpeedDegSandjointAccelDegS2, maps of joint name to number, next tomaxSpeedDegSandmaxAccelDegS2. The Governor uses a joint's own value when it has one, and the global value otherwise.PUT /settingsvalidates them at the boundary: known joint names, finite numbers, and no higher than the documented ceiling that applies to the global limits. They are saved and returned likejointLimitsDeg.bun --cwd Software/so101 testpasses.