pub struct Gripper {
pub close_s: f64,
pub open_s: f64,
pub hold: Option<(f64, f64)>,
}Fields§
§close_s: f64Time to grip and to let go, s.
open_s: f64§hold: Option<(f64, f64)>A vacuum gripper’s hold: (A p_hold in N, the cup’s friction coefficient on the part). None for jaws.
Implementations§
Source§impl Gripper
impl Gripper
Sourcepub fn from_config(cfg: &Config) -> Result<Option<Self>, ConfigError>
pub fn from_config(cfg: &Config) -> Result<Option<Self>, ConfigError>
With effects.gripper_time (off where the config has no switch), from [gripper].
Trait Implementations§
impl Copy for Gripper
impl StructuralPartialEq for Gripper
Auto Trait Implementations§
impl Freeze for Gripper
impl RefUnwindSafe for Gripper
impl Send for Gripper
impl Sync for Gripper
impl Unpin for Gripper
impl UnsafeUnpin for Gripper
impl UnwindSafe for Gripper
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