Skip to content

This repo is for converting ros2bag Lidar data to .bin and .pcd data with UTC timestamps!

License

Notifications You must be signed in to change notification settings

ZiyeQin/ros2ToBinPcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💤 ros2ToBinPcd

Static Badge GitHub watchers

This repo is for converting ros2bag(.db3) Lidar data to .bin and .pcd data with UTC timestamps!

Dependencies

  • ROS2
  • matplotlib
  • numpy
  • open3d

Usage

  1. Clone the repo

    git clone https://github.com/ZiyeQin/ros2ToBinPcd.git

  2. Convert the ros2bag to .bin

    python3 rosbag2bin.py

You can find the .csv file in the folder with UTC timestamp for each .bin file.

  1. .bin visualization (optional)

    python3 binVisualization.py

  2. Convert the .bin to .pcd

    python3 bin2pcd.py

  3. .pcd visualization (optional)

    python3 pcdVisualization.py

About

This repo is for converting ros2bag Lidar data to .bin and .pcd data with UTC timestamps!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages