Skip to content

Get the generated grasp pose associated with a planned solution #379

Closed

Description

@Smail8

Hello,

I am trying to use MTC in a task planner for a combined task and motion planning approach. I need a way to get the chosen grasp pose from a planned solution.

For example in a Pick task, the GenerateGraspPose stage generates multiple grasps, each valid grasp leads to a solution. In my case I fix the number of planned solutions to the pick task to 1, and I want to access the grasp pose (as a Pose msg or Eigen::Isometry3d) leading to that solution after the planning process, something like this:

grasp_pose = task_->solutions()->front()->stages()["generate grasp pose"]->pose

Is there a way to do this currently ?

Thanks in advance !

Activity

  1. rhaschke commented on Aug 23, 2022

    @rhaschke
    Contributor

    That's not possible currently. We discussed an appropriate extension in #194.

  2. Smail8 commented on Aug 25, 2022

    @Smail8
    Author

    Thank you for your response ! I'm closing the issue.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions