参考:http://blog.csdn.net/heyijia0327/article/details/41623419
用外部USB摄像头采集图像
安装usb_cam package:
cd ~/catkin_ws/src
git clone https://github.com/bosch-ros-pkg/usb_cam.git
cd ~/catkin_ws
catkin_make
source /home/xcmai/catkin_ws/devel/setup.bash
或
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/xcmai/catkin_ws
在/home/xcmai/catkin_ws/src/usb_cam/launch下,usb_cam-test.launch里面增加参数,也可以不修改。修改后如下:</