The error is like:
Initializing PL-SLAM...
terminate called after throwing an instance of 'std::__cxx11::basic_string<char, std::char_traits, std::allocator >'
Aborted (core dumped)
And the error may occur in this position
map = new PLSLAM::MapHandler(cam_pin);
The error is like: Initializing PL-SLAM... terminate called after throwing an instance of 'std::__cxx11::basic_string<char, std::char_traits, std::allocator >'
Aborted (core dumped)
And the error may occur in this position map = new PLSLAM::MapHandler(cam_pin);