- ROS Melodic Morenia (Ubuntu 18.04)
- PCL: 1.9.1
- CUDA(Optional)
cd ros_pcl
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
catkin_make
echo "source ~/ros_pcl/devel/setup.bash" >> ~/.bashrc
cd [your_workingspace]
Modify CMakeLists.txt
find_package(catkin REQUIRED COMPONENTS
pcl_ros
roscpp
sensor_msgs
)
Remember also modify your package.xml
See also ROS Document, pcl