stella-cv / stella_vslam

This is a unofficial fork of OpenVSLAM (https://github.com/xdspacelab/openvslam)
https://stella-cv.rtfd.io/en/latest/
Other
912 stars 391 forks source link

Error run project with Intel Realsense D435i #496

Closed nikitos1401 closed 1 year ago

nikitos1401 commented 1 year ago

Discussed in https://github.com/stella-cv/stella_vslam/discussions/495

Originally posted by **nikitos1401** April 12, 2023 Good afternoon I ran into this problem when running a stella vslam project with RealSense D435I connected. I tried updating the drivers on the camera, and a few configuration files for the camera, nothing helps. The camera works properly, I checked it on several devices, including the device on which I launch the project. --Type for more, q to quit, c to continue without paging--c Thread 9 "run_slam" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe2ffd700 (LWP 18451)] 0x00007ffff715ba08 in cv::_InputArray::size(int) const () from /usr/local/lib/libopencv_core.so.405 (gdb) bt #0 0x00007ffff715ba08 in cv::_InputArray::size(int) const () at /usr/local/lib/libopencv_core.so.405 #1 0x00007ffff2a35140 in cv::imshow(cv::String const&, cv::_InputArray const&) () at /usr/local/lib/libopencv_highgui.so.3.4 #2 0x00007ffff67c1d96 in pangolin_viewer::viewer::run() (this=0x7fffffffd290) at /usr/local/include/opencv2/core/cvstd.inl.hpp:81 #3 0x000055555559cf76 in std:🧵:_State_impl const&, std::shared_ptr const&, bool, std::__cxx11::basic_string const&)::{lambda()#1}> > >::_M_run() () #4 0x00007ffff63b8de4 in () at /lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007ffff6de1609 in start_thread (arg=) at pthread_create.c:477 #6 0x00007ffff60a5133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 I run command: gdb -ex r --args /home/user/catkin_ws/devel/lib/stella_vslam_ros/run_slam -v ~/stella_vslam/build/orb_vocab.fbow -c ~/stella_vslam/example/euroc/EuRoC_D435i.yaml --map-db-out ~/my_maps/map.msg