pub fn second_shaper_frequency(
machine: &dyn Machine,
pose: &[f64],
cfg: &Config,
) -> Result<Option<f64>, ConfigError>Expand description
The second input shaper’s frequency the cycle optimiser tries (Hz) with the plan at pose: profile.shaper2_frequency_hz
where set (above 0); otherwise the second of the modes the shaper acts on (Machine::sway_modes: a crane’s upper swing
with the hook block, not the load’s bounce on its rope), or, where the machine tells only one, its resonance where
that is more than 10 % off profile.shaper_frequency_hz. None: no second shaper to try.