Ask Your Question
0

Syntax of rqt_graph filters

asked 2018-01-18 15:39:18 -0600

I recently noticed, that you can use a wildcard character in rqt_graph to select node or topic names. For example "/imu*" would only show all nodes/topics which start with "/imu". Is there a way to logically link multiple filter expressions together, e.g. "Show all nodes, which start with '/imu' or '/move'"?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-01-19 02:23:27 -0600

gvdhoorn gravatar image

According to the tooltip and the code for that, the filter edit boxes accept a comma separated list of regexps:

Topic filter, comma separated list of names/regexp to include or exclude. Example: -/tf

So the regexp could have optional and required matches as well.

Doesn't seem to be documented too well, but this comment on issue 4 of the rqt_graph issue tracker has an example:

You can add filter, some sort of: -(._parameter_updates),-(._parameter_descriptions)

edit flag offensive delete link more

Comments

Thank you! This works.

Andre Volk gravatar imageAndre Volk ( 2018-01-25 14:34:44 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-01-18 15:39:18 -0600

Seen: 125 times

Last updated: Jan 19 '18