$ git clone https://github.com/bobbyshashin/16833-project.git
$ cd 16833-project/aloam_ws
$ catkin_make
$ source devel/setup.bash
Skip this if you already have kitti rosbags.
- Download KITTI Odometry dataset, we do not need grayscale and color, and orgnize it as following:
├── poses
│ ├── 00.txt
│ ├── ......
│ └── 10.txt
└── sequences
│ ├── 00
│ │ ├── velodyne
│ │ │ ├── 000000.bin
│ │ │ ├── ......
│ │ │ └── xxxxxx.bin
│ │ ├── calib.txt
│ │ └── times.txt
│ ├── ...
│ └── 21
- Modify line 5,6,7 in kitti_help.launch.
- Run kitti_helper to generate rosbags (after catkin_make, source)
roslaunch aloam_velodyne kitti_helper.launch
This will save kitti rosbags to your local.
- Launch LOAM and pose graph optimization node
$ roslaunch aloam_velodyne aloam_velodyne_HDL_64.launch
- Launch loop closure detection node
$ cd src/A-LOAM/scripts/
$ python LCD.py
- Play KITTI rosbag.
$ rosbag play PATH/TO/KITTI_ROSBAG/SEQUENCE_NUMBER.bag
Thanks for Qin's LOAM implementation.