pub struct GripperTeachParamsCommand {
pub teach_travel_coeff: u8,
pub max_travel_limit: u8,
pub friction_coeff: u8,
}Expand description
夹爪/示教器参数设置指令 (0x47D)
用于设置示教器行程系数、夹爪行程系数和夹爪扭矩系数。 注意:根据协议文档,实际字段与实现计划可能有所不同。 协议文档显示:
- Byte 0: 示教器行程系数设置(100~200,单位%)
- Byte 1: 夹爪/示教器最大控制行程限制值设置(单位mm)
- Byte 2: 示教器摩擦系数设置(1-10)
Fields§
§teach_travel_coeff: u8§max_travel_limit: u8§friction_coeff: u8Implementations§
Trait Implementations§
Source§impl Clone for GripperTeachParamsCommand
impl Clone for GripperTeachParamsCommand
Source§fn clone(&self) -> GripperTeachParamsCommand
fn clone(&self) -> GripperTeachParamsCommand
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 GripperTeachParamsCommand
impl Debug for GripperTeachParamsCommand
impl Copy for GripperTeachParamsCommand
Auto Trait Implementations§
impl Freeze for GripperTeachParamsCommand
impl RefUnwindSafe for GripperTeachParamsCommand
impl Send for GripperTeachParamsCommand
impl Sync for GripperTeachParamsCommand
impl Unpin for GripperTeachParamsCommand
impl UnwindSafe for GripperTeachParamsCommand
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