Skip to main content

lift_profiles

Function lift_profiles 

Source
pub fn lift_profiles(
    entry: &MachineEntry,
    cfg: &Config,
) -> Result<Vec<([usize; 3], Vec<Vec<f64>>, f64)>, ConfigError>
Expand description

Per lift of the cycle with two or more obstacles in its way (as the optimiser finds them, optimise_cycle_with): its three segments, its height profile as profile builds it, and how far the optimiser raises those points for the planned spline through them to keep the clearance (smoothed_profile). Empty without obstacles; lifts with fewer than two obstacles in the way, or whose profile does not clear, are left out.