Latest Blog Post

build your in-house robotic expertise program

How to use the Object Detection Feature of the Robotiq Grippers

Catherine Bernier
by Catherine Bernier on May 19, 2016 7:00:00 AM

In this video of the Robotiq Support How-To video series, you’ll learn how to use the object detection feature of the Robotiq Grippers to enhance your robotic applications. You’ll also find more support videos on Robotiq TV.

The object detection feature allows you to get a feedback when an object is detected by the Gripper. Available whether in opening or closing mode, this feature can be used to inform your operator to feed the parts when they are missing or to attempt another part pick when the first one fails.

Before starting, you must know that the instructions below apply to the 2-Finger Gripper as well as the 3-Finger Gripper. In this example, we use a Universal Robot since we offer a prebuilt high level function package, but the  same logic applies with any other robot except that you will need to define your high level functions yourself.

This is a built-in function of the Gripper that is always accessible. This function monitors the motor current, so when a part is grasped, the current will spike and the object detection feature will turn true.



Normally, you need to read this status inside the Gripper registers.



However, with Universal Robots, you can use the object detection functions.

Here is how to add the object detection feature to your Universal Robots program:

  1. Open the Gripper package advanced_template.urp (Program Robot ->Load Program -> robotiq_2f_gripper_programs ->advanced_template.urp)
  2. Insert an If statement where you want the object detection status to update. (Structure -> Advanced -> If...else)
  3. Insert the object detection function. (Command -> rq_is_object_detected())

If an object is detected, the program will go on the next instruction like a text pop up or a re-grasping if the object wasn’t detect.


To know more about the object detection feature, visit



Subscribe to Robotiq's Blog

Leave a comment

Catherine Bernier
Written by Catherine Bernier
Catherine is an Application Engineer here at Robotiq. Drawing from her expertise with manufacturing processes, production management and business management in general, her main focus is helping her clients find the solutions that will best serve their needs. If you have any questions about Robotiq's products and how they can serve your application, get in touch with her at
Connect with the writer:

Related posts

Demo Week Highlights

What's trending on DoF this week? Demo week kick-off, circle move looped twice, security planes, use of Arduino to control...

Amanda Lee
By Amanda Lee - February 9, 2017
Trending on DoF This Week - Nov. 17

What's trending on DoF this week? Using one snapshot position to sort multiple parts, sampling rate for polishing, Revtech...

Amanda Lee
By Amanda Lee - November 17, 2016
Trending on DoF This Week - Nov. 10

What's trending on DoF this week? Screw insertion using Robotiq camera, Robotiq products weights, bottle packaging with UR and...

Amanda Lee
By Amanda Lee - November 10, 2016

hello guys can any one tell me how to do simulation in robo dk for UR5 and programming

I have downloaded robo dk  Read more

EtherCAT controller + ROS

Hi,We have a Kuka iiwa and a robotiq gripper that is currently interfaced to it through a controller with EtherCAT connection, connected to the iiwa's X65 port.I was now looking to control the...Read more

Recording max force value

I am using the FT 300 on a UR 10 and we are trying to perform a quality check on our product. The UR will bias the part that needs to be checked all the way in one direction to ensure that we...Read more

Sharing emergency stop with other machines

Hi,I've been trying to connect UR10 robot with press break machine and I'm asking help to making connection between those two machines. Here is picture of I/O cable from press brake. Pins 5-8 and...Read more