ros-visualization / rviz

ROS 3D Robot Visualizer
BSD 3-Clause "New" or "Revised" License
792 stars 459 forks source link

Added regex filter field for TF display #1744

Closed bpotokar closed 1 year ago

bpotokar commented 2 years ago

Description

When there is a lot of frames on /tf it can be hard to properly visualize them in RViz especially if frames overlap. Usually solution to this is to enable and disable desired frames in Frames field of the TF display. But it quickly become very annoying task if there is a lot of frames (e.g. 100 +) and each one needs to be found in a long list first and then disabled/enabled.

Because of that I suggest adding regex field which filters frames and displays only the ones matching entered expression. For convenience I also suggest adding additional field for blacklist filter. Benefit of this approach is that user can quickly setup one or more displays, each showing specific group of frames and he can turn each one on/off as needed. Scene with a lot of frames ... image ... can be easily filtered so only interesting frames are displayed image

Example when multiple TF displays are added. Each one has its own settings and frame filter. image

rhaschke commented 1 year ago

@BlazPotokar, do you plan to fix the remaining issues and finish this PR?

rhaschke commented 1 year ago

I will handle remaining issues in separate commits: #1789

bpotokar commented 1 year ago

Thank you so much for resolving the remaining issues!