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
Calibrate nominal time model against real machine timing #130
Calibrate FiberPath's planning/simulation time estimate against real-machine wall-clock timing, and decide whether to keep the nominal model or refine it.
Background
The planner and simulator currently disagree on estimated time (see design docs temp/fiberpath-pattern-engine-design-v2.md / -finer-decisions.md, decision Q1):
machine.py includes delivery-head (B) rotation in time and treats mandrel rotation in degrees (dimensionally mixed with carriage mm).
simulator.py excludes delivery-head and treats mandrel as arc-mm.
Neither matches Marlin exactly, because Marlin's feed-rate handling for mixed linear (X mm) + rotary (A/B deg) axes is machine-config-dependent (M203 max feeds, M92 steps/mm).
Decision made: adopt the O1 "surface-arc" nominal model — time = Euclid(carriage_mm, mandrel_arc_mm) / feed, delivery-head excluded — as the single canonical model in the (forthcoming) Motion IR, documented as a nominal estimate. This issue tracks validating/scaling it against hardware when time allows (not blocking).
Task
Run a known program (e.g. an examples/rocketry/*.wind output, or a small representative one) on the real Marlin XAB machine; measure actual wall-clock time.
Compare to the nominal O1 estimate.
If consistently off by a factor, add a documented calibration multiplier (and/or per-axis feed limits) so reported time matches reality.
Decide whether to (a) keep O1 + calibration factor, or (b) implement the Marlin-faithful per-axis model (O2) using machine M203/M92 config.
Document the chosen time model + assumptions in the spec.
Notes
Low priority; do when hardware time is available. Best done after the Motion IR lands (single place for the time model).
Activity
docs: add development roadmap; relocate feature-backlog
refactor(planning): adopt the single O1 nominal time model in the pla…
docs: bring capability docs in line with what shipped, and add AGENTS…