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
{{ message }}
Repository navigation
recoveries node registers multiple subnodes with same name #909
ros2 run nav2_motion_primitives motion_primitives_node
Expected behavior
Starts up with no problem
Actual behavior
Emits a warning:
[INFO] [motion_primitives]: Configuring Spin
[INFO] [motion_primitives]: Robot: Creating
[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.
[INFO] [motion_primitives]: Configuring BackUp
[INFO] [motion_primitives]: Robot: Creating
The duplicate nodes can be seen in ros2 node list:
So we agree this is an undesired node, but can you tell me if this is causing any errors? I'm trying to get a feel for how high priority this is right now.
changed the title [-]MotionPrimitiveNode registers mulitple subnodes with same name[/-][+]MotionPrimitiveNode registers multiple subnodes with same name[/+]on Jul 5, 2019
changed the title [-]MotionPrimitiveNode registers multiple subnodes with same name[/-][+]recoveries node registers multiple subnodes with same name[/+]on Jul 18, 2019
@rotu by no means should you not merge that PR but my TF PR removes the GetRobotPose server, services, and messages. If that was the only issue its gone.
@SteveMacenski Then you've already fixed this issue as described :-). But my PR also fixes ServiceClient::ServiceClient(const std::string & service_name, const std::string & parent_name) so it shouldn't result in such collisions in general. Also, fixes a regression due to upstream changes in rcl.
Activity
mkhansenbot commentedon Jul 3, 2019
So we agree this is an undesired node, but can you tell me if this is causing any errors? I'm trying to get a feel for how high priority this is right now.
[-]MotionPrimitiveNode registers mulitple subnodes with same name[/-][+]MotionPrimitiveNode registers multiple subnodes with same name[/+]rotu commentedon Jul 5, 2019
@mkhansen-intel as far as I can tell the Spin and BackUp nodes still work properly, and the only problem this causes is the warning in the log.
[-]MotionPrimitiveNode registers multiple subnodes with same name[/-][+]recoveries node registers multiple subnodes with same name[/+]SteveMacenski commentedon Aug 8, 2019
@rotu by no means should you not merge that PR but my TF PR removes the
GetRobotPoseserver, services, and messages. If that was the only issue its gone.#993
rotu commentedon Aug 8, 2019
@SteveMacenski Then you've already fixed this issue as described :-). But my PR also fixes
ServiceClient::ServiceClient(const std::string & service_name, const std::string & parent_name)so it shouldn't result in such collisions in general. Also, fixes a regression due to upstream changes in rcl.