Skip to main content

Module metrics

Module metrics 

Source
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§

MotionModel
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).