Stereo cameras no disparity output
Hello,
I'm running 2 Point Grey Blackfly cameras in stereo and trying to get a disparity map out of them. I'm running into a ton of issues with getting to that point.
I fire up the cameras with the following launch file:
<launch>
<arg name="camera_serial" default="0"/> <arg name="calibrated" default="0"/>
<group ns="stereo">
<group ns="right" >
<node pkg="nodelet" type="nodelet" name="manager" args="manager" />
<node pkg="nodelet" type="nodelet" name="camera_nodelet" args="load pointgrey_camera_driver/PointGreyCameraNodelet manager">
<param name="frame_id" value="right_camera"/>
<param name="serial" value="14432788"/>
<param name="camera_info_url" if="$(arg calibrated)"
value="file://$(env HOME)/.ros/camera_info/14432788.yaml" />
<param name="frame_rate" value="15"/>
</node>
<node name="image_proc_right" pkg="image_proc" type="image_proc"/>
</group>
<group ns="left" >
<node pkg="nodelet" type="nodelet" name="manager" args="manager" />
<node pkg="nodelet" type="nodelet" name="camera_nodelet" args="load pointgrey_camera_driver/PointGreyCameraNodelet manager">
<param name="frame_id" value="left_camera"/>
<param name="serial" value="14490573"/>
<param name="camera_info_url" if="$(arg calibrated)"
value="file://$(env HOME)/.ros/camera_info/14432788.yaml" />
<param name="frame_rate" value="15"/>
</node>
<node name="image_proc_left" pkg="image_proc" type="image_proc"/>
</group>
</group> </launch>
And then I run the calibration:
$ rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.073 right:=/stereo/right/image_raw left:=/stereo/left/image_raw right_camera:=/stereo/right left_camera:=/stereo/left --approximate=0.01
This works all fine and dandy and I calibrate the pair with my board (24x31in, 9x7 squares, 8x6 interior corners). I achieved an epi of about .15-.2.
At this point, I commit the calibration, and run
$ ROS_NAMESPACE=/stereo rosrun stereo_image_proc stereo_image_proc
And here is where everything goes south. I run stereo_view or disparity view and nothing but blank windows. Stereo_view gets all of the regular images (image_rect, .._rect_color, etc.) but exactly 0 disparity images. I've tried changing parameters to no avail; I even made a program to run through random parameter values and left it going on the computer. After about 500,000 frames, all with different parameter values, and not a single disparity image output, I quit it.
I'm not sure where to go from here, the calibration is totally fine, but no matter what I do, I cannot get a disparity image out of stereo_image_proc. stereo_image_proc works just fine as I can get all of the rectified images out of it, so theres no connection issue, its just the disparity images that will not come out of it no matter what.
If anyone has any pointers, please let me know, this is becoming very stressful.