-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
running EuRoC Examples but nothing shows up #464
Comments
I have the same problem. |
Hi @KaqiKaqi, TL; DR, taking $ cd ORB_SLAM3
# Search the line `ORB_SLAM3::System SLAM(argv[1],argv[2],ORB_SLAM3::System::MONOCULAR, false);`
# the modify the 4th argument from `false` to `true`.
$ vim Examples/Monocular/mono_euroc.cc
# Rebuild example
$ cd build
$ make
# Run example again (assume that you have already prepared the dataset)
$ cd ../Examples
$ ./Monocular/mono_euroc ../Vocabulary/ORBvoc.txt ./Monocular/EuRoC.yaml PATH_TO_YOUR_MH01_DATASET ./Monocular/EuRoC_TimeStamps/MH01.txt dataset-MH01_mono That might be the 4th argument And if you have already built the ORB SLAM3 library successfully, you simply go to the For more details, please checkout the following code:
|
This works for me. Thanks a lot :) But Segmentation fault appeared at the end of the program as follows. Saving trajectory to f_dataset-MH01_mono.txt ... End of saving trajectory to f_dataset-MH01_mono.txt ... Saving keyframe trajectory to kf_dataset-MH01_mono.txt ... |
Thank you very much. That worked!! |
Hey @KaqiKaqi, did you end up resolving the Segmentation fault appeared at the end of the program? I am facing the same issue ;( |
Hey guys, I am also running into this same issue, did anyone find a solution to this problem. I am using the EuRoc dataset as well, and I am on linux. |
@KaqiKaqi Sorry, I missed the notification, it might be too late for your situation, but still hope you get through it. To All, currently I don't have resources to run that example, so I can only provide some tips to help you figure it out. In the last few lines of your message, it shows "Saving keyframe trajectory to kf_dataset-MH01_mono.txt ...", that message should come from But since there is no sufficient information for further investigation, I would suggest running the program with gdb and check with the stack trace. For example: # format: gdb -ex run --args <PROGRAM> [args...]
# let's take the example above:
$ gdb -ex run --args ./Monocular/mono_euroc ../Vocabulary/ORBvoc.txt ./Monocular/EuRoC.yaml PATH_TO_YOUR_MH01_DATASET ./Monocular/EuRoC_TimeStamps/MH01.txt dataset-MH01_mono
# when it stopped while segmentation fault occurs, enter "bt" under the interactive mode to print stack trace If you found the information in stack trace is still insufficient to figure out the problem, you might want to rebuilt the library and ROS examples in debug mode to get more details. For Note
|
The output in terminal is as follows.
Initialization of Atlas from scratch
Creation of new map with id: 0
Creation of new map with last KF id: 0
Seq. Name:
There are 1 cameras in the atlas
Camera 0 is pinhole
[ INFO:0] global /home/ber/Documents/software/opencv-4.5.4/modules/core/src/parallel/registry_parallel.impl.hpp (96) ParallelBackendRegistry core(parallel): Enabled backends(3, sorted by priority): ONETBB(1000); TBB(990); OPENMP(980)
First KF:0; Map init KF:0
New Map created with 271 points
The program holds but no window shows up.
Have no idea what's going on. Can anyone help?
The text was updated successfully, but these errors were encountered: