Skip to content

recoveries node registers multiple subnodes with same name #909

Closed

Description

@rotu

Bug report

Required Info:

  • Operating System:
    • Ubuntu 18
  • Installation type:
    • source
  • Version or commit hash:
  • DDS implementation:
    • OpenSplice
  • Client library (if applicable):
    • N/A

Steps to reproduce issue

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:

/motion_primitives
/motion_primitive_GetRobotPose_client
/motion_primitive_GetRobotPose_client

Additional information

This would be resolved by fixing #816

Activity

  1. mkhansenbot commented on Jul 3, 2019

    @mkhansenbot
    Collaborator

    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.

  2. self-assigned this
    on Jul 4, 2019
  3. changed the title [-]MotionPrimitiveNode registers mulitple subnodes with same name[/-] [+]MotionPrimitiveNode registers multiple subnodes with same name[/+] on Jul 5, 2019
  4. rotu commented on Jul 5, 2019

    @rotu
    ContributorAuthor

    @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.

  5. added
    2 - Medium
    on Jul 8, 2019
  6. ghost added this to the E Turtle Release milestone on Jul 8, 2019
  7. changed the title [-]MotionPrimitiveNode registers multiple subnodes with same name[/-] [+]recoveries node registers multiple subnodes with same name[/+] on Jul 18, 2019
  8. SteveMacenski commented on Aug 8, 2019

    @SteveMacenski
    Member

    @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.

    #993

  9. rotu commented on Aug 8, 2019

    @rotu
    ContributorAuthor

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

2 - Medium

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions