ROS使用usb_cam驱动摄像头出现select timeout然后process has died问题

ROS使用usb_cam驱动摄像头出现select timeout然后process has died问题

使用如下代码安装好usb_cam功能包后,再启动usb_cam-test.launch文件进行测试,结果出现:
[usb_cam-1] process has died [pid 5685, exit code 1, cmd /home/maihao/catkin_ws/devel/lib/usb_cam/usb_cam_node __name:=usb_cam __log:=/home/maihao/.ros/log/2c9c30e2-95bf-11e6-8a44-000c294ebb02/usb_cam-1.log].
log file: /home/maihao/.ros/log/2c9c30e2-95bf-11e6-8a44-000c294ebb02/usb_cam-1*.log
这样的错误,找了各种原因,说是要改成USB3.0模式,因为用的是Ubuntu16.04双系统,最后也没找到在哪里改,最后发现只要把摄像头插到机箱后面的蓝色USB3.0插口就好了。

$ sudo apt-get install ros-kinetic-usb-cam
$ roslaunch usb_cam usb_cam-test.launch
``

你可能感兴趣的:(自动驾驶)