Home› Programming
Discussion
Back to discussions page
jleng
Unconfirmed Posts: 3 Apprentice
2f85 ROS controller |
568 views
|
Answered | |
/ Most recent by jleng
in Programming
|
3 comments |

in Programming
Hello.
I'm trying to use the ROS package by Robotiq (https://github.com/ros-industrial/robotiq) to control my 2f85 gripper. I got the gripper connected to my computer through a USB-RS485 interface while having an 24V external power supply. When I run "rosrun robotiq_2f_gripper_control Robotiq2FGripperSimpleController.py", the LED on the gripper turns from red to blue (which I guess indicates that communication is built). However, when I try to input command to the command-line interface, nothing happens. Could you please provide some hint what the problem could be?
Thanks,
Jason
Tagged:
You can send an email to our ROS support team at [email protected], they will be able to guide you through this.
Best regards,
Thanks for reaching out to us and I'll be happy to help you with that! I'm sure we will find a solution soon.
So just to be sure, you should first run this command :
"rosrun robotiq_2f_gripper_control Robotiq2FGripperRtuNode.py /dev/ttyUSB0"
without quotes, and assuming your Robotiq gripper was mounted as /dev/ttyUSB0. Then, this is when the gripper's led should switch from red to blue. Once that's done, you can try to use our simple minimalist interface to find out if everything if properly working. To do so, you just have to run:
"rosrun robotiq_2f_gripper_control Robotiq2FGripperSimpleController.py".
Then if I understood properly this is when there is nothing happening, am I right? If so, could you:
1) Try to first activate the gripper (pressing on the "a" key on your keyboard, then "Enter"). if that didn't work, reset the gripper ("r"), and re-activate it ("a" again). Try to see if you can now manage to open/close the gripper. I feel these simple steps should make it work.
2) If 1) didn't work, could you please tell me if there is any error message / warning of any kinds? Also, in that case could you please tell me what Linux OS you are using and ROS version. Also, one quick test to make sure this is a problem related to ROS and not a problem related to the gripper itself, you could try using the Robotiq User Interface (on Windows though) as a quick test.
Please do not hesitate to reach out to me if you still have issues or any other ROS-related question(s).
All the best,
Jean-Philippe Roberge,
ROS Package Developper / Maintainer
[email protected]
Thanks for the reply. I actually found out the problem is on my side instead of the ROS Robotiq package. It's a simple mistake being that my 24V power supply was clipping the current it can output. After I increase the current limit everything works fine.