pub enum ControlModeCommand {
Standby = 0,
CanControl = 1,
Teach = 2,
Ethernet = 3,
Wifi = 4,
OfflineTrajectory = 7,
}Expand description
控制模式(控制指令版本,0x151)
注意:控制指令的 ControlMode 与反馈帧的 ControlMode 不同。 控制指令只支持部分值(0x00, 0x01, 0x02, 0x03, 0x04, 0x07), 不支持 0x05(Remote)和 0x06(LinkTeach)。
Variants§
Standby = 0
待机模式
CanControl = 1
CAN指令控制模式
Teach = 2
示教模式
Ethernet = 3
以太网控制模式
Wifi = 4
wifi控制模式
OfflineTrajectory = 7
离线轨迹模式
Trait Implementations§
Source§impl Clone for ControlModeCommand
impl Clone for ControlModeCommand
Source§fn clone(&self) -> ControlModeCommand
fn clone(&self) -> ControlModeCommand
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 ControlModeCommand
impl Debug for ControlModeCommand
Source§impl Default for ControlModeCommand
impl Default for ControlModeCommand
Source§fn default() -> ControlModeCommand
fn default() -> ControlModeCommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for ControlModeCommand
impl PartialEq for ControlModeCommand
Source§impl TryFrom<u8> for ControlModeCommand
impl TryFrom<u8> for ControlModeCommand
impl Copy for ControlModeCommand
impl Eq for ControlModeCommand
impl StructuralPartialEq for ControlModeCommand
Auto Trait Implementations§
impl Freeze for ControlModeCommand
impl RefUnwindSafe for ControlModeCommand
impl Send for ControlModeCommand
impl Sync for ControlModeCommand
impl Unpin for ControlModeCommand
impl UnwindSafe for ControlModeCommand
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