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

[galactic] Fix quiet filtering for node_topic graphs #70

Merged

Conversation

DLu
Copy link

@DLu DLu commented Sep 30, 2021

New version of PR #69 based on galactic-devel

Here's a standard graph with Debug/Quiet=False

Screenshot from 2021-09-28 10-44-57

However, when we turn on Debug/Quiet, we are not correctly filtering the edges.
Screenshot from 2021-09-28 10-44-53

This is an effect of the nodes being properly filtered, but the edges not being filtered, so new nodes with the dot node names (t__rosout) are created.

The new logic always filters the edges (instead of just when graph_mode == NODE_NODE_GRAPH. We also always filter the nt_nodes, which is just empty if graph_mode == NODE_NODE_GRAPH.

@hidmic I think you wrote this bit of logic originally in #35

Copy link

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

Tested locally. LGTM pending green CI:

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

@hidmic hidmic added bug and removed bug labels Oct 4, 2021
@hidmic
Copy link

hidmic commented Oct 5, 2021

Alright, going in! Thanks for the fix @DLu.

@hidmic
Copy link

hidmic commented Oct 5, 2021

@DLu would you mind to sign off your commit before I merge?

Signed-off-by: David V. Lu <davidvlu@gmail.com>
@DLu
Copy link
Author

DLu commented Oct 5, 2021

Done

@hidmic hidmic merged commit 5baa7c0 into ros-visualization:galactic-devel Oct 5, 2021
@DLu DLu deleted the quiet_filtering_galactic branch October 5, 2021 17:40
@DLu
Copy link
Author

DLu commented Oct 5, 2021

@hidmic How do you want to backport? I can open up new PRs if you want

@hidmic
Copy link

hidmic commented Oct 5, 2021

How do you want to backport? I can open up new PRs if you want

A backport PR for Foxy sounds good. We can run Foxy CI there.

DLu added a commit to DLu/rqt_graph that referenced this pull request Oct 5, 2021
Signed-off-by: David V. Lu <davidvlu@gmail.com>
hidmic pushed a commit that referenced this pull request Oct 14, 2021
Signed-off-by: David V. Lu <davidvlu@gmail.com>
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