Robotics StackExchange | Archived questions

Input/output error using usb_cam package

Hi,

I am trying to use usb_cam package to connect a Logitech usb camera from my laptop. I am using ROS kinetic with Ubuntu 16.04. I successfully built the package using catkin_make. Then when I run the usb_cam_node node using

$ rosrun usb_cam usb_cam_node

from the terminal I receive the following input-output error,

VIDIOC_STREAMON error 5, Input/output error.

Any help to overcome this error is appreciated.

Thank you.

Asked by anirban on 2018-12-10 18:04:30 UTC

Comments

Answers

I solved the problem using video_device:=/dev/video1 of usb_cam_node. The problem happened because I have been using an external usb camera with my laptop which already had a built-in camera.

Asked by anirban on 2018-12-12 11:54:14 UTC

Comments