Skip to main content

velocity_loop_responses

Function velocity_loop_responses 

Source
pub fn velocity_loop_responses(
    entry: &MachineEntry,
    configs: &[Config],
    progress: &Progress,
) -> Result<Vec<Vec<Vec<LoopPoint>>>, ConfigError>
Expand description

Per config of configs (of the same machine) per motor the open-loop response of its velocity loop (velocity_loop_response), in frequency order: at loop_frequencies and the machine’s resonances (Machine::modes of the first config) at the config’s own start pose, below the band down to the gain crossover where it lies there (to LOOP_FLOOR_HZ), and where the loop gain or the plant changes fast between two points at their middle (refinement), in up to REFINE_ROUNDS rounds. Every point is measured on a simulation of its own: they share the processors. progress counts them and can stop the measurement.