hi, @icameling , when i build the code in debug mode by change set(CMAKE_BUILD_TYPE "DEBUG"), then build with some error:
/home/xxx/catkin_dev/src/lidar_IMU_calib/include/utils/dataset_reader.h: In member function ‘void licalib::IO::LioDataset::adjustDataset()’:
/home/xxx/catkin_dev/src/lidar_IMU_calib/include/utils/dataset_reader.h:180:12: error: ‘imu_data’ was not declared in this scope
assert(imu_data.size() > 0 && "No IMU data. Check your bag and imu topic");
^
/home/xxx/catkin_dev/src/lidar_IMU_calib/include/utils/dataset_reader.h:181:12: error: ‘scan_data’ was not declared in this scope
assert(scan_data.size() > 0 && "No scan data. Check your bag and lidar topic");
^
/home/xxx/catkin_dev/src/lidar_IMU_calib/include/utils/dataset_reader.h:183:12: error: ‘scan_timestamps’ was not declared in this scope
assert(scan_timestamps.front() < imu_data.back().timestamp
The variable imu_data , scan_data and scan_timestamps was not declared in this scope, i am confused why it can build successful in release mode
hi, @icameling , when i build the code in debug mode by change
set(CMAKE_BUILD_TYPE "DEBUG")
, then build with some error:The variable imu_data , scan_data and scan_timestamps was not declared in this scope, i am confused why it can build successful in release mode