[][src]Struct abbegm::msg::EgmSensor

pub struct EgmSensor {
    pub header: Option<EgmHeader>,
    pub planned: Option<EgmPlanned>,
    pub speed_ref: Option<EgmSpeedRef>,
}

Robot controller inbound message, sent from sensor to the controller during position guidance

Fields

header: Option<EgmHeader>planned: Option<EgmPlanned>speed_ref: Option<EgmSpeedRef>

Implementations

impl EgmSensor[src]

pub fn joint_target(
    sequence_number: u32,
    joints: impl Into<EgmJoints>,
    time: impl Into<EgmClock>
) -> Self
[src]

Create a sensor message containing a joint space target.

The header timestamp is created from the time parameter.

pub fn joint_target_with_speed(
    sequence_number: u32,
    joints: impl Into<EgmJoints>,
    speed: impl Into<EgmJoints>,
    time: impl Into<EgmClock>
) -> Self
[src]

Create a sensor message containing a joint space target and a joint space speed reference.

The header timestamp is created from the time parameter.

pub fn pose_target(
    sequence_number: u32,
    pose: impl Into<EgmPose>,
    time: impl Into<EgmClock>
) -> Self
[src]

Create a sensor message containing a 6-DOF pose target.

The header timestamp is created from the time parameter.

pub fn pose_target_with_speed(
    sequence_number: u32,
    pose: impl Into<EgmPose>,
    speed: impl Into<EgmCartesianSpeed>,
    time: impl Into<EgmClock>
) -> Self
[src]

Create a sensor message containing a 6-DOF pose target with a cartesian speed reference.

The header timestamp is created from the time parameter.

pub fn has_nan(&self) -> bool[src]

Check if any of the values are NaN.

Trait Implementations

impl Clone for EgmSensor[src]

impl Debug for EgmSensor[src]

impl Default for EgmSensor[src]

impl Message for EgmSensor[src]

impl PartialEq<EgmSensor> for EgmSensor[src]

impl StructuralPartialEq for EgmSensor[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> 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>,