Skip to main content

calculate_tuning_result

Function calculate_tuning_result 

Source
pub fn calculate_tuning_result(
    oscillation: Oscillation,
    config: LoopConfig,
    response_level: ResponseLevel,
) -> TuningResult
Expand description

Applies one ResponseLevel’s tuning constants to an Oscillation, producing Kp/Ti/Td. Pure port of the per-response-level portion of TuningConstantsCalc.