ros-drivers / pointgrey_camera_driver

ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
128 stars 180 forks source link

*/camera_info not publishing (indigo & 14.04) #137

Closed benjaminabruzzo closed 6 years ago

benjaminabruzzo commented 6 years ago

This gist for a ros node publisher alludes that, "pointgrey_camera_driver (at least the version installed with apt-get) doesn't properly handle camera info in indigo."

Downloading the whole stack (from https://github.com/ros-drivers/pointgrey_camera_driver.git) and compiling also does not properly handle camera info. The gist provides a workaround for publishing camera info, but not synchronously with the images. This may work for some people, but it does not work for the stereo_image_proc, which requires both images and info to be synchronized for both cameras.

benjaminabruzzo commented 6 years ago

I created a workaround for using stereo_proc node with regard to this camera_info issue. The following gist is a ros node that reads a yaml file for the calibration info, and remaps the stereo images as they arrive attaching image timestamp to the camera_info topic. Images and Info is published for both left and right cameras. workaround gist There is a sample launch snippet to launch the node.