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

Able to show info of hidden topic. #423

Merged
merged 1 commit into from
Dec 16, 2019

Conversation

evshary
Copy link
Contributor

@evshary evshary commented Dec 15, 2019

According #411, support show hidden topic info with ros2 topic info <hidden topic>
However, I'm not sure whether it's fine to show hidden topic directly or it's necessary to add extra option, like --include-hidden-topics.

Signed-off-by: evshary <evshary@gmail.com>
@jacobperron
Copy link
Member

@evshary Thanks for the PR. I think it makes sense to not show the hidden topics by default since they are hidden for a reason. Most users shouldn't need to worry about them because they are an implementation detail. But in cases where we want to probe the hidden topics, it's nice to have the option. So, I think we should add the extra option as described (it is also consistent with other verbs like ros2 topic list).

@jacobperron jacobperron self-assigned this Dec 16, 2019
@jacobperron jacobperron added the enhancement New feature or request label Dec 16, 2019
@jacobperron
Copy link
Member

Disregard my previous comment (I still need a coffee). Since we provide the topic name explicitly, an extra option shouldn't be necessary :)

Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@jacobperron jacobperron merged commit 93e717c into ros2:master Dec 16, 2019
@jacobperron
Copy link
Member

Thanks for the contribution!

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

Successfully merging this pull request may close these issues.

2 participants