Thread 1 "fastlivo_mappin" received signal SIGSEGV, Segmentation fault.
0x000055555559e464 in lidar_selection::Frame::w2c (xyz_w=..., this=0x55555ddb8540)
at /home/cgy/fast_livo_ws/src/FAST-LIVO/include/frame.h:89
89 inline Vector2d w2c(const Vector3d& xyz_w) const { return cam_->world2cam( T_f_w_ * xyz_w ); }
函数压栈:
(gdb) bt
#0 0x000055555559e464 in lidar_selection::Frame::w2c (xyz_w=..., this=0x55555e1df280)
at /home/cgy/fast_livo_ws/src/FAST-LIVO/include/frame.h:89
#1 publish_frame_world_rgb (pubLaserCloudFullRes=..., lidar_selector=...)
at /home/cgy/fast_livo_ws/src/FAST-LIVO/src/laserMapping.cpp:737
#2 0x000055555558c31f in main (argc=<optimized out>, argv=<optimized out>)
at /usr/local/include/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp:108
使用dataset的时候,gdb报错:
函数压栈:
其中当时T_f_w_和xyz_w分别为:
环境:ROS noetic, Ubuntu 20.04