From 2a9d757b953ed847713df8005a132455eb4c4044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C5=82a=C5=BCej=20Sowa?= Date: Mon, 22 Jul 2024 23:51:05 +0200 Subject: [PATCH] Add a comment about rclcpp components macro --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b35dc1..f74c63e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,9 @@ ament_auto_add_library(laser_filter_chains SHARED src/scan_to_cloud_filter_chain.cpp src/scan_to_scan_filter_chain.cpp) +# The rclcpp_components_register_node macro registers an rclcpp component for the node with +# the ament resource index AND creates a templated executable that spins the given node. + rclcpp_components_register_node( laser_filter_chains PLUGIN "ScanToCloudFilterChain"