Dinghow / pcd2bin

A python script to conver .pcd to .bin (with python-pcl)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

This code is about .pcd to .bin converting tool.
PointCloud(.pcd) file includes x, y, z, intensity, (ring, time) data.
You can convert all the .pcd files (sorted in ascending order by file name) in the directory.

How to use

1. Install python libraries

~$ pip install numpy
~$ pip install argparse
~$ pip install pypcd
~$ pip install tqdm

2. Launch python file

~$ python pcd2bin.py --pcd_path={path of input pcd file directory} --bin_path={path of output bin file directory}

Parameters

Name Description Default value
pcd_path .pcd file path "/home/user/lidar_pcd"
bin_path .bin file path "/home/user/lidar_bin"

About

A python script to conver .pcd to .bin (with python-pcl)


Languages

Language:Python 100.0%