Book: Learning ROS for Robotics Programming, 2nd Edn; Chapter 5 - USB Camera is not running
I am using Ubuntu 15.04 and jade version of ROS. I am trying to use the usb camera by the method given in the book on page 187. My camera is already good and I checked it by the "cheese" method explained in there. Here is what I am doing
$ sudo apt-get install ros-jade-usb-cam
$ roslaunch chapter5_tutorials usb_cam.launch view:=true
here is what I am getting after doing this
[ERROR] [1453172400.684518103]: Webcam: expected picture but didn't get it...
[ERROR] [1453172400.684518103]: Webcam: expected picture but didn't get it...
Can any please tell me, how can I solve this problem? After getting Stefan Kohlbrecher; I am going to add the steps I took. Thank you so much Stefan Kohlbrecher for your kind response. Here is what I followed from your prescribed solution from here and here and also from here.
rosparam set usb_cam/pixel_format yuyv
roslaunch chapter5_tutorials usb_cam.launch view:=true
and here is what I got,
[ERROR] [1453352737.003836186]: Webcam: expected picture but didn't get it...
[mjpeg @ 0x1ffd7c0] mjpeg: unsupported coding type (cd)
[ERROR] [1453352737.043623383]: Webcam: expected picture but didn't get it...
I don't know why the code, commands and method shown in book is still not working.
See update below.