rqt_console.filters.location_filter module
- class rqt_console.filters.location_filter.LocationFilter(*args: Any, **kwargs: Any)
Bases:
MessageFilter
Contains filter logic for a location filter.
- test_message(message)
Tests if the message matches the filter. If the regex flag is False simple ‘is this in that’ text matching is used on _text. If the regex flag is True _text is treated as a regular expression with one exception. If it does not start with a ^ a .* is appended, and if it does not end with a $ then a .* is added to the end.
- Parameters:
message – the message to be tested against the filters, ‘’Message’’
- Returns:
True if the message matches, ‘’bool’’