HKUST-Aerial-Robotics / DenseSurfelMapping

This is the open-source version of ICRA 2019 submission "Real-time Scalable Dense Surfel Mapping"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terminate called after throwing an instance of 'std::bad_alloc'

dbdxnuliba opened this issue Β· comments

when I running
roslaunch surfel_fusion vins_realsense.launch

and mapping 3d map
after a time while,
the terminal shows πŸ‘

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
[surfel_fusion-1] process has died [pid 24384, exit code -6, cmd /home/dell/denseSurfel_vino_supptorted_src/devel/lib/surfel_fusion/surfel_fusion ~image:=/camera/color/image_raw ~depth:=/cam

image
this is the caputer

Sorry, cannot help you debug this error without more information.

I have run into the same error. Have you figured it out?

Thread 1 "surfel_fusion" received signal SIGSEGV, Segmentation fault.
SurfelMap::pose_ros2eigen (pose=..., T=..., this=0x7ffd7bf5b6a0) at ~/catkin_ws/src/DenseSurfelMapping/surfel_fusion/src/surfel_map.cpp:373
373         rotation_q.y() = pose.orientation.y;
(gdb) l
368     {
369         T = Eigen::Matrix4d::Identity();
370         Eigen::Quaterniond rotation_q;
371         rotation_q.w() = pose.orientation.w;
372         rotation_q.x() = pose.orientation.x;
373         rotation_q.y() = pose.orientation.y;
374         rotation_q.z() = pose.orientation.z;
375         T.block<3,3>(0,0) = rotation_q.toRotationMatrix();
376         T(0,3) = pose.position.x;
377         T(1,3) = pose.position.y;