How to hide models from rviz Camera plugin when using gazebo layers?

asked 2020-04-20 15:36:02 -0500

Hi All,

Here is the context: I am using Gazebo with multiple models configured on different layers using the <layer> tag. I also have a camera plugin to my scene to visualize the camera view in rviz. Now, I am hiding all the layers (unchecking them), and in Gazebo GUI I cannot see the models, as expected. However, the hidden models still show in my rviz camera plugin view. Is that a gazebo bug? How can I hide those models in my camera view?

edit retag flag offensive close merge delete