Skip to content

vishnu1002/LIO-SAM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

ROS1 Noetic

Environment setup

  • Ubuntu 20.04 Focal Fossa iso | wsl
  • ROS1 Noetic install (install till 1.4 and follow the below commands)

Dependencies installation

  1. ROS Noetic
sudo apt-get install -y ros-noetic-navigation
sudo apt-get install -y ros-noetic-robot-localization
sudo apt-get install -y ros-noetic-robot-state-publisher
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
  1. GTSAM
sudo add-apt-repository ppa:borglab/gtsam-release-4.0
sudo apt install libgtsam-dev libgtsam-unstable-dev
  1. Make a working directory ROS/src
mkdir -p ROS/src
cd ROS/src/
  1. Clone LIO-SAM repo
git clone https://github.com/TixiaoShan/LIO-SAM.git
cd ..
  1. Noetic build error fix!!!
  • Configure the utility.h (src\LIO-SAM\include\utility.h)
    • #include <opencv/cv.h> change to --> #include <opencv2/opencv.hpp>
    • move #include <opencv2/opencv.hpp> after the pcl headers.
  • Configure CMakeLists.txt (src\LIO-SAM\CMakeLists.txt)
    • set(CMAKE_CXX_FLAGS "-std=c++11") change to --> set(CMAKE_CXX_FLAGS "-std=c++14")
  1. Build
catkin_make -j2

Running Dataset

Sample dataset from LIO-SAM

  1. Run the launch file:
source /home/atom-focal/ROS/devel/setup.bash
roslaunch lio_sam run.launch
  1. Play existing bag files:
rosbag play park_dataset.bag -r 3

About

LIO-SAM Experimentation and Documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published