Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 48de3fa

Browse files
committed
find octomap_ros from thirdparties
1 parent 47a8e22 commit 48de3fa

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

easynav_octomap_maps_builder/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ find_package(tf2_ros REQUIRED)
1818
find_package(tf2_geometry_msgs REQUIRED)
1919
find_package(easynav_common REQUIRED)
2020
find_package(octomap_msgs REQUIRED)
21-
# find_package(octomap_ros REQUIRED)
21+
find_package(octomap_ros REQUIRED)
2222
find_package(pcl_conversions REQUIRED)
2323
find_package(pcl_ros REQUIRED)
2424
find_package(visualization_msgs REQUIRED)
@@ -39,6 +39,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC
3939
# Link against ROS2 targets and external libs
4040
target_link_libraries(${PROJECT_NAME} PUBLIC
4141
${octomap_msgs_TARGETS}
42+
${octomap_ros_TARGETS}
4243
${sensor_msgs_TARGETS}
4344
${visualization_msgs_TARGETS}
4445
${OCTOMAP_LIBRARIES}

easynav_octomap_maps_builder/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<depend>sensor_msgs</depend>
1414
<depend>easynav_common</depend>
1515
<depend>octomap_msgs</depend>
16-
<!-- <depend>octomap_ros</depend> -->
16+
<depend>octomap_ros</depend>
1717
<depend>pcl_conversions</depend>
1818
<depend>pcl_ros</depend>
1919
<depend>visualization_msgs</depend>

0 commit comments

Comments
 (0)