-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not connect gripper 2F-85 by USB #167
Comments
I am trying to control the Robotiq 2F-85 gripper in Ubuntu 16.04 (kinetic) and I also get the same error. I can't connect the gripper via USB. I can't put the gripper led in blue. The first thing I do is install the following repository in my workspace:
and the dependencies:
robotiq_modbus_tcp (package included in the repository) In order to connect the gripper to the USB serial port, read and write permissions are required to function properly. To do this, I add the username and execute the following command per terminal:
Next, to find out the port on which the controller is connected, I use:
Then I execute the following command to change the access permissions on the USB port:
Finally, after sending the usual roscore and source commands I launch this node to try to establish the connection:
However, I get the following error and the gripper LED remains with the red light:
|
I don't know what exactly did the trick, but I was able to get the gripper to work after connecting it to the UR5 and changing the device is in the gripper/urcaps settings. I also connected the gripper to the "Robotiq User Interface" on a Windows desktop, and made sure the protocol settings matched the ones on the manual (RTU protocol). Best of luck. Best, |
I occasionally have the same problem, even after granting correct permissions using the It seems that some internal flags are reset when the power to the gripper through the pins that connect it to the robot arm is turned off. (pins at the back of the gripper, not the cable) Surprisingly, turning the robot arm off and turning it on did not have any affect. Not sure what exactly is going on. Just guessing that some internal state is being kept as long as the pins on the gripper are in contact with those of the arm. |
I was facing the exact same problem, and here's how I fixed it: In line 65 of Robotiq2FGripperRtuNode.py (https://github.com/ros-industrial/robotiq/blob/66961ec6b6c9c493f13410d16ce32cea1648babf/robotiq_2f_gripper_control/nodes/Robotiq2FGripperRtuNode.py#L65), replace Solution: |
I had the same problem of I did all things above, but did not solve it. When I changed my RS485-USB interface board, it works now. |
I ran into almost the same problem:
But my environment is a little bit different: My 2f-85 is not directly connected to my ROS Machine, but to my AUBO i5 controller, and I managed to send modbus commands via SOCAT following @jproberge 's instructions. I tried all methods above, but did not resolve the issue. After reading this along with other posts, I'm guessing this 'getRegister' does not reveal the true issue, and we didn't ran into the same trouble actually. I found my true issue is that my gripper was not 'connected' to robot controller which should be done on the teach pendant. check this Good luck to anyone who run into this 'getRegister' issue later, hope you can find your solution |
HI, @danfergo , sorry, i did not understand your reply. Did you mean that you connect the gripper to UR5, and connect the UR5 to your computer? How did you connect? And what is ROBOTIQ User Interface? Thank you. |
Hi all. This fork of the robotiq driver repo seems to be the most up to date. They appear to be doing their best to keep up to date with the pymodbus updates. All I had to do was comment out two lines: that are throwing attribute errors in this file. It'd be nice to get the status for but until they resolve some changes in pymodbus that's my workaround. |
or |
I recently got a 2F-85 Gripper, and I'm trying to get to work via USB/ROS. My Issue Is similar to the ones described #45 and #121, but I followed all the steps and i can't seem to get the gripper to work.
I run:
Output:
I've already added $USER to dialout and changed the /dev/ttyUSB0 permitions to all sorts of configurations (currently I have it set to 777)
I'm running Ubuntu 18.04 and ROS Melodic (though I have experimented with non-ros scripts available on other repos, and similar problems persist). I'm using the USB/Serial adapter that comes with the gripper. I've attempted to setup the modbus config file (as suggested here) #45 (comment) but the problem persists. The gripper LED stays Red the entire time. If I connect the gripper to the Universal Robots UR5, and control it using the URCaps, it works fine.
Connecting the USB and running
modprobe -r ftdi_sio
,modprobe ftdi_sio
results in:With the two warnings I'm under the impression that the modprobe config might not be being applied.
The text was updated successfully, but these errors were encountered: