You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6b68e55
Browse filesBrowse the repository at this point in the historyBrowse files
Rename addLine to addWaypoint and document naxes in Readme
Add an inline FasNAxis usage example plus HORIZON notes, mark the API
experimental with timed trajectories still TODO, define AFAP, and point
to the library-wide open-items list in extras/todo. Rename
FasNAxis::addLine to addWaypoint since it appends an absolute trajectory
point, not a line segment.
bool addDwellTicks(uint32_t ticks); // zero-displacement block; v=0 at both ends
1636
1636
void endPath(); // decelerate to rest at last p
1637
1637
@@ -1661,10 +1661,10 @@ zeroed config still means “default slice”, not a zero-duration
1661
1661
slice). Same for `kappa_stop_q8 == 0` → 320 (diagnostic only).
1662
1662
`overshoot_max == 0` is Linear-like cap and is legal.
1663
1663
1664
-
`addLine` to the current position (`L = 0`, every `Δ_i = 0`) is a
1664
+
`addWaypoint` to the current position (`L = 0`, every `Δ_i = 0`) is a
1665
1665
dwell of 0 ticks (no-op). `addDwellTicks` appends a
1666
1666
zero-displacement block: lookahead treats it as a path-stop,
1667
-
dwells, then the next `addLine` starts from rest. Calling it
1667
+
dwells, then the next `addWaypoint` starts from rest. Calling it
1668
1668
mid-path is therefore a planned stop-and-wait, not a pause
1669
1669
command while still moving at speed.
1670
1670
@@ -1693,7 +1693,7 @@ void setup() {
1693
1693
path.addAxis(1, y);
1694
1694
path.syncFromSteppers();
1695
1695
int32_t a[2] = {10000, 100};
1696
-
path.addLine(a);
1696
+
path.addWaypoint(a);
1697
1697
path.endPath();
1698
1698
}
1699
1699
@@ -1702,7 +1702,7 @@ void loop() {
1702
1702
}
1703
1703
```
1704
1704
1705
-
The first `addLine` is illegal until `syncFromSteppers()` or
1705
+
The first `addWaypoint` is illegal until `syncFromSteppers()` or
1706
1706
`setCurrentPosition()`. FAS positions default to 0, so a machine
1707
1707
that is not at the origin must sync.
1708
1708
@@ -1963,7 +1963,7 @@ that violates G1/G2 does not count.
1963
1963
| F16 |`addAxis` while ramp active |`addAxis` fails; no race with `manageSteppers`| — |
1964
1964
| F17 | First fill on empty queue | Not underrun; path completes | — |
1965
1965
| F18 | Linear `(10000, 9000)`, Y 40× slower | Longest is X (DDA master) but Y would exceed `v_max` if X ran at `ticks_x`; Y lengthens `ticks_b`, X scaled down in speed; both axes issue full `\|Δ\|`| XY + v(t) |
1966
-
| F19 |`HORIZON` too small to hold `P_stop` as micro-segments |`addAxis` succeeds; `P` never reaches `P_stop`; same `HORIZON` with one long `addLine`*does* coast | v(t) capped |
1966
+
| F19 |`HORIZON` too small to hold `P_stop` as micro-segments |`addAxis` succeeds; `P` never reaches `P_stop`; same `HORIZON` with one long `addWaypoint`*does* coast | v(t) capped |
1967
1967
| F20 | Linear, ~350 waypoints: seeded random, half-circle r=4800 / 190 chords, seeded random; ticks `(4000,8000)`| Globally fastest feasible track (`naxis_ref`): every vertex hit, envelope, `P ≤ R`, master-sense-reversal path-stops on the random walk, cruise through the arc, rebind on the arc (DDA master switches; `P`/`R` stay in path steps) |`test_26_f20.gnuplot`|
1968
1968
1969
1969
F7 is the regression sibling of `examples/MoveTimed`. F5 is Linear
@@ -2192,7 +2192,7 @@ After ten chunks are buffered (`R = 8000` at the head, collinear
2192
2192
so the scan does not stop), `R ≥ P_stop` and the head may coast.
2193
2193
F11 is that recovery. F19 is the same cap with `HORIZON` too
2194
2194
small to ever hold 4000 steps of micro-segments: `addAxis`
2195
-
succeeds; contrast one 10 000-step `addLine` at the same
2195
+
succeeds; contrast one 10 000-step `addWaypoint` at the same
2196
2196
`HORIZON`, which *can* coast because `R` is steps, not points.
2197
2197
2198
2198
A 2-axis first chunk `(800, 400)`, Linear: binder X, `R = 800`
0 commit comments