The ORB-SLAM gui pops up momentarily during which it is possible to see a number of features tracked after which the application crashes.
The output looks like the following:
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: RGB-D
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
Depth Threshold (Close/Far Points): 3.09294
New map created with 166 points
Program received signal SIGSEGV, Segmentation fault.
I find this code has serious problem in memory management. With "new" in multiple places but no "delete" when finished, I guess maybe it has something to do with your problem?
Ubuntu 14.04 x64 Ros-Indigo OpenCV 2.4 Processor: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz x64
A segfault is raised immediately after launching an RGBD ROS node with the folowing:
_rosrun ORB_SLAM2 RGBD /home/tony/dev/ORB_SLAM2/Vocabulary/ORBvoc.txt /home/tony/dev/ORB_SLAM2/Examples/RGB-D/TUM1.yaml /camera/depth_registered/image_raw:=/camera/depth/image_raw /camera/rgb/image_raw:=/camera/color/imageraw
The ORB-SLAM gui pops up momentarily during which it is possible to see a number of features tracked after which the application crashes.
The output looks like the following:
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: RGB-D
Loading ORB Vocabulary. This could take a while... Vocabulary loaded!
Camera Parameters:
ORB Extractor Parameters:
Depth Threshold (Close/Far Points): 3.09294 New map created with 166 points
Program received signal SIGSEGV, Segmentation fault.
Attaching a gdb trace of a Debug build.
ORBSLAM2_SegFault_Trace_Debug.txt