pub struct GripperFeedback {
pub travel_mm: i32,
pub torque_nm: i16,
pub status: GripperStatus,
}Expand description
夹爪反馈指令 (0x2A8)
包含夹爪行程、扭矩和状态反馈。
- 行程单位:0.001mm(原始值)
- 扭矩单位:0.001N·m(原始值)
Fields§
§travel_mm: i32§torque_nm: i16§status: GripperStatusImplementations§
Trait Implementations§
Source§impl Clone for GripperFeedback
impl Clone for GripperFeedback
Source§fn clone(&self) -> GripperFeedback
fn clone(&self) -> GripperFeedback
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 GripperFeedback
impl Debug for GripperFeedback
Source§impl Default for GripperFeedback
impl Default for GripperFeedback
Source§fn default() -> GripperFeedback
fn default() -> GripperFeedback
Returns the “default value” for a type. Read more
Source§impl TryFrom<PiperFrame> for GripperFeedback
impl TryFrom<PiperFrame> for GripperFeedback
Source§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
impl Copy for GripperFeedback
Auto Trait Implementations§
impl Freeze for GripperFeedback
impl RefUnwindSafe for GripperFeedback
impl Send for GripperFeedback
impl Sync for GripperFeedback
impl Unpin for GripperFeedback
impl UnwindSafe for GripperFeedback
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