chennuo0125-HIT / lidar_imu_calib

automatic calibration of 3D lidar and IMU extrinsics
501 stars 113 forks source link

vector应该使用eigen的内存分配器 #16

Open ffgamelife opened 3 years ago

ffgamelife commented 3 years ago

calibExRLidar2Imu.h 中78-80的三个vector应该用eigen的分配器,要不会崩溃,因为定义的struct用了EIGEN_MAKE_ALIGNED_OPERATOR_NEW进行对齐。 可改为:vector<LidarFrame, Eigen::aligned_allocator> lidarbuffer;