Please change branch to Bunker-DVI-Dataset-reg-1 or kitti for quick experiment.
This small toolset allows to integrate SLAM solution provided by LOG-LIO2 with HDMapping. This repository contains ROS 1 workspace that :
- submodule to tested revision of LOG-LIO2
- a converter that listens to topics advertised from odometry node and save data in format compatible with HDMapping.
sudo apt install -y nlohmann-json3-devClone the repo
mkdir -p /test_ws/src
cd /test_ws/src
git clone https://github.com/MapsHD/benchmark-LOG-LIO2-to-HDMapping.git --recursive
cd ..
catkin_makePrepare recorded bag with estimated odometry:
In first terminal record bag:
rosbag record /cloud_registered /Odometryand start odometry:
cd /test_ws/
source ./devel/setup.sh # adjust to used shell
roslaunch log_lio mapping_mid360.launch # or mapping_kitti.launch
rosbag play *.bag --clockcd /test_ws/
source ./devel/setup.sh # adjust to used shell
rosrun log-lio2-to-hdmapping listener <recorded_bag> <output_dir>rosbag record /cloud_registered /Odometrycd /test_ws/
source ./install/setup.sh # adjust to used shell
roslaunch log_lio mapping_mid360.launch # or mapping_kitti.launchIn the terminal where the ros record is, interrupt the recording by CTRL+C
Do it also in ros launch terminal by CTRL+C.cd /test_ws/
source ./install/setup.sh # adjust to used shell
rosrun log-lio2-to-hdmapping listener <recorded_bag> <output_dir>