Expand description
Move-duration metrics: the FLAIR constant-jerk motion/timing model.
MotionModel owns the physical timing constants (ramp rate, max jerk,
max acceleration) and the derived move-duration formula. It is the single
source of truth for lane-duration timing across the whole workspace: the
Rust search (crate consumers via bloqade-lanes-search) and the Python
layer both compute durations through this type, the latter via the
bloqade.lanes.bytecode.MotionModel PyO3 binding.
The model is configurable: MotionModel::default reproduces the FLAIR
constants exactly (see FLAIR_MAX_RAMP_US and friends), but callers may
construct a MotionModel with different constants to model a different
motion profile without touching this code.
Structs§
- Motion
Model - Constant-jerk motion/timing model for AOD moves.
Constants§
- FLAIR_
MAX_ ACCEL_ UM_ PER_ US2 - FLAIR maximum acceleration in µm/µs². Extracted from bloqade-flair.
- FLAIR_
MAX_ JERK_ UM_ PER_ US3 - FLAIR maximum jerk in µm/µs³. Extracted from bloqade-flair.
- FLAIR_
MAX_ RAMP_ US - FLAIR maximum amplitude ramp rate (amplitude units per µs).