Ask Your Question
2

usb_cam latency when using low fps

asked 2016-07-18 18:59:43 -0600

atkob gravatar image

updated 2016-07-18 22:44:31 -0600

I am using the usb_cam driver package and rqt_image_view to view the image from a USB camera. The problem I'm facing is that the latency of the displayed image increases a lot when I drop the frame rate. At the default 30fps, there is no noticeable lag when viewing through rqt_image_view. But 30fps uses a lot of CPU and I only need about 5 fps. Unfortunately, when I change the framerate parameter in usb_cam to 5 fps, the latency jumps to around 1 second (eyeballed). All parameters are default values except the pixel_format which is yuyv. (I tried changing the io_method around but that had no effect.)

Any thoughts on how I could lower the latency is appreciated!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-12-07 03:30:14 -0600

robotgirl gravatar image

Any luck with this? I am having the same issue.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-07-18 18:59:43 -0600

Seen: 394 times

Last updated: Jul 18 '16