文章目录
[ERROR] [1621578431.173375915]: Cannot identify ‘/dev/video0’: 2, No such file or directory
错误显示
运行命令:
roslaunch turn_on_wheeltec_robot ar_label.launch
报错:
[ERROR] [1621578431.173375915]: Cannot identify '/dev/video0': 2, No such file or directory
[usb_cam-2] process has died [pid 11117, exit code 1, cmd /home/wheeltec/wheeltec_robot/devel/lib/usb_cam/usb_cam_node /usb_cam/image_raw/compressed:=/image_raw/compressed __name:=usb_cam __log:=/home/wheeltec/.ros/log/90002802-b9fd-11eb-8c7a-e45f01457811/usb_cam-2.log].
log file: /home/wheeltec/.ros/log/90002802-b9fd-11eb-8c7a-e45f01457811/usb_cam-2*.log
解决办法
重新拔插USB线。
原因可能是因为,在搬运或者调试的过程中,连接线处不稳定,导致设备无法正确识别,在多放问题检查,排除软件上的问题后,一定要检查硬件设备上的情况!
我也是排查了很久,才发现是非常细节的问题。