-
Notifications
You must be signed in to change notification settings - Fork 275
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
A function was added to urrobot to allow a user to control the RG2 gr… #35
base: master
Are you sure you want to change the base?
Conversation
Actually, Wait, I found a small error with gripper code and will fix. need to add a timeout counter when it grips an object. Apologies |
Is it fixed? |
Our UR10 was in use by another faculty for an extended exhibit and I didn't get around to testing the fix. We got it back a month ago and I spaced on the fix, I'll test the it over the next week and confirm. |
Completed the fix. Moved everything to a file called RG2 gripper and updated the readme. If you come across any issues please let me know. If an object is removed from the gripper while grasping it will complete the closing motion if set to 0, however this was part of the default programs design from OnRobot. In the future I will try to make an additional grasp function that determines a grasping success but I couldn't quite get it working right now. However one can infer if a grasp was a success by determining what the width is after setting the gripper to move to 0. |
Hi all, this addition would be very useful for my work at present, is there anything I can do to help move it into master? |
Someone needs to rebase. |
I do not work with these robots anymore |
I added a single function to the urrobot.py file that allows a developer to control the RG2 gripper.
The parameter width is an integer between 0 and 110.
I thought it may help some others out as I have been struggling controlling this gripper with only python-urx for a couple of days. Hopefully will be considered useful. Let me know of any issues.
functionality was inspired by https://github.com/sharathrjtr/ur10_rg2_ros