ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
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 image Andre Volk  ( 2018-01-25 14:34:44 -0600 )edit

Question Tools

2 followers

Stats

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

Seen: 804 times

Last updated: Jan 19 '18