rearrange chomp modules for maintainability#1251
rearrange chomp modules for maintainability#1251rhaschke merged 5 commits intomoveit:melodic-develfrom
Conversation
cdba5d7 to
a443d8f
Compare
v4hn
left a comment
There was a problem hiding this comment.
That's tedious work, thank you!
...distance_field/include/moveit/collision_distance_field/collision_detector_allocator_hybrid.h
Show resolved
Hide resolved
| moveit_ros_planning_interface | ||
| ) | ||
| else() | ||
| set(CHOMP_TEST_DEPS) |
There was a problem hiding this comment.
I'm not a fan of using undefined variables.
cmake allows for it (although there were ideas about adding a warning for it in the past), but it also has a concept of DEFINED which can trigger different behavior.
👍 to reducing the first set to 1 line
👎 to leaving out the else
There was a problem hiding this comment.
+1 to reducing the first set to 1 line
This was my intention. For me it looked really ugly.
Should I revert then?
| DEPENDS | ||
| EIGEN3 | ||
| Boost | ||
| OCTOMAP |
There was a problem hiding this comment.
I believe octomap is not required by moveit_experimental anymore with this patch.
There was a problem hiding this comment.
moveit_experimental doesn't build anything anymore...
I just moved the octomap dependency to the right place.
There was a problem hiding this comment.
moveit_experimental doesn't build anything anymore...
True.
It feels stupid to keep all the dependencies for a module that does not build anything.
Shouldn't we at least comment out all the unnecessary bits?
They cost build time and are simply baggage at this point.
There was a problem hiding this comment.
I will be fine with this ;-)
| @@ -0,0 +1,9 @@ | |||
| <library path="libmoveit_chomp_optimizer_adapter"> | |||
|
|
|||
| <class name="chomp/OptimizerAdapter" type="chomp::OptimizerAdapter" | |||
There was a problem hiding this comment.
👍 for the name change. It's simply not a "default".
The tutorial has to be changed to the new name though.
There was a problem hiding this comment.
This is on my (long) list...
f088a46 to
3f06d90
Compare
- mv collision_distance_field from moveit_experimental to moveit_planners/chomp - mv chomp_optimizer_adapter.cpp into own package in moveit_planners/chomp
... and removed collision_detector_hybrid_plugin_loader
…p/OptimizerAdapter
3f06d90 to
e658caf
Compare
|
@v4hn I fixed the remaining issues and addressed your comments. Do you want to have a final look? |
As of moveit/moveit#1251, CHOMP uses automatically the hybrid collision detector.
|
I just stumbled over https://travis-ci.org/ros-planning/moveit_visual_tools/jobs/465994691#L479 |
|
I was so brave to update the binary sources on my machine. There I get a more verbose error msg: So, we need to "uninstall" the obsolete binary package For Travis, I guess we need to wait for dockerhub to rebuild our docker image: However, as I would like to continue this discussion in #1225 |
As of moveit/moveit#1251, CHOMP uses automatically the hybrid collision detector.
|
@v4hn I guess, we should back-port this to Kinetic as well. What do you think? |
…homp [kinetic] backport rearrange chomp modules for maintainability #1251
* cleanup definition of move_group capabilities * remove explicit loading of "Hybrid" collision detector As of moveit/moveit#1251, CHOMP uses automatically the hybrid collision detector.
… objects (moveit#3124) (moveit#1251) * Add test that trigger the bug in applying scene that have robot state diffs * Fix a bug in planning scene diffs where having applying two diffs would cause them to override the aco * Fix a bug where removing an attached collision object would keep it in the scene * Update moveit_core/planning_scene/test/test_planning_scene.cpp Co-authored-by: AndyZe <andyz@utexas.edu> * Update moveit_core/planning_scene/test/test_planning_scene.cpp Co-authored-by: AndyZe <andyz@utexas.edu> * Update moveit_core/planning_scene/src/planning_scene.cpp Co-authored-by: AndyZe <andyz@utexas.edu> * Check parent pointer Co-authored-by: AndyZe <andyz@utexas.edu> Co-authored-by: AndyZe <andyz@utexas.edu>
Cleaning up chomp sources that are scattered around the repository, creating a circular dependency between chomp, moveit_core, and moveit_experimental.
This fixes #1136:
collision_distance_fieldfrommoveit_experimentalback tomoveit_corechomp_optimizer_adapter.cppinto own packagemoveit_chomp_optimizer_adapterdefault_planner_request_adapters/CHOMPOptimizerAdapter->chomp/OptimizerAdapter