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

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

Closed
Smail8 opened this issue Aug 23, 2022 · 2 comments
Closed

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

Smail8 opened this issue Aug 23, 2022 · 2 comments

Comments

@Smail8
Copy link

Smail8 commented Aug 23, 2022

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 !

@rhaschke
Copy link
Contributor

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

@Smail8
Copy link
Author

Smail8 commented Aug 25, 2022

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants