Robotics StackExchange | Archived questions

stereo_image_proc process dies upon subscription for disparity messages [building from source]

I've been trying to generate a disparity map by building the stereoimageproc package from source. I cloned imagepipeline onto my workspace and it was successfully built using catkinmake. The stereoimageproc deb package was also removed.

Launch file being used: `

<param name="auto_focus" type="bool" value="False" />
<param name="focus_absolute" type="int" value="0" />

<!-- other supported params: auto_exposure, exposure_absolute, brightness, power_line_frequency -->

<param name="left/device" type="string" value="/dev/video1" />
<param name="right/device" type="string" value="/dev/video2" />
<param name="left/camera_info_url" type="string" value="file:///home/karnix/ROS_Work/src/logitech/left.yaml" />
<param name="right/camera_info_url" type="string" value="file:///home/karnix/ROS_Work/src/logitech/right.yaml" />

` Upon launching this file, the stereoimageproc and uvccamerastereo nodes are running.

But when I try to subscribe to the /stereo/disparity, /stereo/right/imagerect and /stereo/left/imagerect by running the following command,

rosrun image_view stereo_view stereo:=stereo image:=rect_image_color

the process dies with the following message

[stereo/stereo_image_proc-3] process has died [pid 12227, exit code -11, cmd /home/karnix/ros_stereo/devel/lib/stereo_image_proc/stereo_image_proc __name:=stereo_image_proc __log:=/home/karnix/.ros/log/03a74da8-39cf-11e6-bc56-28b2bdcaf7d8/stereo-stereo_image_proc-3.log]. log file: /home/karnix/.ros/log/03a74da8-39cf-11e6-bc56-28b2bdcaf7d8/stereo-stereo_image_proc-3*.log And I found the log file to be empty.

Any solutions?

Asked by karnix on 2016-06-24 01:10:48 UTC

Comments

Hello there, Its has been a while, but I have two guess: 1 - Are you sure these are the actual names of your topics? 2 - Have you tried rosrun image_view stereo_view stereo:=/stereo image:=rect_image_color _approximate_sync:=True? That would force the sync of your input data if is not synced.

Asked by CesarHoyosM on 2017-06-28 06:56:35 UTC

Answers