pub struct TfTransform {
pub stamp_sec: i32,
pub stamp_nanosec: u32,
pub frame_id: String,
pub child_frame_id: String,
pub translation: [f64; 3],
pub rotation_xyzw: [f64; 4],
}Expand description
One geometry_msgs/msg/TransformStamped decoded from a ROS 2 TFMessage.
Fields§
§stamp_sec: i32Header timestamp seconds.
stamp_nanosec: u32Header timestamp nanoseconds.
frame_id: StringParent coordinate frame.
child_frame_id: StringChild coordinate frame.
translation: [f64; 3]Translation in meters as x/y/z.
rotation_xyzw: [f64; 4]Quaternion rotation as x/y/z/w.
Trait Implementations§
Source§impl Clone for TfTransform
impl Clone for TfTransform
Source§fn clone(&self) -> TfTransform
fn clone(&self) -> TfTransform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TfTransform
impl Debug for TfTransform
Source§impl PartialEq for TfTransform
impl PartialEq for TfTransform
Source§fn eq(&self, other: &TfTransform) -> bool
fn eq(&self, other: &TfTransform) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TfTransform
Auto Trait Implementations§
impl Freeze for TfTransform
impl RefUnwindSafe for TfTransform
impl Send for TfTransform
impl Sync for TfTransform
impl Unpin for TfTransform
impl UnsafeUnpin for TfTransform
impl UnwindSafe for TfTransform
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