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
When the mavros::uas::UAS component is loaded into a component container, it creates multiple nodes with the same name as the component manager name. It seems that each plugin node gets the name of the component manager.
$ ros2 node list
WARNING: Be aware that there are nodes in the graph that share an exact name, which can have unintended side effects.
/launch_ros_14237
/mavros/MavrosComponentManager
/mavros/MavrosComponentManager
/mavros/transform_listener_impl_aaab08278b40
/mavros/uas
The text was updated successfully, but these errors were encountered:
But where is the multiple nodes? BTW UAS know nothing about fcu_url nor gcs_url.
[component_container_mt-1] [WARN] [1698947283.391710062] [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.
This is printed for each plugin node when it is loaded. Also check the output of ros2 node list. Every plugin node gets the same name as the component manager.
Issue details
When the
mavros::uas::UAS
component is loaded into a component container, it creates multiple nodes with the same name as the component manager name. It seems that each plugin node gets the name of the component manager.Launch file:
MAVROS version and platform
Mavros: 2.6.0-1jammy.20230912.120519
ROS: Iron
Ubuntu: 22.04
Autopilot type and version
[x] ArduPilot
[ ] PX4
Version: 4.3.7
Node logs
Diagnostics
Node list
The text was updated successfully, but these errors were encountered: