Basic ROS package for processing of LiDAR data consisting of two nodes, (1) for LaserScan data and (2) for PointCloud data.
- LiDAR LaserScan data
- Subscribes to
/scanand calculates 3D points from the distances and angles. - Publishes output as PointCloud to
/scan_pointcloud.
- LiDAR PointCloud data
- Subscribes to
/lidar/pointcloudand runs a simple callback function that downsamples the data with a VoxelGrid filter. - Publishes output to
/point_cloud_filtered.
- Clone into your ROS workspace
srcdirectory
git clone git@github.com:casparvv/lidar_processor.git
- Build the package from workspace
catkin_make
- Source workspace
source devel/setup.bash
- Run package
(1) LiDAR LaserScan data
rosrun lidar_processor laser_scan_processor.py
(2) LiDAR PointCloud data
rosrun lidar_processor lidar_processor