Struct r2r::ackermann_msgs::msg::AckermannDrive
source · pub struct AckermannDrive {
pub steering_angle: f32,
pub steering_angle_velocity: f32,
pub speed: f32,
pub acceleration: f32,
pub jerk: f32,
}
Fields§
§steering_angle: f32
§steering_angle_velocity: f32
§speed: f32
§acceleration: f32
§jerk: f32
Trait Implementations§
source§impl Clone for AckermannDrive
impl Clone for AckermannDrive
source§fn clone(&self) -> AckermannDrive
fn clone(&self) -> AckermannDrive
Returns a copy of the value. Read more
1.0.0 · 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 AckermannDrive
impl Debug for AckermannDrive
source§impl Default for AckermannDrive
impl Default for AckermannDrive
source§impl<'de> Deserialize<'de> for AckermannDrivewhere
AckermannDrive: Default,
impl<'de> Deserialize<'de> for AckermannDrivewhere
AckermannDrive: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AckermannDrive
impl PartialEq for AckermannDrive
source§impl Serialize for AckermannDrive
impl Serialize for AckermannDrive
source§impl WrappedTypesupport for AckermannDrive
impl WrappedTypesupport for AckermannDrive
type CStruct = ackermann_msgs__msg__AckermannDrive
fn get_ts() -> &'static rosidl_message_type_support_t
fn create_msg() -> *mut ackermann_msgs__msg__AckermannDrive
fn destroy_msg(msg: *mut ackermann_msgs__msg__AckermannDrive)
fn from_native(msg: &Self::CStruct) -> AckermannDrive
fn copy_to_native(&self, msg: &mut Self::CStruct)
source§fn to_serialized_bytes(&self) -> Result<Vec<u8>>
fn to_serialized_bytes(&self) -> Result<Vec<u8>>
This serializes the message using ROS2 methods.
source§fn from_serialized_bytes(data: &[u8]) -> Result<Self>
fn from_serialized_bytes(data: &[u8]) -> Result<Self>
This deserializes the message using ROS2 methods.
impl StructuralPartialEq for AckermannDrive
Auto Trait Implementations§
impl Freeze for AckermannDrive
impl RefUnwindSafe for AckermannDrive
impl Send for AckermannDrive
impl Sync for AckermannDrive
impl Unpin for AckermannDrive
impl UnwindSafe for AckermannDrive
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more