Robotiq 2F-85 Functionality Test Tutorial

This tutorial tests a Robotiq 2F-85 (or compatible Robotiq two-finger gripper) before it is integrated with a robot or an RL system. It covers an isolated Python environment, USB-to-RS485 setup, expected command output, safe motion tests, SERL integration, and common failures.

The test program is robotiq_2f85_function_test.py. It supports:

  1. Direct Modbus RTU — recommended for the first bench test. The computer communicates with the gripper through a USB-to-RS485 adapter; ROS, SERL, and a Franka arm are not required.
  2. SERL HTTP — use after the gripper works through SERL’s running franka_server.py.

If the gripper label says WF-85 rather than 2F-85, verify the exact model and electrical interface before sending motion commands.


0. Safety and prerequisites

Before applying power or sending a motion command:

Commands in this guide assume the terminal is in this repository:

cd /data/code/grippers/robotiq_tutorial
pwd
ls robotiq_2f85_function_test.py

Expected result:

/data/code/grippers/robotiq_tutorial
robotiq_2f85_function_test.py