在进行机器人的图像采集,查看与保存时,执行指令:
roslaunch ar_pose usbcam_head.launch
以打开机械手相机,结果报错:
[ERROR] [1724101303.598729065]: Cannot identify '/dev/head_camera': 2, No such file or directory
[head_camera-2] process has died [pid 11653, exit code 1, cmd /opt/ros/noetic/lib/usb_cam/usb_cam_node __name:=head_camera __log:=/home/pc/.ros/log/3c3ee51e-5e6e-11ef-a065-d386cd669c57/head_camera-2.log].
log file: /home/pc/.ros/log/3c3ee51e-5e6e-11ef-a065-d386cd669c57/head_camera-2*.log
于是进入目录/dev/, 确实没找到head_camera,但却找到了hand_camera
将命令改为:
roslaunch ar_pose usbcam_hand.launch
成功