No display in stereo_view
Hi everyone !
I come to you again with a strange issue I'm getting with image_pipeline under kinetic.
I am using two uEye XS camera for a stereo setup (using tweaked aniqxu ueye_cam nodelet). Images are grabbed by two raspberry pi 2 under xenial. Although these camera can't be triggered and thus can't be synced, I successfully calibrate them. Afterwards, I got no error while running :
$ROS_NAMESPACE=/stereo/ rosrun stereo_image_proc with approximate_sync:=True _queue_size:=50
and disparity images are posted, as
$rostopic hz /stereo/disparity
shows a average rate of 2.1 fps.
However, when I try to display images using :
rosrun image_view stereo_view stereo:=/stereo/ image:=image_rect _approximate_sync:=True _queue_size:=100
I get only dark windows and no error or warning.
I got the same issue when I try to visualize only disparity using disparity_view
I was wondering if you people faced similar issues and eventually could give me a hand solving that strange issue.
Asked by guitwo on 2016-06-22 08:19:09 UTC
Answers
In the tutorial page of stereo_image_proc,there is another tutorial teaching you how to adjust parameters to get better disparity map.
In this page there is a situation like yours, maybe this can help you.
Choosing Good Stereo Parameters
This tutorial walks you through a real-world example of tuning a running stereo_image_proc instance to get the best stereo results, using stereo_view and rviz for visual feedback.
Sorry for my poor English.
Asked by ponsheng on 2016-07-22 00:06:48 UTC
Comments
Thank you for the answer. Actually I already came across that tutorial. DIdn't help. The think is that I do not even get close to display images at all. I only get 3 windows (left/right/disparity) but nothing is ever shown in them, they are not even rescale to fit the size of the images
Asked by guitwo on 2016-07-26 15:08:26 UTC
Comments
You'll find a sample rosbag there, if that can be helpful !
Asked by guitwo on 2016-06-22 09:52:23 UTC
I'm having the same issue with my setup. Everything looks right - even getting data pumped through the /stereo/disparity topic but stereo_view shows nothing but unresponsive windows.
Did you figure out an answer yet?
Asked by apetersen on 2016-08-01 13:51:12 UTC
Unfortunately, no. I only needed rectify images in the end. I guess it could be due to approximate sync.
Asked by guitwo on 2016-08-01 23:11:50 UTC