ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to get in ROS the image from a camera in Gazebo?

asked 2018-12-14 13:04:15 -0500

Elric gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-14 22:55:35 -0500

Hamid Didari gravatar image

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

edit flag offensive delete link more

Question Tools



Asked: 2018-12-14 13:04:15 -0500

Seen: 1,582 times

Last updated: Dec 14 '18