pub struct GripperStatus {
pub act: bool,
pub gto: bool,
pub sta: ActivationStatus,
pub obj: ObjDetectStatus,
pub fault: GripperFault,
pub k_flt: u8,
pub pos_req: u8,
pub pos: u8,
pub current: u8,
}Expand description
Robot Input / Status of the gripper
Read from register starting at 2000, 6 bytes of data.
Detailing the status of gripper, e.g. current position, speed, force …
Fields§
§act: boolActivation status, echo of the rACT bit (activation bit).
gto: boolAction status, echo of the rGTO bit (go to bit).
sta: ActivationStatusgripper status, returns the current status and motion of the gripper fingers
obj: ObjDetectStatusObjected detection status, is a built-in feature that provides information on possible object pick-up. Ignore if gto == 0
fault: GripperFaultFault status returns general error messages that are useful for troubleshooting.
k_flt: u8Other fault status, the masked higher 4 bits of register FAULT STATUS, (mask 0xF0).
pos_req: u8Echo of the requested position for the gripper, value between 0x00 and 0xFF.
pos: u8Actual position of the gripper obtained via the encoders, value between 0x00 and 0xFF.
current: u8The current is read instantaneously form the motor drive, value between 0x00 and 0xFF, approximate current equivalent is 10 * current in mA.
Implementations§
Trait Implementations§
Source§impl Clone for GripperStatus
impl Clone for GripperStatus
Source§fn clone(&self) -> GripperStatus
fn clone(&self) -> GripperStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more