pub struct TransmissionSweep {
pub rows: Vec<SweepRow>,
pub classic: f64,
pub best: f64,
pub snapped: Vec<SweepRow>,
}Expand description
A sweep of one value of the config (gearbox.ratio or geometry.pulley_radius_m): the rows of the values swept
and of the two optima, in the order of their value; the classic optimum, the value at which the motors need the
least torque per unit of acceleration (for a pure inertia optimum_ratio); the best value for the cycle, the row
that passes with the lowest tightest check (else the lowest tightest check); and the catalogue gearboxes around the
best ratio, each run on the cycle (with a motor and a series given).
Fields§
§rows: Vec<SweepRow>§classic: f64§best: f64§snapped: Vec<SweepRow>Trait Implementations§
Source§impl Clone for TransmissionSweep
impl Clone for TransmissionSweep
Source§fn clone(&self) -> TransmissionSweep
fn clone(&self) -> TransmissionSweep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransmissionSweep
impl Debug for TransmissionSweep
Source§impl Default for TransmissionSweep
impl Default for TransmissionSweep
Source§fn default() -> TransmissionSweep
fn default() -> TransmissionSweep
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransmissionSweep
impl RefUnwindSafe for TransmissionSweep
impl Send for TransmissionSweep
impl Sync for TransmissionSweep
impl Unpin for TransmissionSweep
impl UnsafeUnpin for TransmissionSweep
impl UnwindSafe for TransmissionSweep
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more