#[repr(C)]pub struct DifferentialTrajectorySample {
pub timestamp: f64,
pub x: f64,
pub y: f64,
pub heading: f64,
pub velocity_l: f64,
pub velocity_r: f64,
pub angular_velocity: f64,
pub acceleration_l: f64,
pub acceleration_r: f64,
pub angular_acceleration: f64,
pub force_l: f64,
pub force_r: f64,
}Expand description
Differential trajectory sample.
Fields§
§timestamp: f64The timestamp.
x: f64The x coordinate.
y: f64The y coordinate.
heading: f64The heading.
velocity_l: f64The left wheel’s velocity.
velocity_r: f64The right wheel’s velocity.
angular_velocity: f64The chassis angular velocity.
acceleration_l: f64The left wheel’s acceleration.
acceleration_r: f64The right wheel’s acceleration.
angular_acceleration: f64The chassis angular acceleration.
force_l: f64The left wheel’s force.
force_r: f64The right wheel’s force.
Trait Implementations§
Source§impl Clone for DifferentialTrajectorySample
impl Clone for DifferentialTrajectorySample
Source§impl Debug for DifferentialTrajectorySample
impl Debug for DifferentialTrajectorySample
Source§impl<'de> Deserialize<'de> for DifferentialTrajectorySample
impl<'de> Deserialize<'de> for DifferentialTrajectorySample
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 DifferentialTrajectorySample
impl RefUnwindSafe for DifferentialTrajectorySample
impl Send for DifferentialTrajectorySample
impl Sync for DifferentialTrajectorySample
impl Unpin for DifferentialTrajectorySample
impl UnsafeUnpin for DifferentialTrajectorySample
impl UnwindSafe for DifferentialTrajectorySample
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