-
Notifications
You must be signed in to change notification settings - Fork 542
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
[Planning Pipeline Refactoring] #2 Enable chaining planners #2457
Conversation
This pull request is in conflict. Could you fix it @sjahr? |
01552a9
to
09fb0fd
Compare
This pull request is in conflict. Could you fix it @sjahr? |
09fb0fd
to
2e8c166
Compare
This pull request is in conflict. Could you fix it @sjahr? |
7d94924
to
6130b20
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks like a reasonable cleanup! Seems there are still 3 commented-out functions that we need to decide what to do with, so let us know how we can help make that decision.
moveit_core/planning_interface/include/moveit/planning_interface/planning_interface.h
Outdated
Show resolved
Hide resolved
moveit_ros/benchmarks/include/moveit/benchmarks/BenchmarkExecutor.h
Outdated
Show resolved
Hide resolved
moveit_ros/move_group/src/default_capabilities/query_planners_service_capability.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/move_group/src/default_capabilities/query_planners_service_capability.cpp
Outdated
Show resolved
Hide resolved
moveit_ros/planning/planning_pipeline/include/moveit/planning_pipeline/planning_pipeline.h
Outdated
Show resolved
Hide resolved
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2457 +/- ##
==========================================
- Coverage 50.49% 50.46% -0.02%
==========================================
Files 387 387
Lines 32157 32183 +26
==========================================
+ Hits 16233 16238 +5
- Misses 15924 15945 +21 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Sebastian Castro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes all look good, just have a question about some comments that still say TODO.
Also, there are still CI failures, though I gave a quick look and it has to do with some Fast DDS stuff?
|
||
const planning_interface::PlannerManagerPtr& planner_interface = planning_pipeline->getPlannerManager(); | ||
if (planner_interface) | ||
// TODO(sjahr): Update for multiple planner plugins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to get done, or is it updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be updated. For now the first planner in the chain is used which is usually OMPL. Updating this involves more changes in the visualization with RVIZ and the moveit plugins which is why I'd like to keep this out of the PR
moveit_ros/move_group/src/default_capabilities/query_planners_service_capability.cpp
Show resolved
Hide resolved
{ | ||
context->solve(res); | ||
publishPipelineState(mutable_request, res, planner_instance_->getDescription()); | ||
mutable_request.trajectory_constraints.constraints = getTrajectoryConstraints(res.trajectory); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related PRs:
Description
This PR enables chaining multiple planners. This way it is e.g. possible to create an initial trajectory or reference trajectory for optimizing planners.
TODO
Testing
ros2 launch moveit2_tutorials pipeline_testbench.launch.py
Checklist