From 226067ba40198279998a454d7e71032f016bdbe9 Mon Sep 17 00:00:00 2001 From: Adam Aposhian Date: Wed, 7 Feb 2024 15:32:59 -0700 Subject: [PATCH] register rclcpp component --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c60a1d1..89ac1cb 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,6 +55,10 @@ target_link_libraries(demo ${LIBS} ${PCL_LIBRARIES} ) add_library(patchworkpp SHARED src/patchworkpp.cpp) target_compile_definitions(patchworkpp PUBLIC "PATCHWORKPP_COMPOSITION_BUILDING_DLL") target_link_libraries(patchworkpp ${LIBS}) +rclcpp_components_register_node(patchworkpp + PLUGIN "patchworkpp::PatchworkppPointXYZI" + EXECUTABLE patchworkpp_point_xyzi +) install(TARGETS patchworkpp