I followed the similar issue and commented
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -march=native ")set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O3 -march=native")
as described in #3
But then the system dead after the 0th image, as shown below:
__PlanarSLAM Copyright (C) 2021 Yanyan Li, Technical University of Munich (TUM).
This program comes with ABSOLUTELY NO WARRANTY;
This is free software based on ORB-SLAM2, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt.
Loading ORB Vocabulary. This could take a while...
Vocabulary loaded in 5.67s
Vocabulary loaded!
img_width = 640
img_height = 480
mUndistX size = 480 x 640mUndistY size = 480 x 640
Well, it is quite interesting that I upgraded PCL 1.8 to PCL 1.9 then everything is fine now.
So the project is working well under PCL 1.7 and PCL 1.9 but not with PCL 1.8?
Hi there,
I followed the similar issue and commented
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -march=native ")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O3 -march=native")
as described in #3But then the system dead after the 0th image, as shown below:
__PlanarSLAM Copyright (C) 2021 Yanyan Li, Technical University of Munich (TUM). This program comes with ABSOLUTELY NO WARRANTY; This is free software based on ORB-SLAM2, and you are welcome to redistribute it under certain conditions. See LICENSE.txt.
Loading ORB Vocabulary. This could take a while... Vocabulary loaded in 5.67s Vocabulary loaded!
img_width = 640 img_height = 480 mUndistX size = 480 x 640mUndistY size = 480 x 640
Camera Parameters:
ORB Extractor Parameters:
Depth Threshold (Close/Far Points): 3.32502 PlanarSLAM Printer: This is the 0th image Matching planes... plane 0: p1 [-0.00024552766, -0.99999911, -0.0013000764, 0.90096229]: 1, p2 : [-0.0001090349, -0.00013670312, -1, 3.9469013] 1, angle : 0.00143681 vertical! plane 1: p1 [-0.0001090349, -0.00013670312, -1, 3.9469013]: Matching done p1: [0.00024552766; 0.99999911; 0.0013000764] p2: [0.0001090349; 0.00013670312; 1] p3: [0.99999893; -0.00024538589; -0.00010900124] PlanarSLAM Printer: This is the 1th image Segmentation fault (core dumped)__
any hints for this? thanks in advance