APRIL-ZJU / lidar_IMU_calib

[IROS 2020] Targetless Calibration of LiDAR-IMU System Based on Continuous-time Batch Estimation
GNU General Public License v3.0
927 stars 224 forks source link

run initialization crush #24

Closed Chrislzy1993 closed 3 years ago

Chrislzy1993 commented 3 years ago

hi, @icameling , thanks for your great work, when i run the code, when i click initializaiton on licalib_gui, it happens to a crush, could you help me to fix it out?

Load dataset from /home/XXX/data/test_data/LI-calib/Garage-01.bag
/velodyne_packets: 298
/imu1/data_sync: 12001
Ceres Solver Report: Iterations: 12, Initial cost: 1.179723e+07, Final cost: 1.305846e+02, Termination: CONVERGENCE
[li_calib_gui-2] process has died [pid 9979, exit code -11, cmd /home/XXX/catkin_dev/devel/lib/li_calib/li_calib_gui __name:=li_calib_gui __log:=/home/XXX/.ros/log/8ce0d29e-a3e0-11eb-9107-6c4b9090a754/li_calib_gui-2.log].
log file: /home/XXX/.ros/log/8ce0d29e-a3e0-11eb-9107-6c4b9090a754/li_calib_gui-2*.log
^C[rosout-1] killing on exit

my env is ubuntu 16.04, the bug happened in the following code

ndt_omp_->setInputTarget(map_cloud_);

the following is my cpu: Screenshot from 2021-04-23 11-41-04 The moment when crush, the cpu come to max

Chrislzy1993 commented 3 years ago

This is a ndt_omp bug, when there are two pcl versions on my pc, like pcl1.7 and pcl1.8. on cmakelists, it will find pcl1.8, and in will crush when ndt_omp_->setInputTarget(map_cloud_);code, refer to https://github.com/koide3/ndt_omp/issues/6