AbnerCSZ / lidar2rosbag_KITTI

A simple way to convert KITTI LiDAR data to rosbag.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to build with catkin:

$ cd ~/catkin_ws/src/
$ git clone  git@github.com:AbnerCSZ/lidar2rosbag_KITTI.git
$ cd ~/catkin_ws
$ catkin_make -DCMAKE_BUILD_TYPE=Release 
$ source ~/catkin_ws/devel/setup.bash

Running:

rosrun lidar2rosbag lidar2rosbag KITTI_input_dir output_name

Please confirm that the input path contains the file times.txt and the folder velodyne.

└── dataset
    └── sequences
        └── 04
            ├── calib.txt
            ├── image_0 [271 entries exceeds filelimit, not opening dir]
            ├── image_1 [271 entries exceeds filelimit, not opening dir]
            ├── times.txt
            └── velodyne [271 entries exceeds filelimit, not opening dir]

For example:

rosrun lidar2rosbag lidar2rosbag /data/KITTI/dataset/sequences/04/ 04

or

rosrun lidar2rosbag lidar2rosbag /data/KITTI/dataset/sequences/01/ bag01

and so on...

About

A simple way to convert KITTI LiDAR data to rosbag.

License:Other


Languages

Language:C++ 91.6%Language:CMake 8.4%