gisbi-kim / FAST_LIO_SLAM

LiDAR SLAM = FAST-LIO + Scan Context
494 stars 74 forks source link

error when doing catkin_make #14

Closed Jaetriel closed 3 years ago

Jaetriel commented 3 years ago

Hello @gisbi-kim , thank you for your amazing work. I'm trying to use FAST_LIO_SLAM but I'm getting an error when I clone your repo in my catkin_ws/src and doing catkin_make: `/home/gl/catkin_ws/src/FAST_LIO_SLAM/FAST-LIO/include/common_lib.h:8:10: fatal error: fast_lio/Pose6D.h: No such file or directory

include <fast_lio/Pose6D.h>

I'm pretty sure I have all the dependencies installed. I tried using FAST_LIO on its own and SC_A_LOAM package as well and they work on their own but if I try to play the KAIST_03 like in your video I am getting the errors forfailed to find match for field xx` and nothing shows in RViz because FAST_LIO package doesn't have your changes in the code. Any idea what is this header file and where I can find it?

ManChrys commented 3 years ago

@Jaetriel Try to use catkin_make -j1 instead of catkin_make

Jaetriel commented 3 years ago

@ManChrys thank you, that actually got rid of the error, but now after launching everything i still get the warnings failed to find match for field and I don't see anything in rviz on FAST_LIO and on a_loam rviz window

ManChrys commented 3 years ago

hmm i dont know that error. I've never face it :P what's your lidar?

Jaetriel commented 3 years ago

Screenshot from 2021-08-27 15-08-21

This is my output when I try to run KAIST_03 dataset, I believe you had a similar issue but I don't see anything on my rviz window now

ManChrys commented 3 years ago

@Jaetriel yeah i had the same thing.

check the reply https://github.com/gisbi-kim/FAST_LIO_SLAM/issues/10#issuecomment-890712551

Jaetriel commented 3 years ago

@ManChrys yes, I had a look at it but my folder structure looks identical to yours and I still don't see any data shown in RViz

ManChrys commented 3 years ago

Yeah it doesn't work that's why you can't see it on rviz. Kaist-03 example doesn't have ring ambient and all other fields that's why you have these warnings and no visual results on rviz. Try another example.

Jaetriel commented 3 years ago

I tried Riverside-02 as well but I get the same result, which is weird because they are the examples given in the readme of the repo, so I am thinking that maybe I am missing something?

ManChrys commented 3 years ago

Yeah probably all examples are not suitable. If I find a suitable example I'll share it with you.

Jaetriel commented 3 years ago

@ManChrys thank you, I've managed to run the package with my own datasets, so everything seems to be working fine and I will close this issue now