Open JasDEng opened 4 years ago
Try launching with gdb to get more info about the seg fault by adding the launch-prefix
in the launch file: http://wiki.ros.org/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB
Type run
in gdb terminal to start the node, then bt
to see the backtrace after it crashes.
At first view, you seem to have a PCL built from source with -march=native
. When PCL is built with -march=native
, g2o and gtsam should also be built with -march=native
. For GTSAM, there is a compilation option to enable it. For g2o, I don't remember if we have to add it to c++ flags manually or if there is an option directly.
Hello, I am currently using rtabmap for pure 2D lidar mapping, but got stuck after launch it.
I built from source with g2o and gtsam (also tried built without g2o and gtsam). And I've read other issues and tried uninstall rtabmap and rebuilt it from source, but did not solve the problem. Could you please help or give me some hint? I really appreciate it.
Here is my launch:
Here is my terminal output after launch it:
Here is my cmake output with g2o and gtsam:
Here is my ldd rtabmap output:
Thank you very much for your help and best wishes!