What does "set(node_plugins ...)" actually do?
I notice that composable component-based makefiles like this one have lines like:
set(node_plugins "${node_plugins}composition::Talker;$<TARGET_FILE:talker_component>\n")
Where exactly is this being used? It just seems to essentially duplicate the previous line:
rclcpp_components_register_nodes(talker_component "composition::Talker")
But with the added fun of a hard-coded variable name. I've omitted the line and things still seem to work for me.
Asked by KenYN on 2020-06-11 01:31:40 UTC
Answers
I can't find any documentation. But it is needed for your components to be found for composition and by ros2 component types
. rclcpp_components_register_nodes
creates an executable that create an instance of your component.
Asked by Cyrille Berger on 2023-02-28 08:12:33 UTC
Comments
I'm wondering the exact same thing! Any updates about this?
Asked by Jasmin on 2022-04-04 02:47:38 UTC