pub struct SweepRow {
pub value: f64,
pub torque_per_acceleration: f64,
pub inertia_ratio: f64,
pub tightest: Option<(&'static str, f64)>,
pub passes: bool,
pub cycle_s: f64,
pub refused: &'static str,
pub gearbox: String,
}Expand description
One value of a sweep of a gear ratio or pulley radius (transmission_sweep): the value; the torque the motors need
per unit of acceleration of every axis in turn, summed (catalog::torque_per_acceleration, the rigid machine at
mid travel); the inertia ratio (Figures::inertia_ratio); and the cycle run with it, its tightest check and whether
it passes; refused the reason where it did not run.
Fields§
§value: f64§torque_per_acceleration: f64§inertia_ratio: f64§tightest: Option<(&'static str, f64)>§passes: bool§cycle_s: f64§refused: &'static str§gearbox: StringFor a catalogue gearbox snapped to (TransmissionSweep::snapped): its name; “” for a swept value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SweepRow
impl RefUnwindSafe for SweepRow
impl Send for SweepRow
impl Sync for SweepRow
impl Unpin for SweepRow
impl UnsafeUnpin for SweepRow
impl UnwindSafe for SweepRow
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