[−][src]Struct abbegm::msg::EgmSensor
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]
sequence_number: u32,
joints: impl Into<EgmJoints>,
time: impl Into<EgmClock>
) -> Self
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]
sequence_number: u32,
joints: impl Into<EgmJoints>,
speed: impl Into<EgmJoints>,
time: impl Into<EgmClock>
) -> Self
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]
sequence_number: u32,
pose: impl Into<EgmPose>,
time: impl Into<EgmClock>
) -> Self
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]
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.
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]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<EgmSensor> for EgmSensor
[src]
impl StructuralPartialEq for EgmSensor
[src]
Auto Trait Implementations
impl RefUnwindSafe for EgmSensor
impl Send for EgmSensor
impl Sync for EgmSensor
impl Unpin for EgmSensor
impl UnwindSafe for EgmSensor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,