pub struct RobotOdometry {
pub x: f64,
pub y: f64,
pub theta: f64,
pub left_wheel_speed: i32,
pub right_wheel_speed: i32,
pub obstacle_distance_cm: f64,
}Expand description
Simulated Robot Kinematic Position & Odometry
Fields§
§x: f64§y: f64§theta: f64§left_wheel_speed: i32§right_wheel_speed: i32§obstacle_distance_cm: f64Trait Implementations§
Source§impl Clone for RobotOdometry
impl Clone for RobotOdometry
Source§impl Debug for RobotOdometry
impl Debug for RobotOdometry
Source§impl Default for RobotOdometry
impl Default for RobotOdometry
Auto Trait Implementations§
impl Freeze for RobotOdometry
impl RefUnwindSafe for RobotOdometry
impl Send for RobotOdometry
impl Sync for RobotOdometry
impl Unpin for RobotOdometry
impl UnsafeUnpin for RobotOdometry
impl UnwindSafe for RobotOdometry
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