Skip to main content

pid_parameters_for_result

Function pid_parameters_for_result 

Source
pub fn pid_parameters_for_result(
    result: &TuneResultRow,
) -> Result<PidParameters>
Expand description

Validates a persisted result’s raw, full-precision PID parameters.

This is the single validity gate shared by the CLI and HTTP write paths. A result must be explicitly valid and contain finite values for all three constants; malformed historical rows are rejected rather than being allowed to reach a live driver.