RobotiqGripper
Inherits from:object
Communicates with the gripper directly, via socket with string commands, leveraging string names for variables.
Attributes:
ACT (str): Activate (1 while activated, can be reset to clear fault status)
GTO (str): Go to (will perform go to with the actions set in pos, for, spe)
ATR (str): Auto-release (emergency slow move)
ADR (str): Auto-release direction (open(1) or close(0) during auto-release)
FOR (str): Force (0-255)
SPE (str): Speed (0-255)
POS (str): Position (0-255), 0 = open
STA (str): Status (0 = is reset, 1 = activating, 3 = active)
PRE (str): Position request (echo of last commanded position)
OBJ (str): Object detection (0 = moving, 1 = outer grip, 2 = inner grip, 3 = no object at rest)
FLT (str): Fault (0=ok, see manual for errors if not zero)
init
connect
Arguments
disconnect
activate
Arguments
Whether to calibrate the minimum and maximum positions based on actual motion.
is_active
get_min_position
get_max_position
get_open_position
get_closed_position
is_open
is_closed
get_current_position
get_grip_detected
auto_calibrate
move
Arguments
move_and_wait_for_pos
Arguments