Ask Your Question
1

No display in stereo_view [closed]

asked 2016-06-22 08:19:09 -0500

guitwo gravatar image

updated 2016-06-22 08:19:32 -0500

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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-09-18 03:19:47.317696

Comments

You'll find a sample rosbag there, if that can be helpful !

guitwo gravatar image guitwo  ( 2016-06-22 09:52:23 -0500 )edit

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?

apetersen gravatar image apetersen  ( 2016-08-01 13:51:12 -0500 )edit

Unfortunately, no. I only needed rectify images in the end. I guess it could be due to approximate sync.

guitwo gravatar image guitwo  ( 2016-08-01 23:11:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-07-22 00:15:01 -0500

ponsheng gravatar image

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.

edit flag offensive delete link more

Comments

1

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

guitwo gravatar image guitwo  ( 2016-07-26 15:08:26 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-06-22 08:19:09 -0500

Seen: 376 times

Last updated: Jul 22 '16