Robotics StackExchange | Archived questions

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?

Asked by Elric on 2018-12-14 14:04:15 UTC

Comments

Answers

Hi
Gazebo is use for simulation you can write code in ros then test it with gazebo
for creating robot or camera pls see this Tutorial or you can use gazebo wiki

Asked by Hamid Didari on 2018-12-14 23:55:35 UTC

Comments