Skip to main content

axis_errors

Function axis_errors 

Source
pub fn axis_errors(
    cfg: &Config,
    sim: &Sim,
) -> Result<Vec<AxisErrors>, ConfigError>
Expand description

The axes of [[accuracy.axes]] that grow or have a lead error, for sim (its axes and heated parts), with the effects that are off left out: none at all with both off, or with effects.load_encoder, whose scale reads the carriage itself (its own expansion is not modelled). Each entry has axis (a tool axis’s id) and may have drive (“screw”, the default, or “belt”: which of accuracy.screw_expansion_per_k and accuracy.belt_expansion_per_k it takes, else STEEL_EXPANSION_PER_K and BELT_EXPANSION_PER_K), fixed_end (0), rise_k (0), heated_part (the id of one of the machine’s thermal_parts) and lead_error (rows [position, error], positions rising).