raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.17k stars 4.69k forks source link

Running Stereo Node Error #1095

Open G4419 opened 7 months ago

G4419 commented 7 months ago

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?