Use an entity path filter to focus a view on part of your recording, such as one camera or a robot's trajectory, while leaving out unrelated or debug data. The filter selects entities by their paths without changing the recording, so different views can show different subsets of the same data.
A filter is a list of include and exclude rules. Each rule can match one entity or an entire subtree, so you do not need to list every entity separately.
Filter syntax
Use + to include a path, - to exclude it, and /** to match a path and all its descendants.
See entity path filter syntax for how matching rules are combined.
In the Viewer
Select a view to edit its entity path filter in the right-hand selection panel. The filter editor shows one rule per line.
In the SDK
Set the view's contents parameter to a list or iterable of filter rules, with each rule written as a separate string.
The filter shown above would be written as:
rrb.Spatial3DView(contents=["+ helix/**", "- helix/structure/scaffolding"])origin substitution
Filter rules can use $origin to refer to the view's origin.
For example, the filter above could be rewritten as:
rrb.Spatial3DView(origin="helix", contents=["+ $origin/**", "- $origin/structure/scaffolding"])Recording properties are excluded by default
Every view's entity path filter implicitly excludes __properties/**, where recording properties are stored.
So + /** does not show them.
To include them in a view, add the rule + __properties/** to the view's contents explicitly.