feat: add spindle direction selection contract
This commit is contained in:
@@ -36,6 +36,15 @@ Requirements:
|
||||
- `SEGMENT_DONE`
|
||||
- `ABORT_COMPLETE`
|
||||
|
||||
## Spindle direction field
|
||||
|
||||
`MANUAL_START`, `SETPOINT`, and future `SEGMENT_START` payloads include `spindle_direction` / `commanded_spindle_direction` with stable values:
|
||||
|
||||
- `cw` — clockwise
|
||||
- `ccw` — counter-clockwise
|
||||
|
||||
Physical convention: direction is observed from above the toolhead looking down toward the mirror/tool contact. The ODrive sign mapping is a commissioning item and must be configured so UI/protocol values match physical rotation. Direction changes are explicit setpoint changes; do not infer direction from a signed RPM. RPM remains a non-negative magnitude.
|
||||
|
||||
## v1 production subset
|
||||
|
||||
Manual v1 only needs:
|
||||
|
||||
Reference in New Issue
Block a user