This commit is contained in:
2026-07-21 14:53:10 +07:00
parent bb461b263d
commit 88cf78d66e
5 changed files with 72 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ find_package(catkin REQUIRED COMPONENTS
data_convert
geometry_msgs
nav_msgs
pcl_conversions
pcl_ros
robot_depth_image_proc
robot_costmap_2d
robot_cpp
@@ -20,6 +22,11 @@ find_package(catkin REQUIRED COMPONENTS
tf2_ros
)
find_package(PCL REQUIRED COMPONENTS
common
filters
)
find_library(TF3_LIBRARY
NAMES tf3
PATHS /usr/lib /usr/local/lib /usr/lib/x86_64-linux-gnu
@@ -38,11 +45,13 @@ add_executable(depth_local_costmap_noetic_test_node
target_include_directories(depth_local_costmap_noetic_test_node
PRIVATE
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
)
target_link_libraries(depth_local_costmap_noetic_test_node
PRIVATE
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${TF3_LIBRARY}
)