-
Notifications
You must be signed in to change notification settings - Fork 80
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
exporting more grasp information #68
Comments
I would possibly recommend the dof values instead of the joint values. you can get them with: If you just want to hack the EGPlanner in GraspIt!, then you can just add the following lines to get the dof values: And extend the graspRecord class to write whatever information you would like: If you run it with the EGPlannerDlg, then just iterate over the list of grasps in: and export them to a file. If you are doing this with ROS, then take a look at: |
In order to get contact locations: For example: Shows how to collect the contacts, and if you want to get the contacts in the frame of the body: You can get the body pose and link of the hand in the world frame using: So you can get the pose of the contact in the world frame using: |
This is very helpful, thanks! Also, do you have any example files for manually indicating the sampling locations/patterns for the planner? |
The EGPlanner uses simulated annealing to sample the planning space. Take a look at the list planner if you want to create a list of grasps and then have graspit report the quality for them. I have been playing around a bit with the list planner Matei originally wrote which sounds like what you are looking for here: Run graspit/ I never quite finished this PR, but it should give you many of the components you are after. |
Perhaps if you end up going the listPlanner route, you could clean this up a bit and finish the PR?: |
Hi,
I'd like to pull out the following items for each grasp, and preferably save them into a txt file (like the way hand position and grasp quality is saved when running a planner), and I was just wondering if you can point me to the right functions to use for each parameter.
thanks!
The text was updated successfully, but these errors were encountered: