Ask Your Question
0

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
0

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

hamid gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 206 times

Last updated: Dec 14 '18