#[repr(u8)]pub enum RobotStatus {
Show 16 variants
Normal = 0,
EmergencyStop = 1,
NoSolution = 2,
Singularity = 3,
AngleLimitExceeded = 4,
JointCommError = 5,
JointBrakeNotOpen = 6,
Collision = 7,
TeachOverspeed = 8,
JointStatusError = 9,
OtherError = 10,
TeachRecord = 11,
TeachExecute = 12,
TeachPause = 13,
MainControlOverTemp = 14,
ResistorOverTemp = 15,
}Expand description
机械臂状态
Variants§
Normal = 0
正常
EmergencyStop = 1
急停
NoSolution = 2
无解
Singularity = 3
奇异点
AngleLimitExceeded = 4
目标角度超过限
JointCommError = 5
关节通信异常
JointBrakeNotOpen = 6
关节抱闸未打开
Collision = 7
机械臂发生碰撞
TeachOverspeed = 8
拖动示教时超速
JointStatusError = 9
关节状态异常
OtherError = 10
其它异常
TeachRecord = 11
示教记录
TeachExecute = 12
示教执行
TeachPause = 13
示教暂停
MainControlOverTemp = 14
主控NTC过温
ResistorOverTemp = 15
释放电阻NTC过温
Trait Implementations§
Source§impl Clone for RobotStatus
impl Clone for RobotStatus
Source§fn clone(&self) -> RobotStatus
fn clone(&self) -> RobotStatus
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 RobotStatus
impl Debug for RobotStatus
Source§impl Default for RobotStatus
impl Default for RobotStatus
Source§fn default() -> RobotStatus
fn default() -> RobotStatus
Returns the “default value” for a type. Read more
Source§impl From<u8> for RobotStatus
impl From<u8> for RobotStatus
Source§fn from(number: u8) -> RobotStatus
fn from(number: u8) -> RobotStatus
Converts to this type from the input type.
Source§impl FromPrimitive for RobotStatus
impl FromPrimitive for RobotStatus
type Primitive = u8
fn from_primitive( number: <RobotStatus as FromPrimitive>::Primitive, ) -> RobotStatus
Source§impl PartialEq for RobotStatus
impl PartialEq for RobotStatus
impl Copy for RobotStatus
impl Eq for RobotStatus
impl StructuralPartialEq for RobotStatus
Auto Trait Implementations§
impl Freeze for RobotStatus
impl RefUnwindSafe for RobotStatus
impl Send for RobotStatus
impl Sync for RobotStatus
impl Unpin for RobotStatus
impl UnwindSafe for RobotStatus
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