how to get rostopic image from gazebo topic

asked 2019-12-04 10:17:20 -0600

hi. I have been facing this problem for a few days. i want to know how to get rostopic image, because This is to take an image from Gazebo and process image.

Gazebo gives images, but does not receive images from mavros.

my rostopic list haven't image but gz topic have image. how to adding mavros plugins image...? please help me....

i'm using gazebo 7 & kinetics and mavros_plugins download in here

edit retag flag offensive close merge delete


@gyuseok which model of the camera do you use?

l4ncelot gravatar imagel4ncelot ( 2019-12-05 07:14:30 -0600 )edit

@l4ncelot thank you for response, my camer ln here , editting xacro file.

gyuseok gravatar imagegyuseok ( 2019-12-05 19:42:47 -0600 )edit

@gyuseok, you need to use some camera plugin publishing those messages. Look at the tutorial here.

l4ncelot gravatar imagel4ncelot ( 2019-12-06 08:24:26 -0600 )edit

Use the <imageTopicName>image_raw</imageTopicName> parameter.

l4ncelot gravatar imagel4ncelot ( 2019-12-06 08:24:52 -0600 )edit