pub fn torque_speed_curve(
drive: &DriveParams,
) -> (Vec<(f64, f64)>, Vec<(f64, f64)>)Expand description
The torque-speed curve of a motor’s drive (DriveParams::torque_curve) as an outline of (speed rad/s, torque N m):
the highest torque from the no-load speed backwards to the no-load speed forwards, then the lowest torque back,
at the curve’s corners and 40 speeds between (a field-weakened curve bends). And the continuous (S1) rating as the
app and the motor-s1 verdict have it (charts::torque_speed): its line for positive torque, then the one for
negative torque back, closed.