Struct franka::gripper::gripper_state::GripperState[][src]

pub struct GripperState {
    pub width: f64,
    pub max_width: f64,
    pub is_grasped: bool,
    pub temperature: u16,
    pub time: Duration,
}

Describes the gripper state.

Fields

width: f64

Current gripper opening width. Unit: [m].

max_width: f64

Maximum gripper opening width. This parameter is estimated by homing the gripper. After changing the gripper fingers, a homing needs to be done. Unit: [m].

See Gripper::homing()

is_grasped: bool

Indicates whether an object is currently grasped.

temperature: u16

Current gripper temperature. Unit: [°C].

time: Duration

Strictly monotonically increasing timestamp since robot start.

Trait Implementations

impl Clone for GripperState[src]

impl Copy for GripperState[src]

impl Debug for GripperState[src]

impl<'de> Deserialize<'de> for GripperState[src]

impl Serialize for GripperState[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,