You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Composition Listener is loaded into the container without warnings.
Actual behavior
In the terminal running the component_container:
[INFO] [MyContainer]: Load Library: /home/ubuntu/ros2_ws/install/composition/lib/liblistener_component.so
[INFO] [MyContainer]: Found class: rclcpp_components::NodeFactoryTemplate<composition::Listener>
[INFO] [MyContainer]: Instantiate class: rclcpp_components::NodeFactoryTemplate<composition::Listener>
[WARN] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic.
Additional information
If I run the component_container without __node:=MyContainer, no error is shown. Also, using a namespace (__ns:=/ns) doesn't cause this to happen, only the change in node name.
The text was updated successfully, but these errors were encountered:
I think that this is fundamentally the same issue as ros2/launch#204
The referenced issue is specific to a single executable which contains multiple nodes. There is currently no way to pass node-specific arguments in that case and all arguments are used by all nodes.
This case is different where the manager (without any components) is started and can optionally use arguments. The later started components should not be subject to these arguments though (which they currently are, hence the warning).
Bug report
I'm following the tutorial at https://index.ros.org/doc/ros2/Tutorials/Composition/#remapping-container-name-and-namespace . When I run the component_container with an alternate node name (by specifying
__node:=MyContainer
), I always get a warning when inserting components into the container.Required Info:
Steps to reproduce issue
In terminal 1:
In terminal 2:
Expected behavior
Composition Listener is loaded into the container without warnings.
Actual behavior
In the terminal running the component_container:
Additional information
If I run the component_container without
__node:=MyContainer
, no error is shown. Also, using a namespace (__ns:=/ns
) doesn't cause this to happen, only the change in node name.The text was updated successfully, but these errors were encountered: