pub struct MotionProfile {
pub id: i32,
pub max_speed_percent: f64,
pub max_accel_percent: f64,
pub max_decel_percent: f64,
pub accel_ramp_seconds: f64,
pub decel_ramp_seconds: f64,
pub in_range: f64,
pub straight_line: i32,
}Expand description
Motion profile settings for the robot
Fields§
§id: i32§max_speed_percent: f64§max_accel_percent: f64§max_decel_percent: f64§accel_ramp_seconds: f64§decel_ramp_seconds: f64§in_range: f64§straight_line: i32Implementations§
Source§impl MotionProfile
impl MotionProfile
Trait Implementations§
Source§impl Clone for MotionProfile
impl Clone for MotionProfile
Source§fn clone(&self) -> MotionProfile
fn clone(&self) -> MotionProfile
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 MotionProfile
impl Debug for MotionProfile
Source§impl PartialEq for MotionProfile
impl PartialEq for MotionProfile
impl StructuralPartialEq for MotionProfile
Auto Trait Implementations§
impl Freeze for MotionProfile
impl RefUnwindSafe for MotionProfile
impl Send for MotionProfile
impl Sync for MotionProfile
impl Unpin for MotionProfile
impl UnwindSafe for MotionProfile
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