VINS-Fusion icon indicating copy to clipboard operation
VINS-Fusion copied to clipboard

catkin_make完之后拿Euroc数据集测试,但是报错。

Open GGshmily opened this issue 2 years ago • 6 comments

数据集是:MH_02_easy.bag terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.5.5-dev) /home/jimlee/LHG/opencv/modules/core/src/matrix_wrap.cpp:423: error: (-215:Assertion failed) i < 0 in function 'size'

已放弃 (核心已转储)

GGshmily avatar Aug 23 '22 02:08 GGshmily

i have the same problem ,do you solved it ?

chongjeelee avatar Sep 20 '22 07:09 chongjeelee

你是不是之前的编译出现了警告?[ WARN] [1665062148.295888966]: fix extrinsic param 。我用了ulimit -s 102400扩充栈内存后就变成新问题了。

Rick-Weng avatar Oct 06 '22 13:10 Rick-Weng

Facing the same problem. Any update on this?

GopiRajuMatta avatar Oct 18 '22 08:10 GopiRajuMatta

你是不是之前的编译出现了警告?[ WARN] [1665062148.295888966]: fix extrinsic param 。我用了ulimit -s 102400扩充栈内存后就变成新问题了。

我解决了,是我的电脑里有两个版本的opencv,我拿opencv4.5编译的,但是运行的时候会使用libopencv3的库,所以会崩溃

GGshmily avatar Oct 18 '22 08:10 GGshmily

maybe is the contradictory of opencv4.5 and libopencv3. I build with opencv4.5,but VINS automaticly used libopencv3. You can change libopencv3 to libopencv4.5 or build VINS with opencv3.

GGshmily avatar Oct 18 '22 08:10 GGshmily

Thank you for the response. Once I built it using opencv4, how can I make sure that it uses opencv4? Can you please help me with this.

GopiRajuMatta avatar Oct 18 '22 09:10 GopiRajuMatta