Skip to content

database_grasp_planning service with moveit_msgs/Grasp.msg #80

Closed

Description

@v4hn

MoveIt's PickPlace pipeline supports using external ros-services for Grasp-Planning.
This feature can be used to pick objects from client code via move_group_interface->pick("objectname").
In this case the Pick action server invokes the external service database_grasp_planning (that the user has to implement and start beforehand) to compute possible grasps.

The problem is that this service adheres to the specification manipulation_msgs/GraspPlanning.srv. This specification uses the package's version of the Grasp.msg which has been reworked since and is now provided in moveit_msgs/Grasp.msg. The manipulation_msgs package is deprecated.
As a result, all grasps returned by the service have to be copied field-by-field and some fields are even missing.
This makes it impossible to provide time information for the gripper motions during the pick and it makes it impossible to specify the post_grasp_retreat direction of the grasp when using the service interface.

To fix this, the service specification should be copied to moveit_msgs and adapted to use moveit_msgs/Grasp. This will probably add a number of other messages too.
A service client for the new ROS-service should be added next to the existing one. It should connect to a service named plan_grasps (to avoid name collisions).

In indigo-devel and jade-devel the old service should still be called if the new service does not exist, in kinetic-devel, the old service can be removed entirely to simplify the manipulation code.

We might want to discuss the exact shape of moveit_msgs/GraspPlanning.srv before merging this upstream, but a full implementation that only has to be refined afterwards is definitely possible in one day of work.

Activity

  1. added
    simple improvements
    on Aug 19, 2016
  2. toliver commented on Aug 22, 2016

    @toliver

    We can deal with this task for the WMD.

  3. added
    assigned
    on Aug 22, 2016
  4. dg-shadow commented on Aug 23, 2016

    @dg-shadow
    Contributor

    Hi. I'm about to start work on this. My plan is to fix it in Kinetic first then add the changes back into Jade and Indigo. Is there any reason not to do it that way? Thanks :)

  5. v4hn commented on Aug 23, 2016

    @v4hn
    ContributorAuthor

    On Tue, Aug 23, 2016 at 03:06:09AM -0700, dg-shadow wrote:

    Hi. I'm about to start work on this. My plan is to fix it in Kinetic first then add the changes back into Jade and Indigo. Is there any reason not to do it that way? Thanks :)

    Sounds good to me :)

  6. dg-shadow commented on Aug 23, 2016

    @dg-shadow
    Contributor

    Today has been one of those days full of distractions and set backs, and I never really got started :( I am conceding defeat, so it's free to be assigned to someone else.

    My apologies. I hope the next candidate does better ;)

  7. removed
    assigned
    on Aug 23, 2016
  8. v4hn commented on Aug 23, 2016

    @v4hn
    ContributorAuthor

    too bad, thanks anyway :)

  9. v4hn commented on Aug 23, 2016

    @v4hn
    ContributorAuthor
  10. v4hn commented on Oct 12, 2016

    @v4hn
    ContributorAuthor

    This has basically been implemented in #264 and moveit/moveit_msgs#32 , even though the actual database_grasp_planning interface was not touched.
    Closing.

  11. added a commit that references this issue on Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsimple improvements

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions