vector应该使用eigen的内存分配器
ffgamelife opened this issue · comments
calibExRLidar2Imu.h 中78-80的三个vector应该用eigen的分配器,要不会崩溃,因为定义的struct用了EIGEN_MAKE_ALIGNED_OPERATOR_NEW进行对齐。
可改为:vector<LidarFrame, Eigen::aligned_allocator> lidar_buffer_;
automatic calibration of 3D lidar and IMU extrinsics
ffgamelife opened this issue · comments
calibExRLidar2Imu.h 中78-80的三个vector应该用eigen的分配器,要不会崩溃,因为定义的struct用了EIGEN_MAKE_ALIGNED_OPERATOR_NEW进行对齐。
可改为:vector<LidarFrame, Eigen::aligned_allocator> lidar_buffer_;