Gazebo | Ignition | Community
Ask Your Question

How to get image of wide-angle camera

asked 2017-09-12 22:35:33 -0600

Akitoshi gravatar image

updated 2017-09-13 05:08:18 -0600

Carlos Agüero gravatar image

Hello. I'd like to get a still image of a fisheye camera. So I am doing simulation using Wide-Angle Camera on Gazebo. However, unlike other cameras such as Openni Kinect, it does not describe how to write Topic to send image information. How should I write? Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-09-27 21:24:17 -0600

iche033 gravatar image

wide angle camera publishes to a gazebo image topic like a normal camera. You can subscribe to that topic and get the image on callback. I have not tested this but you can give libgazebo_ros_camera plugin a try with wide angle camera and see if images are published to a ROS topic.

edit flag offensive delete link more


Thank @iche033! I already tried libgazebo_ros_camera plugin, but it did not succeed unlike other cameras.

Akitoshi gravatar imageAkitoshi ( 2017-09-28 00:31:38 -0600 )edit

I see, in that case you would have to write your own plugin to subscribe to the gazebo wide angle camera topic and republish that to a ros topic

iche033 gravatar imageiche033 ( 2017-10-03 13:26:14 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-09-12 22:35:33 -0600

Seen: 2,634 times

Last updated: Sep 27 '17