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

ilekoaiq's profile - activity

2015-10-30 06:36:50 -0500 answered a question Error while interfacing my webcam to ROS

Hello, I meet the same problem. My camera is logitech C525. And I finally resolved it.

Go to the catkin workspace,

$ gedit src/usb_cam/src/usb_cam.cpp

find the sentence and comment it like this,

if (pic_size != avframe_camera_size_)
{
   //  ROS_ERROR("wocaonima, outbuf size mismatch.  pic_size: %d bufsize: %d", pic_size, avframe_camera_size_);
   //  return; 
}

Then,

$ catkin_make

So that, resolve the problem.