Skip to main content

set_config_text

Function set_config_text 

Source
pub fn set_config_text(
    entry: &MachineEntry,
    cfg: &mut Config,
    assignment: &str,
) -> Result<(), ConfigError>
Expand description

Config::set_text on a config of entry, which also adds a key the config has not got where a file of it may have it (load_config): a motor’s own value of a shared key (drive.<id>.velocity_kp_nm_s_rad), a key of analysis::RATINGS_BEYOND_DEFAULT. A misspelt key is refused as by set_text.