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

Execute solution with MoveItCpp #421

Open
g-argyropoulos opened this issue Jan 30, 2023 · 2 comments · May be fixed by #459
Open

Execute solution with MoveItCpp #421

g-argyropoulos opened this issue Jan 30, 2023 · 2 comments · May be fixed by #459

Comments

@g-argyropoulos
Copy link

Hello,

Is it possible to execute a task solution with MoveItCpp ?
I am trying to end up with a robot_trajectory::RobotTrajectoryPtr that can be used as input to the execute member function of moveitcpp.

Thank you

@rhaschke
Copy link
Contributor

MTC's solutions are richer than those accepted by the default MoveIt execution framework, particularly planning scene changes are performed in addition to the actual robot trajectories. As the MTC code was written before MoveItCpp, direct support is not yet available. However, a PR implementing this is highly welcome. I suggest a call like Task::execute(MoveItCpp& m, const Solution&). Have a look into ExecuteTaskSolutionCapability::goalCallback for the necessary code.

@rhaschke
Copy link
Contributor

rhaschke commented May 4, 2023

I implemented this in #459.

@rhaschke rhaschke linked a pull request May 4, 2023 that will close this issue
@rhaschke rhaschke changed the title [ROS2] Retrieve solution and execute with MoveItCpp Execute solution with MoveItCpp May 4, 2023
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

Successfully merging a pull request may close this issue.

2 participants