How do you include header files from moveit_experimental in a project?
Hello,
I am trying to include the collision_detector_hybrid_plugin_loader.h file (located in collision_distance_field of the moveit_experimental sub-folder) so that I can the planning scene's default collision detector to HYBRID (instead of FCL).
I've tried including the file with the following line:
#include <moveit/collision_distance_field/collision_detector_hybrid_plugin_loader.h>
but "catkin build" states that no such file can be found. Can I fiddle with the CMakeLists.txt file to make the header file known, or do I have to move the collision_detector_hybrid_plugin_loader.h file (and its associated and reference files) to the moveit_core directory?
The moveit_experimental folder is located in the moveit default package:
https://github.com/ros-planning/moveit
Thanks for the help!
you'll have to. Did you add the package(s) that provide(s) that/those header(s) to your
find_package(catkin COMPONENTS ..)
line?Thank you! This was exactly the solution!!
For future readers: You need to go to whatever package is using the moveit_experimental functionality (in my case, the package of the robot I was creating) and edit the CMakeLists.txt file and the package.xml file to include moveit_experimental alongside where moveit_core is