Skip to main content

with_path

Function with_path 

Source
pub fn with_path(
    cfg: &Config,
    file: &str,
    program: &str,
    time_optimal: bool,
) -> Result<Config, ConfigError>
Expand description

The config with [path] set: the analysis of the cycle runs this path (file name and text, as --path FILE reads it) instead, timed within the axis limits or with time_optimal as fast as the motors allow. An optional table (analysis::RATINGS_BEYOND_DEFAULT): a config without it runs its cycle.