pub(crate) fn transmission(
args: &Args,
tr: &Translations,
) -> Result<(), Failure>Expand description
transmission <machine>: sweeps the gearbox ratio (--key gearbox.ratio, the default) or the pulley radius (--key geometry.pulley_radius_m) of the config from --from to --to in --count values (by default half to twice the
config’s, 9 values), each with the velocity gain retuned and run on the cycle, and the classic optimum (the least
torque per unit acceleration; for a pure inertia sqrt(J_load / J_motor)) beside them
(search::transmission_sweep). Per row: the value, the torque per unit acceleration, the inertia ratio, the cycle
time, and the result with its tightest check. With --gearboxes SERIES and a motor (--motor or the config’s
parts.motor), the series’ gearboxes that fit it around the best ratio are run as well, as rows “catalogue”. The
error stream says the classic optimum and the best value for the cycle.