can rviz2 just hide displayed data instead of clear when toggle namespace

asked 2023-03-27 19:22:50 -0500

fury.nerd gravatar image

hi, I displayed a MarkerArray on the rviz2 with markers in different namespace, when toggle off the namespace, the displayed data is cleared instead of hidden, which means when I try to toggle on the namespace, the displays not show up back.

I search and find it looks like already disscussed for some time, but without a final conclusion, as:

https://github.com/ros-visualization/...
https://discourse.ros.org/t/changing-...

I know i can just hide the displayed data by toggle the whole element, but it's a operation of Marker or MarkerArray level, which is not suitable for my usecase.

I wonder if there is any update about this behaviour of rviz2, or how can i just hide (instead of clear/reset) the displayed data by toggle off namespace (or similiar solution instead of show/hide the whole Marker or MarkerArray).

thanks

edit retag flag offensive close merge delete