Cleanup lookup of planning pipelines in MoveItCpp#1710
Conversation
|
Are you suggesting to remove the Otherwise, a simple |
a628faf to
44da0c9
Compare
No, not at all. I think it makes a lot of sense to allow different planner configs for different groups!
I agree with that and pushed another commit. |
|
Sorry for using GHA as a compiler. I don't have a ROS2 system running right now. |
Codecov ReportBase: 50.99% // Head: 50.97% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1710 +/- ##
==========================================
- Coverage 50.99% 50.97% -0.01%
==========================================
Files 378 378
Lines 31653 31639 -14
==========================================
- Hits 16138 16125 -13
+ Misses 15515 15514 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
@sjahr, if this gets approved here, can you please adapt moveit/moveit#3244 correspondingly? |
f2288a9 to
4734030
Compare
Yes, thanks a lot for contributing these changes 🙏 |
This is a backport of moveit/moveit2#1710, dropping function getPlanningPipelineNames().
…3244) This is a backport of: - moveit/moveit2#1420 - moveit/moveit2#1710 Co-authored-by: Robert Haschke <rhaschke@users.noreply.github.com>
4734030 to
d7fce96
Compare
This reverts commit 888fc53.
This attempts to cleanup the mess in configuring multiple planning pipelines, which exists since the very beginning and was changed back and forth since then, see moveit#1096, moveit#1114, moveit#1522. This PR removes MoveItCpp::getPlanningPipelineNames(), which was obviously intended initially to provide a planning-group-based filter for all available planning pipelines: A pipeline was discarded for a group, if there were no `planner_configs` defined for that group on the parameter server. As pointed out in moveit#1522, only OMPL actually explicitly declares planner_configs on the parameter server. To enable all other pipelines as well (and thus circumventing the original filter mechanism), moveit#1522 introduced empty dummy planner_configs for all other planners as well (CHOMP + Pilz). This, obviously, renders the whole filter mechanism useless. Thus, here we just remove the function getPlanningPipelineNames().
This member is not needed anymore.
d7fce96 to
5025cc4
Compare
This PR attempts to cleanup the mess in configuring multiple planning pipelines in MoveItCpp, which exists since the very beginning and was changed back and forth since then, see #1096, #1114, #1522.
This PR removes
MoveItCpp::getPlanningPipelineNames(), which was obviously intended initially to provide a planning-group-based filter for all available planning pipelines:A pipeline was discarded for a group if there were no
planner_configsdefined for that group on the parameter server.As pointed out in #1522, only OMPL actually explicitly declares
planner_configson the parameter server.To enable all other pipelines as well, #1522 introduced empty dummy
planner_configsfor all other planners (CHOMP + Pilz) - and thus, obviously, circumventing the original filter mechanism!As the filter mechanism is useless now, we can just remove the function
getPlanningPipelineNames()and revert #1522 instead.@sjahr, this is what I was thinking of for moveit/moveit#3244 (actually the PR here simplifies even more).