Ubuntu16.04使用usb_cam调用USB摄像头

按照教程,很不幸出现了如下错误:

ERROR: cannot launch node of type [usb_cam/usb_cam_node]: usb_cam 
ROS path [0]=/opt/ros/kinetic/share/ros 
ROS path [1]=/opt/ros/kinetic/share

使用这个解决

https://github.com/ros-drivers/usb_cam/issues/85

You need to a add a source file in your bash.rc
OR
Open the following directory in the terminal /home/gpslab/catkin_wsorb/
and type the following command

source devel/setup.bash
On the same terminal cd to your launch directory i.e. /home/gpslab/catkin_wsorb/src/usb_cam/launch/
and roslaunch the file
roslaunch usb_cam-test.launch


版权声明:本文为renyuanxingxing原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。