Open ugol-1 opened 1 year ago
But where is the multiple nodes? BTW UAS know nothing about fcu_url nor gcs_url.
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