hku-mars / LiDAR_IMU_Init

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

fix message generation #88

Closed nickcharron closed 4 months ago

nickcharron commented 8 months 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 6 months ago

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

nickcharron commented 4 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