Rtabmap and octomap for ros2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Rtabmap and octomap for ros2

How can I make it possible for Rtabmap_ros to work with octomap. I see in the documentation that I need to build rtabmap_ros with octomap, but I don't know how to this...

I tried putting this in the CMakeLists.txt:

find_package(octomap REQUIRED)

And this in the package.xml:


But still doesn't work. I get the following errors:

CMake Warning at CMakeLists.txt:496 (add_executable):
  Cannot generate a safe runtime search path for target
  rtabmap_pointcloud_to_depthimage because files in some directories may
  conflict with libraries in implicit directories:

    runtime library [liboctomap.so.1.9] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
    runtime library [liboctomath.so.1.9] in /usr/lib/x86_64-linux-gnu may be hidden by files in:

  Some of these libraries may not be found correctly.