pub struct WheelOdometry {
pub left_m: Option<f64>,
pub right_m: Option<f64>,
pub left_velocity_mps: Option<f64>,
pub right_velocity_mps: Option<f64>,
}Expand description
Wheel-level odometry data.
Fields§
§left_m: Option<f64>Left wheel distance in meters
right_m: Option<f64>Right wheel distance in meters
left_velocity_mps: Option<f64>Left wheel velocity in m/s
right_velocity_mps: Option<f64>Right wheel velocity in m/s
Trait Implementations§
Source§impl Clone for WheelOdometry
impl Clone for WheelOdometry
Source§fn clone(&self) -> WheelOdometry
fn clone(&self) -> WheelOdometry
Returns a duplicate 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 WheelOdometry
impl Debug for WheelOdometry
Source§impl Default for WheelOdometry
impl Default for WheelOdometry
Source§fn default() -> WheelOdometry
fn default() -> WheelOdometry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WheelOdometry
impl<'de> Deserialize<'de> for WheelOdometry
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
Auto Trait Implementations§
impl Freeze for WheelOdometry
impl RefUnwindSafe for WheelOdometry
impl Send for WheelOdometry
impl Sync for WheelOdometry
impl Unpin for WheelOdometry
impl UnwindSafe for WheelOdometry
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