Open saadnec opened 1 year ago
have a look at publishing topics and subscribers. print em out here.
I am having the same problem, "Mono-inertial" "Stereo" and "Stereo-Inertial" are working, "Mono" and RGBD" fail.
I have been tracking the error but didnt find the solution yet.
This is the stack trace, in both modes I get the same error:
Thread 23 "RGBD" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff9fc63700 (LWP 320264)]
0x00007ffff6bd353e in cv::getTextSize(std::__cxx11::basic_string<char, std::char_traits
at /home/fede/Facultad/Big_files/SLAM/ORB_SLAM3/Examples/ROS/ORB_SLAM3/../../../lib/libORB_SLAM3.so
at /home/fede/Facultad/Big_files/SLAM/ORB_SLAM3/Examples/ROS/ORB_SLAM3/../../../lib/libORB_SLAM3.so
at /home/fede/Facultad/Big_files/SLAM/ORB_SLAM3/Examples/ROS/ORB_SLAM3/../../../lib/libORB_SLAM3.so
Any clue??
I have the exact same error with the ROS examples. It doesn't even start loading the vocabulary before it dumps the core. I also get no error message or stack trace, so I have no clue what could be the problem. The Stereo node runs just fine but Mono just intantly segfaults and dumps the core. Have you solved the issue somehow?
also @fbliman how did you generate a stack trace?
I also have the same error, did you solve it? @saadnec
I have the exact problem with u, did u slove it? @fbliman
I have the exact problem with u, did u slove it? @fbliman
I got the same problem and solved it by first changing opencv version from 4 to 3 in the ORB_SLAM3 cmaketxt file and in the /home/user/ORB_SLAM3/Examples/ROS/ORB_SLAM3.
In those cmaketxt files, look for the line: "find_package(OpenCV 3.2 QUIET)" mine was OpenCV 4 and I changed it to 3.2 QUIET.
After that go to ORB_SLAM3 file, open the terminal and run "./build.sh", when it's completed run "./build_ros.sh. That's it.
I have been trying to run monocular example with ros by the following command 'rosrun ORB_SLAM3 Mono Vocabulary/ORBvoc.txt Examples/Monocular/EuRoC.yaml ' but I keep getting the following error
` ORB-SLAM3 Copyright (C) 2017-2020 Carlos Campos, Richard Elvira, Juan J. Gómez, José M.M. Montiel and Juan D. Tardós, University of Zaragoza. ORB-SLAM2 Copyright (C) 2014-2016 Raúl Mur-Artal, José M.M. Montiel and Juan D. Tardós, University of Zaragoza. This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under certain conditions. See LICENSE.txt.
Input sensor was set to: Monocular Segmentation fault (core dumped) `
But when i run stereo and stereo inertial examples they are run successfully and i get the same error again while running the RGBD example