This code converts a depth image provided by the pc2image package of a Velodyne VLP16 3D-Lidar sensor into a point cloud.
- pc2image
- ROS Kinetic or Melodic
- Velodyne repository
sudo apt-get install ros-melodic-velodyne-pointcloud
- PCL (Point Cloud Library)
cd ~/catkin_ws/src
git clone https://github.com/EPVelasco/image2pc.git
cd ..
catkin_make --only-pkg-with-deps image2pc
rosrun image2pc image2pc_node