pub fn s1_curve_of(cfg: &Config) -> Result<Vec<[f64; 2]>, ConfigError>Expand description
The printed S1 curve of a config (motor.s1_curve_speed_rad_s, motor.s1_curve_torque_nm): the same number of points
each, at least two, finite, speeds rising from 0 or above, torques not negative. Empty where the config has neither
key or both empty: the straight line.