when i run
rosrun ORB_SLAM2 Stereo Vocabulary/ORBvoc.txt Examples/Stereo/EuRoC.yaml true
it shows the following error
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.8.0-dev) /home/ryan/software/opencv/modules/core/src/matrix.cpp:246: error: (-215:Assertion failed) s >= 0 in function 'setSize'
when i run
rosrun ORB_SLAM2 Stereo Vocabulary/ORBvoc.txt Examples/Stereo/EuRoC.yaml true
it shows the following error terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.8.0-dev) /home/ryan/software/opencv/modules/core/src/matrix.cpp:246: error: (-215:Assertion failed) s >= 0 in function 'setSize'
how to fix this?