Using usb_cam to read camera images on ROS

The computer needs to have a USB3.0 interface 
. The environment I use is: Ubuntu16.04LTS 
ROS version is kinetic 
1. Installation of usb_cam driver 
1. Create ROS workspace 

mkdir -p myros/src 
cd myros
catkin_make
source devel/setup.bash 

2. Download the driver file in the src directory

cd src
git clone https://github.com/bosch-ros-pkg/usb_cam 
cd .. 
catkin_make

2. Test 
1. Run node manager 
roscore 
2. source devel/setup.bash 
3. roslaunch usb_cam usb_cam-test.launch

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326031837&siteId=291194637