Skip to main content

with_value

Function with_value 

Source
pub fn with_value(
    entry: &MachineEntry,
    cfg: &Config,
    path: &str,
    value: f64,
) -> Result<Config, ConfigError>
Expand description

A config with one value changed that moves what the motors turn (gearbox.ratio, geometry.pulley_radius_m), the velocity gain retuned for it as with_parts retunes it for a part. cfg has its parts in (resolve).