pub struct HoldingBrake { /* private fields */ }Expand description
Holding brake on a motor shaft, engaged while the drives are disabled. A machine keeps one state per brake, its deflection s.
Implementations§
Source§impl HoldingBrake
impl HoldingBrake
Sourcepub fn from_config(cfg: &Config, j_rotor: f64) -> Result<Self, ConfigError>
pub fn from_config(cfg: &Config, j_rotor: f64) -> Result<Self, ConfigError>
j_rotor is the inertia the brake holds directly: rotor and gearbox input.
Sourcepub fn torque(&self, engaged: bool, speed: f64, s: f64) -> (f64, f64)
pub fn torque(&self, engaged: bool, speed: f64, s: f64) -> (f64, f64)
(torque opposing the speed, rate of the deflection s).
Held, the shaft sits on a damped spring that reaches the brake torque at BRAKE_DEFLECTION_RAD. The
torque never exceeds the brake torque: beyond it the brake slips, and s stops following the shaft.
A friction contact with bristle damping (LuGre) gave many times the brake torque when it engaged at
speed, and its state was too stiff for the step above 178 rad/s.
Trait Implementations§
Source§impl Clone for HoldingBrake
impl Clone for HoldingBrake
Source§fn clone(&self) -> HoldingBrake
fn clone(&self) -> HoldingBrake
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 moreAuto Trait Implementations§
impl Freeze for HoldingBrake
impl RefUnwindSafe for HoldingBrake
impl Send for HoldingBrake
impl Sync for HoldingBrake
impl Unpin for HoldingBrake
impl UnsafeUnpin for HoldingBrake
impl UnwindSafe for HoldingBrake
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