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

usb_cam latency when using low fps

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

atkob gravatar image

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

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

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

robotgirl gravatar image

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

edit flag offensive delete link more

Question Tools

1 follower


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

Seen: 617 times

Last updated: Jul 18 '16