Stereo image proc crash

asked 2019-03-14 11:27:05 -0500

EdwardNur gravatar image

I am using T265 intel camera and stere_image_proc package and for some reason when I try to run that package I get an error:

OpenCV Error: Assertion failed (_map1.size().area() > 0) in remap, file /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp, line 4936
terminate called after throwing an instance of 'cv::Exception'
  what():  /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/imgproc/src/imgwarp.cpp:4936: error: (-215) _map1.size().area() > 0 in function remap

[stereo_camera/stereo_image_proc-2] process has died [pid 76799, exit code -6, cmd /home/ikhsanov/wheelme/devel/lib/stereo_image_proc/stereo_image_proc left/image_raw:=/camera/fisheye1/image_raw right/image_raw:=/camera/fisheye2/image_raw left/camera_info:=/camera/fisheye1/camera_info right/camera_info:=/camera/fisheye2/camera_info __name:=stereo_image_proc __log:=/home/ikhsanov/.ros/log/59cf4c30-4674-11e9-99bb-000c29a372f7/stereo_camera-stereo_image_proc-2.log].
log file: /home/ikhsanov/.ros/log/59cf4c30-4674-11e9-99bb-000c29a372f7/stereo_camera-stereo_image_proc-2*.log

My camera_info looks okay and I am using fish eye stereo camera:

header: 
  seq: 0
  stamp: 
    secs: 1552580134
    nsecs: 340734005
  frame_id: "camera_fisheye1_optical_frame"
height: 0
width: 0
distortion_model: "plumb_bob"
D: [-0.009491, 0.051469, -0.05018, 0.010379, 0.0]
K: [287.759288, 0.0, 421.361583, 0.0, 286.221648, 397.829615, 0.0, 0.0, 1.0]
R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
P: [287.759288, 0.0, 421.361583, 0.0, 0.0, 286.221648, 397.829615, 0.0, 0.0, 0.0, 1.0, 0.0]
binning_x: 0
binning_y: 0
roi: 
  x_offset: 0
  y_offset: 0
  height: 0
  width: 0
  do_rectify: False
edit retag flag offensive close merge delete

Comments

Looks like the error is originating from openCV. Can you verify you're a compatible opencv version?

Sidd gravatar imageSidd ( 2019-07-06 18:54:45 -0500 )edit