Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make rosnode info show topic types of unconnected subscribers #2366

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from

Conversation

Sanoronas
Copy link

When running a node which has unconnected Subscribers rosnode info is unable to infer topic type.
In contrast rostopic info is able to resolve this.

  • change rosnode info to use master.getTopicTypes() instead of master.getPublishedTopics('/')
  • rename pub_topics variable to topic_types to match new content

Copy link
Contributor

@peci1 peci1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I've tested this locally.

Theoretically, this might introduce much higher traffic on systems with many topics, but I guess it's not a big problem because rosnode info is more a diagnostic tool than something that should be used as a part of a final system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants