How to get in ROS the image from a camera in Gazebo?
I'm using Gazebo 9.5.0 and ROS Melodic.
I need to use OpenCV to detect a color. Another questions say that it is easier to do it in ROS than in Gazebo.
If in Gazebo I have a robot with a camera:
How can I get camera's image in ROS? Is there a way to publish it as a topic?