-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uvc_get_stream_ctrl_format_size: Invalid mode (-51) #37
Comments
Anyone? |
Hi ppm-tahi, |
Hi bikramA, no, to be honest, I was not searching for a solution since then. Balint |
Thanks Balint, Cheers,
|
In 640x480 it was working for me as well, but not on higher resolution. |
you have to check |
I am getting the same error...the odd think is that it was working at some point....now no matter what I pass it error -51 invalid mode |
Same. Even when using supposedly supported formats error -51 invalid mode |
when running v4l2-ctl --list-formats-ext make sure the format you're using matches video_mode/width/height and frame_rate. I was using a bad framerate. |
I believe MJPEG support of libuvc_camera enabled in Lunar released package. See #43 . Please notice libuvc_camera in Indigo, Jade and Kinetic doesn't support MJPEG. If you need to use it in these distro, I think you need to build it from source code. And lastly, please notice the video_mode should be 'mjpeg', not 'jpeg'
|
I'm not sure if it helps or not, but in my case, my monochrome camera (gray8 format) sends format code I modified the line, compiled libuvc from the source, purge |
Hi,
I am trying to use a Logitech c920 Pro camera in ROS.
I installed everything, usb_cam driver is working fine, but the FPS is low.
I have some issues with libuvc_ros with the camera. It is working with the attached launch file, but I can not increase the FPS for fullhd resolution. The supported modes is in this file:
modes.txt
It is working only if the video_mode is uncompressed or yuyv and the frame_rate is 5. In the modes, I can see jpeg video_mode, where the frame_rate is 30, but if I try to set it up, I get -51 error.
Where should I search for the problem?
Launch file:
The text was updated successfully, but these errors were encountered: