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 stereo_image_proc package from source. I cloned image_pipeline onto my workspace and it was successfully built using catkin_make. The stereo_image_proc deb package was also removed.
Launch file being used: `<launch> <node ns="stereo" pkg="uvc_camera" type="uvc_stereo_node" name="uvc_camera_stereo">
<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" />
</node>
<node ns="stereo" pkg="stereo_image_proc" type="stereo_image_proc" name="stereo_image_proc" >="" <param="" name="approximate_sync" type="bool" value="True"/> </node>
</launch> ` Upon launching this file, the stereo_image_proc and uvc_camera_stereo nodes are running.
But when I try to subscribe to the /stereo/disparity, /stereo/right/image_rect and /stereo/left/image_rect 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?
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.