RCS Robotiq2F85 Extension#

This extension provides support for Robotiq 2F-85 Gripper in RCS.

Installation#

pip install rcs-robotiq2f85

For local development:

pip install -ve . --no-build-isolation
pip install -ve extensions/rcs_robotiq2f85

Get the serial number of the gripper with this command:

udevadm info -a -n /dev/ttyUSB0 | grep serial

Provide the necessary permission:

chmod 777 /dev/ttyUSB0

Usage#

from rcs_robotiq2f85 import RobotiQ2F85GripperConfig, RobotiQGripper

gripper = RobotiQGripper(RobotiQ2F85GripperConfig(serial_number="<YOUR_SERIAL_NUMBER>"))
gripper.reset()
gripper.shut()
print(gripper.get_normalized_width())