ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Input/output error using usb_cam package

asked 2018-12-10 17:04:30 -0600

anirban gravatar image

updated 2018-12-10 17:06:01 -0600


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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-12 10:54:14 -0600

anirban gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-12-10 17:04:30 -0600

Seen: 668 times

Last updated: Dec 12 '18