pub struct CmdVel {
pub linear_x: f32,
pub linear_y: f32,
pub linear_z: f32,
pub angular_x: f32,
pub angular_y: f32,
pub angular_z: f32,
pub timestamp_ns: i64,
}Expand description
A single Twist command: three-axis linear and angular velocities plus a nanosecond timestamp.
Fields§
§linear_x: f32§linear_y: f32§linear_z: f32§angular_x: f32§angular_y: f32§angular_z: f32§timestamp_ns: i64Trait Implementations§
impl Copy for CmdVel
impl StructuralPartialEq for CmdVel
Auto Trait Implementations§
impl Freeze for CmdVel
impl RefUnwindSafe for CmdVel
impl Send for CmdVel
impl Sync for CmdVel
impl Unpin for CmdVel
impl UnsafeUnpin for CmdVel
impl UnwindSafe for CmdVel
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