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

include hidden topics #332

Merged
merged 5 commits into from
Mar 26, 2020
Merged

include hidden topics #332

merged 5 commits into from
Mar 26, 2020

Conversation

Karsten1987
Copy link
Collaborator

closes #331

This change introduces a new command line option --include-hidden-topics which explicitly enables the recording of hidden topics. If this option is not set, hidden topics won't be recored by default.

Signed-off-by: Karsten Knese karsten@openrobotics.org

Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Comment on lines 181 to 184
ROSBAG2_TRANSPORT_LOG_ERROR_STREAM(
"Hidden topics are not recorded. Topic '" <<
topic_and_type.first << "' will be skipped." <<
"You can enable them with --include-hidden-topics");
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since this is polled periodically, I am looking for a way to log only once. I am currently unable to find the appropriate macro, any ideas?

Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
@Karsten1987 Karsten1987 marked this pull request as ready for review March 26, 2020 16:04
@Karsten1987
Copy link
Collaborator Author

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

Signed-off-by: Karsten Knese <karsten@openrobotics.org>
@Karsten1987
Copy link
Collaborator Author

thanks for the iteration!

@Karsten1987 Karsten1987 merged commit f71e888 into master Mar 26, 2020
@Karsten1987 Karsten1987 deleted the include_hidden_topics branch March 26, 2020 19:44
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.

ros2 bag record -a records also hidden topics
2 participants