Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

rospy: a single rospy latching publication continues to track dead nodes (ros ticket #3038) #107

@tfoote

Description

@tfoote

If you create a node which publishes once on a latching topic, and then bring a subscriber up and down, the list of connections in the publisher seems to just keep growing.

Terminal 1:
{{{
$ rostopic pub chatter std_msgs/String foo
}}}

Terminal 2:
{{{
$ rosrun rospy_tutorials listener.py ^C
$ rosrun rospy_tutorials listener.py ^C
$ rosrun rospy_tutorials listener.py ^C
$ rosnode info /rostopic_27665_1285637405612

...

Connections:

  • topic: /chatter
    • to: /listener_27682_1285637409689
    • direction: outbound
    • transport: TCPROS
  • topic: /chatter
    • to: /listener_27706_1285637411687
    • direction: outbound
    • transport: TCPROS
  • topic: /chatter
    • to: /listener_27729_1285637413320
    • direction: outbound
    • transport: TCPROS
      }}}

The connection list seems to get reset on publication.

trac data:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions