catkin_ws/src$ git clone https://github.com/ros-drivers/usb_cam
~/catkin_ws/src$ cd ..
catkin_make
source devel/setup.bash
sudo apt-get install ros-melodic-image-view
roslaunch usb_cam usb_cam-test.launch
来源:CSDN
作者:qq_35212636
链接:https://blog.csdn.net/qq_35212636/article/details/103569227