Robotics StackExchange | Archived questions

How to get image of wide-angle camera

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.

Asked by Akitoshi on 2017-09-12 22:35:33 UTC

Comments

Answers

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.

Asked by iche033 on 2017-09-27 21:24:17 UTC

Comments

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

Asked by Akitoshi on 2017-09-28 00:31:38 UTC

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

Asked by iche033 on 2017-10-03 13:26:14 UTC