#[repr(u8)]pub enum MoveMode {
MoveP = 0,
MoveJ = 1,
MoveL = 2,
MoveC = 3,
MoveM = 4,
MoveCpv = 5,
}Expand description
MOVE 模式
Variants§
MoveP = 0
MOVE P - 点位模式(末端位姿控制)
MoveJ = 1
MOVE J - 关节模式
MoveL = 2
MOVE L - 直线运动
MoveC = 3
MOVE C - 圆弧运动
MoveM = 4
MOVE M - MIT 模式(V1.5-2+)
MoveCpv = 5
MOVE CPV - 连续位置速度模式(V1.8-1+)
Trait Implementations§
Source§impl From<MotionType> for MoveMode
impl From<MotionType> for MoveMode
Source§fn from(motion_type: MotionType) -> MoveMode
fn from(motion_type: MotionType) -> MoveMode
Converts to this type from the input type.
Source§impl FromPrimitive for MoveMode
impl FromPrimitive for MoveMode
impl Copy for MoveMode
impl Eq for MoveMode
impl StructuralPartialEq for MoveMode
Auto Trait Implementations§
impl Freeze for MoveMode
impl RefUnwindSafe for MoveMode
impl Send for MoveMode
impl Sync for MoveMode
impl Unpin for MoveMode
impl UnwindSafe for MoveMode
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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