Skip to content
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

How to achieve grasping an object in simulation? #2

Open
LuserBen opened this issue Feb 24, 2019 · 4 comments
Open

How to achieve grasping an object in simulation? #2

LuserBen opened this issue Feb 24, 2019 · 4 comments

Comments

@LuserBen
Copy link

Hi, I see that robotiq grasps the object well in gazebo in your models. Do you use gazebo_grasp_plugin?
I use gazebo_grasp_plugin to help robotiq pick an object in gazebo, but it usually has no effect.
So can you tell me how you solved it. Thank you.

@neka-nat
Copy link
Owner

Hi,
Yes. I also use gazebo_grasp_plugin and I set the plugin parameters so that the robot can grasp.
In this repository, it is set as follows.

neka-nat/robotiq_85_gripper@8a41bd1

@LuserBen
Copy link
Author

Hi, @neka-nat. Thanks for your sharing.
I find the reason that the issue is not on the parameters, maybe on the plugin.
If the object is in the middle of the gripper(x = y, because I get the object state by gazebo service /get_model_state, there is no position error of the object), left finger and right finger will arrive target pose at the same time but without counting contact points in 'close' process. So I add a position offset (x != y), one finger will contact the object first, then another finger. It works.
qq 20190227154118

@neka-nat
Copy link
Owner

Did you actually try to experiment with varying the parameters?

I don't remember such a bug happened.
However, grasping with the plug-in is very unstable and it often happened that the robot could or couldn't grasp at the same position.

@LuserBen
Copy link
Author

@neka-nat
At the begining, the robot get the object state by gazebo service /get_model_state, gripper can not grasp the object. So I tried different parameters, but it still did not work. Then I get the object position by kinect v1, position errors lead to x != y, this time it works.
So I add a position offset (x != y), one finger will contact the object first, then another finger. It works.
You can have a try, object (for me object is cube, so problem is obvious) in the middle of two fingers or not.
I send a comment in JenniferBuehler/gazebo-pkgs#9. floor 51.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants