Skip to content
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

Increase image frame rate #25

Open
zhangyongwei93 opened this issue Aug 17, 2017 · 8 comments
Open

Increase image frame rate #25

zhangyongwei93 opened this issue Aug 17, 2017 · 8 comments

Comments

@zhangyongwei93
Copy link

Hello,
The camera I used is basler daA1600-60uc, USB interface, ROS is kinetic, when I use pylon viewer software to capture image with Bayer8 format, the frame rate can up to 60fps, but when I use this ROS package with bayer_rggb8 format , the output include this


Desired framerate 60.00 is higher than max possible. Will limit framerate to: 30.60 Hz

the image can capture normally, but the image topic only 25.4fps. How to increase the frame rate?
Thanks

@NikolasE
Copy link
Contributor

NikolasE commented Aug 17, 2017

What's your exposure? And is the framerate higher for other formats?

@zhangyongwei93
Copy link
Author

When the exposure decrease, the framerate will increase, it can up to about 44fps while exposure is 6000 microseconds, but when I set exposure_auto to true, the framerate back to 30fps. And framerate is lower for other formats, such as rgb8 format, about 17fps. Using pylon viewer software is normal.

@NikolasE
Copy link
Contributor

What's your exposure when you activate exposure_auto? @marceldebout

@qinvav
Copy link

qinvav commented May 14, 2019

Hello. I’m experiencing the same issue. acA2040-35gc, Bayer 2048x1536, Ethernet, ROS Kinetic.

  1. Default settings, resulting picture is way too dark.
    Pylon Viewer – 34fps, exposure(us) – 3000;
    ROS driver – 28fps, , exposure(us) – 3000.
  2. ”Auto Functions” settings, resulting picture is very bright.
    Pylon Viewer – 34fps, exposure(us) – 27910;
    ROS driver – 16fps, , exposure(us) – 19299.
  3. In general: longer exposure – fewer fps, as if the exposure time adds to frame period.

Do you have any ideas what could cause this?

@SherifN
Copy link

SherifN commented Jun 21, 2019

I am also having the same issue with daA1600-60uc 1600x1200, USB interface, ROS melodic.
Pylon Viewer ~41fps
ROS Node ~ 20fps
Is there already a solution?

@kspons
Copy link

kspons commented Dec 5, 2019

same issue with acA2500-60uc. in ROS will not go above 18.84 Hz

@qinvav
Copy link

qinvav commented Dec 6, 2019

I might be wrong but I believe that the reason for the difference in FPS is different grabbing strategies. Pylon viewer uses so-called “free-running” mode, which yields maximum FPS. This driver uses (presumably) WaitForFrameTriggerReady() + ExecuteSoftwareTrigger(), which is slower, but necessary for stereo/multiple cameras synchronization (I guess). If someone is not afraid to get his hands a bit dirty I could share my driver for GigE cameras (should work for other types with minor modifications), it is fast :-)

@claudiofantacci
Copy link

May be related to basler/pylon-ros-camera#28 and/or basler/pylon-ros-camera#29, even thought the implementation may be different in some part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants