ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

prbhagwat's profile - activity

2012-09-06 21:07:03 -0500 received badge  Famous Question (source)
2012-09-06 21:07:03 -0500 received badge  Popular Question (source)
2012-09-06 21:07:03 -0500 received badge  Notable Question (source)
2012-08-26 19:06:06 -0500 received badge  Famous Question (source)
2012-04-19 20:09:45 -0500 received badge  Notable Question (source)
2012-03-08 08:37:22 -0500 received badge  Taxonomist
2011-10-12 01:03:42 -0500 received badge  Popular Question (source)
2011-10-04 04:15:50 -0500 received badge  Nice Question (source)
2011-05-17 00:06:35 -0500 marked best answer how to use CameraInfoManager for stereo camera?

Even when using a stereo camera, there is no such thing as a "stereo camera info" message. Instead, the left and right cameras publish each publish their respective camera info. If you are writing a stereo camera driver node, then you should use a separate CameraInfoManager for each half. If you want to do your own stereo processing, then you should use the TimeSynchronizer class in the message_filters package to synchronize the cameras' image and camera_info topics.

2011-05-17 00:06:35 -0500 received badge  Scholar (source)
2011-05-13 03:21:46 -0500 received badge  Student (source)
2011-05-12 18:35:06 -0500 received badge  Editor (source)
2011-05-12 00:13:21 -0500 asked a question how to use CameraInfoManager for stereo camera?

Hi, Is it possible to use single CameraInfoManager object to get the calibration data for both left and right stereo camera? It looks from CameraInfoManager that we can get camera calibration parameter for only one camera and not both. Is there any other message for stereo camera which can get both left and right calibration parameters?

Warm Regards,

pramod

2011-04-07 14:53:20 -0500 marked best answer Disparity image publishing

disparity_view expects disparities to have type float, so you'll need to convert your uint8_t disparity values. In your DisparityImage message, resize image.data to width * size * sizeof(float), and get a float pointer to your data buffer: float* ptr = reinterpret_cast<float*>(&image.data[0]). Then copy the disparities over one by one. You may need to scale the uint8_t disparities down by some factor if the custom SDK does sub-pixel correspondence like OpenCV's block matcher. The float disparities are in pixels. Don't forget to set image.encoding = sensor_msgs::image_encodings::TYPE_32FC1.

2011-03-20 23:43:30 -0500 asked a question Disparity image publishing

Hi, I am new to opencv. Need some help in publishing the disparity image in ROS. i am getting left, right and disparity images from the custom stereo camera SDK. The disparity image that i am getting from SDK is mono8 format. Now i want to publish the disparity image from the ROS so that "disparity_view" can display the disparity image. It looks the disparity_view expects the images to be in TYPE_32FC1 format, but the disparity image that i have is mono8 format because of this it is not able to display disparity image.

Is there any sample program or tutorial which will guide to publish disparity image in TYPE_32FC1 format from mono8 format.

Warm Regards, pramod