-
Notifications
You must be signed in to change notification settings - Fork 103
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
Handling Multiple Grasps? #32
Comments
Hi Michael, this would require modifications in the plugin, so unfortunately this won't work at the moment :( I'm also not sure how it would behave - think that the object is attached to the robot via a fixed joint (like it was part of the robot for the duration of attachment). If two independent kinematic chains grasp it, they would be connected - I suspect the physics engines wouldn't like that, at least not while any forces are applied to the joints. The robot(s) could possibly "explode" ;) It would probably be better to switch the attachment instantaneously (at the same update step detach from one robot and attach to the other). But again, this has to be implemented in the plugin. |
Hi Jennifer, Thanks for the fast response. Also, thanks for the plugin which has helped us quite a bit! That is sort of what I experienced and now that I've looked through the source code and based on your description that makes sense. I think I am going to try a work around where I split the object I'm grasping into two links with a fairly rigid joint in between. Then I will disable collisions after attaching and try to attach one end-effector to one link and the other to the other link. |
Ok, let me know how the object splitting goes, though to be honest I think that could still cause issues, even small forces pulling from different ends at the same object can cause conflicts. |
That is a good idea. I considered doing something like that however, there is an incentive to be able to achieve a simultaneous grasp for our use case. I will let you know how it goes! If I am unable to get my object splitting idea to work then an instantaneous switch between end-effectors as you suggested is probably our best option. If I end up working out the instantaneous switch I will send a PR. Thanks agian! |
Hi Jennifer,
I am trying to simulate a hand-off between two grippers using your Gazebo Grasp plugin. I am trying to grip an object (cylinder) with a 2-dof gripper that is already being griped by another 2-dof gripper. I was hoping this would result in a simultaneous grasp between the object and the two grippers until the first gripper detaches from the object. Instead, the second gripper will not attach until the first gripper is detached. Is it possible to handle simultaneous grasps between grippers with this plugin? Or do you have any idea how I could achieve this?
Thanks,
Michael
The text was updated successfully, but these errors were encountered: