Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

stereo_image_proc pointcloud extremely low frequency

Hello,

I have a stereo vision system. Therefore, I'm using stereo_image_proc to get the rectified images as well as the pointcloud. As far as the rectified images, I get them at the same frequency as I get the raw images from the cameras (30 Hz), but the pointcloud is only 2 Hz, which makes it hard to do something with that. I only have the node to obtain the images from the cameras and stereo_image_proc. Is there anything else that I should be doing? Could stereo_Image_proc take that long to process the point cloud?

ariel@ariel-GT70:~$ rostopic hz /stereo/left/image_raw
subscribed to [/stereo/left/image_raw]
average rate: 30.038
    min: 0.019s max: 0.042s std dev: 0.00508s window: 25
average rate: 30.111
    min: 0.019s max: 0.042s std dev: 0.00496s window: 55
average rate: 29.964
    min: 0.019s max: 0.042s std dev: 0.00490s window: 85
average rate: 30.007
    min: 0.019s max: 0.042s std dev: 0.00502s window: 115
average rate: 30.039
    min: 0.019s max: 0.043s std dev: 0.00500s window: 145

ariel@ariel-GT70:~$ rostopic hz /stereo/left/image_rect_color 
subscribed to [/stereo/left/image_rect_color]
average rate: 31.532
    min: 0.017s max: 0.042s std dev: 0.00653s window: 19
average rate: 30.272
    min: 0.017s max: 0.049s std dev: 0.00610s window: 49
average rate: 30.328
    min: 0.017s max: 0.049s std dev: 0.00607s window: 79
average rate: 30.168
    min: 0.017s max: 0.049s std dev: 0.00615s window: 109
^Caverage rate: 30.208
    min: 0.017s max: 0.049s std dev: 0.00615s window: 123

ariel@ariel-GT70:~$ rostopic hz /stereo/points2 
subscribed to [/stereo/points2]
average rate: 1.827
    min: 0.547s max: 0.547s std dev: 0.00000s window: 2
average rate: 2.222
    min: 0.296s max: 0.547s std dev: 0.11000s window: 4
average rate: 2.050
    min: 0.296s max: 0.635s std dev: 0.11259s window: 6
average rate: 2.053
    min: 0.296s max: 0.635s std dev: 0.10111s window: 8
average rate: 2.099
    min: 0.245s max: 0.635s std dev: 0.11812s window: 11

Thanks for the help.