pub fn with_motor_part(
entry: &MachineEntry,
cfg: &Config,
motor: &str,
article: &str,
supply: &str,
gearbox: &str,
drive: &str,
) -> Result<Config, ConfigError>Expand description
The config with the catalogue motor article at supply, its drive drive and the gearbox gearbox (“” each: the
motor’s own) as motor motor’s own parts, [parts.<motor>] (motor_config puts them in), and that motor’s velocity
gain drive.<motor>.velocity_kp_nm_s_rad retuned for them as with_named retunes the shared one: by the square root
of the ratio of the inertia that motor turns (inertia_seen, its column alone) times that of its rotor’s, and its
kv_1_s lowered where its position cascade needs it (cascade).