Struct abbegm::msg::EgmSensor [−][src]
pub struct EgmSensor {
pub header: Option<EgmHeader>,
pub planned: Option<EgmPlanned>,
pub speed_ref: Option<EgmSpeedRef>,
}
Expand description
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
Create a sensor message containing a joint space target.
The header timestamp is created from the time
parameter.
Create a sensor message containing a joint space target and a joint space speed reference.
The header timestamp is created from the time
parameter.
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
pub fn pose_target_with_speed(
sequence_number: u32,
pose: impl Into<EgmPose>,
speed: impl Into<EgmCartesianSpeed>,
time: impl Into<EgmClock>
) -> Self
Create a sensor message containing a 6-DOF pose target with a cartesian speed reference.
The header timestamp is created from the time
parameter.
Trait Implementations
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for EgmSensor
impl UnwindSafe for EgmSensor
Blanket Implementations
Mutably borrows from an owned value. Read more