Skip to content
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

Core dumped running TUM dataset #34

Closed
orsivia opened this issue Mar 4, 2016 · 2 comments
Closed

Core dumped running TUM dataset #34

orsivia opened this issue Mar 4, 2016 · 2 comments

Comments

@orsivia
Copy link

orsivia commented Mar 4, 2016

The camera was run for around 5 sec(everything seemed normal), and segmentation fault terminated the program.

I am currently using opencv v2.4.11. I encountered a lot of problems installing opencv library. I manually added #include and #include<opencv2/opencv.hpp> in several files to get the dataset run.

This is the information I got when running TUM dataset:

zixuan@zixuan-MacBookPro:~/ORB_SLAM2$ ./Examples/Monocular/mono_tum Vocabulary/ORBvoc.txt Examples/Monocular/TUM1.yaml /home/zixuan/Documents/dataset/rgbd_dataset_freiburg1_xyz

ORB-SLAM2 Copyright (C) 2014-2016 Raul Mur-Artal, 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

Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!

Camera Parameters:

  • fx: 517.306
  • fy: 516.469
  • cx: 318.643
  • cy: 255.314
  • k1: 0.262383
  • k2: -0.953104
  • k3: 1.16331
  • p1: -0.005358
  • p2: 0.002628
  • fps: 30
  • color order: RGB (ignored if grayscale)

ORB Extractor Parameters:

  • Number of Features: 1000
  • Scale Levels: 8
  • Scale Factor: 1.2
  • Initial Fast Threshold: 20
  • Minimum Fast Threshold: 7

Start processing sequence ...
Images in the sequence: 798

init done
opengl support available
New Map created with 90 points
Segmentation fault (core dumped)

There is no other information provided.
Thank you for help!
P.S. I am using ubuntu14.04 (dual boot) on Macbook pro.

@ghost
Copy link

ghost commented Mar 14, 2016

Does the error happen for other cases?
Could you also try other cases (such as stereo, other dataset, or ROS version)?

@orsivia
Copy link
Author

orsivia commented Mar 15, 2016

OK, now I am sure it has something to do with the OpenCV library. I just uninstalled opencv 2.4.11 and installed 2.4.9(including editing the bashrc file) and the code works fine! There is no need to change any segment of the code!

@orsivia orsivia closed this as completed Mar 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant