Closed Lee-xiao closed 1 year ago
If you are using "pixel_format" as "yuyv", try changing it to "mjpeg" or the other way around. For me, it worked with the first method.
I have the same result as yours.. and when I have changed the "pixel_format" to "mjpeg" I've got this error..
[ERROR] [1547486033.596328143]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.631609438]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.666822355]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.694541910]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.729776569]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.779654260]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 any help please??
I'm a Grad student who has taken over someone else's project with limited documentation. I'm very new to Ubuntu, GitHub, etc. Same problem. How do I change the pixel_format?
Nevermind. I figured out the answer to my question.
But I'm still having the same issues. Please let me know if you figure anything out.
Just go to the launch file and change the line from "<param name="pixel_format" value="yuyv" />" to "<param name="pixel_format" value="mjpeg" />"
On Mon, Jan 28, 2019 at 10:46 PM TheLoneFedora notifications@github.com wrote:
I'm a Grad student who has taken over someone else's project with limited documentation. I'm very new to Ubuntu, GitHub, etc. Same problem. How do I change the pixel_format?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ros-drivers/usb_cam/issues/102#issuecomment-458294797, or mute the thread https://github.com/notifications/unsubscribe-auth/ApAGMmey3jPAls-KXo3jyzE3eq8M88hzks5vH2G7gaJpZM4XtbdI .
Thank you nana400. First, I should have clarified my edit to my post. I did figure out where to change the pixel format. However, playing with that feature did not resolve the underlying green screen issues; I was having the same issues as the original poster, despite trying other pixel values.
RESOLUTION:
I did get past the green screen of death. For me at least it came down to 3 aspects of the launch file I was using.
i) node name='usb_camera' ….> failed for some reason, but <node name='usb_cam' ….> does not.
ii) is apparently trying to reference the laptop built-in camera. Changing to <… value="/dev/video0" /> is apparently the correct input for the Boson FLIR camera I am using
iii)
I found these solutions once I figured out that another launch file on the computer usb_cam-test.launch was working. Trial-and-error ferreted out the problem code. I hope this helps your troubleshooting.
I have the same result as yours.. and when I have changed the "pixel_format" to "mjpeg" I've got this error..
[ERROR] [1547486033.596328143]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.631609438]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.666822355]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.694541910]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.729776569]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 [ERROR] [1547486033.779654260]: outbuf size mismatch. pic_size: 460800 bufsize: 614400 any help please??
hello ? I meet the same problems ,do you have any answer?
Hi, I have the exact same problems. Is there any solution to this?
Closed as a parameter setup issue mentioning here: http://wiki.ros.org/action/edit/usb_cam/Troubleshooting
I tried to open the cam in the ROS ,and I input the following instruction in the terminal: roslaunch usb_cam usb_cam-test.launch but my cam window show like following: What should I do?