ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

What does "set(node_plugins ...)" actually do?

asked 2020-06-11 01:31:40 -0600

KenYN gravatar image

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.

edit retag flag offensive close merge delete

Comments

I'm wondering the exact same thing! Any updates about this?

Jasmin gravatar image Jasmin  ( 2022-04-04 02:47:38 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-02-28 07:12:33 -0600

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.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-06-11 01:31:40 -0600

Seen: 387 times

Last updated: Feb 28 '23