stereo_image_proc : Assertion `left_.fx() == right_.fx()'
I am trying to get stereo_image_proc running.
I have two externally triggered Prosilica GC655C cameras. The camera drivers are working, so I can retrieve single image views without any problem. However trying to view the disparity image with disparity viewer or stereo view with stereo viewer fails.
rosrun image_view disparity_view image:=prosilica/disparity
fails with the error:
stereo_image_proc: /tmp/buildd/ros-diamondback-vision-opencv-1.4.3/debian/ros-diamondback-vision-opencv/opt/ros/diamondback/stacks/vision_opencv/image_geometry/src/stereo_camera_model.cpp:29: bool image_geometry::StereoCameraModel::fromCameraInfo(const sensor_msgs::CameraInfo&, const sensor_msgs::CameraInfo&): Assertion `left_.fx() == right_.fx()' failed.
for me it's very strange why the camera parameters left_.fx()
and right_.fx()
must be equal?! Since I use two cameras, (each camera calibrated as mono camera was working) the two parameters differ slightly.
Does someone has an idea why the parameters have to be equal?