pub enum Transmission {
Belt,
Screw {
values: String,
},
Rack {
values: String,
},
LinearMotor {
values: String,
},
Rotary {
inertia: f64,
payload: f64,
strain_wave: Option<String>,
bearing: [f64; 2],
},
}Expand description
What a motor drives: a belt pulley, or an axis through a screw, rack, linear motor or rotary (each with the dotted path of its values’ table).
Variants§
Belt
Screw
Rack
LinearMotor
Rotary
bearing: the bearing’s Coulomb (N m) and viscous (N m s/rad) friction at the axis.
Auto Trait Implementations§
impl Freeze for Transmission
impl RefUnwindSafe for Transmission
impl Send for Transmission
impl Sync for Transmission
impl Unpin for Transmission
impl UnsafeUnpin for Transmission
impl UnwindSafe for Transmission
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