how to get rostopic image from gazebo topic

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

gyuseok gravatar image

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

Comments

@gyuseok which model of the camera do you use?

l4ncelot gravatar image l4ncelot  ( 2019-12-05 07:14:30 -0500 )edit

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

gyuseok gravatar image gyuseok  ( 2019-12-05 19:42:47 -0500 )edit
1

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

l4ncelot gravatar image l4ncelot  ( 2019-12-06 08:24:26 -0500 )edit
1

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

l4ncelot gravatar image l4ncelot  ( 2019-12-06 08:24:52 -0500 )edit

@l4ncelot thanks a lot ! i can do that! >.<

gyuseok gravatar image gyuseok  ( 2019-12-13 16:31:16 -0500 )edit