pub fn available_torque(drive: &DriveParams, speed: f64, torque: f64) -> f64Expand description
The torque the drive has available at a speed in the direction of torque: the torque-speed curve
(DriveParams::torque_curve), and the torque of the drive’s maximum current where that is lower.