Ask Your Question

What uses the Grasp Message?

asked 2012-04-03 00:16:21 -0500

David Lu gravatar image

I'd like to use the PR2_grasp_adjust package and associated service call GraspAdjust. However, I can't figure out what to do with the Grasp message once the service returns. Is there a particular service that takes Grasp messages?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-04-03 06:30:50 -0500

Matei Ciocarlie gravatar image

A Grasp can be passed on to the PickupAction, serviced by the object_manipulator. You can see an example of calling that action here:

Note that, unlike the example, you will be populating the desired_grasps field of the PickupGoal with your computed grasp.

Another example can be found in the pr2_interactive_manipulation package, in the file that Adam mentioned above.

edit flag offensive delete link more

answered 2012-04-03 06:19:35 -0500

aleeper gravatar image

If you are successfully getting grasps back from Grasp Adjust, then you'll need to pass those to a grasp executor. I'm a little fuzzy on how the grasp pipeline works downstream from the planners; object_manipulator has a node that will execute object pickup actions. A usage example is the pickup_client in pr2_interactive_manipulation/src/interactive_manipulation_backend.cpp

If you are working in Python, though, I think Kaijen might have some other handy interfaces for executing grasps. I don't really remember where those are though.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-04-03 00:16:21 -0500

Seen: 207 times

Last updated: Apr 03 '12