Skip to main content

configured

Function configured 

Source
pub fn configured(
    entry: &MachineEntry,
    config: Option<&Path>,
    sets: &[String],
    trajectory: Option<&Path>,
) -> Result<(Config, Option<Vec<(f64, Vec<f64>)>>), LinkError>
Expand description

The config of --config FILE (or else the machine’s default) with every --set path=value on top, read as sim-cli reads them; and the trajectory of --trajectory FILE (sim_components::path::parse_trajectory), to run at the start (Link::run_trajectory).