hku-mars / LiDAR_IMU_Init

[IROS2022] Robust Real-time LiDAR-inertial Initialization Method.
GNU General Public License v2.0
889 stars 145 forks source link

fix message generation #88

Closed nickcharron closed 9 months ago

nickcharron commented 1 year ago

current main branch doesn't build, this error occurs:

/home/nick/catkin_ws/src/LiDAR_IMU_Init/src/IMU_Processing.hpp:27:10: fatal error: lidar_imu_init/States.h: No such file or directory #include <lidar_imu_init/States.h>

This is because of the order at which message generation is caled in the CMakeLists.txt Message generation must be called before we include these files which require the message types

Tested this on ubuntu20 and it builds fine now

nickcharron commented 10 months ago

@zfc-zfc are you able to take a look at this? Should be an easy merge

nickcharron commented 9 months ago

I see you fixed this in: https://github.com/hku-mars/LiDAR_IMU_Init/commit/6d20db38557d80fcc289e4e7b09f02a468d78549

It would have been nice if you just merged my PR so I can get the credit for the bug fix. But I will close