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

Low FPS in ROS a2A1920-51gcPRO #116

Closed
TRA55A opened this issue Jun 19, 2022 · 3 comments
Closed

Low FPS in ROS a2A1920-51gcPRO #116

TRA55A opened this issue Jun 19, 2022 · 3 comments

Comments

@TRA55A
Copy link

TRA55A commented Jun 19, 2022

Hi,

When I use the Pylon viewer I get 30FPS but when using the ROS package I get 17FPS, I tried to change some settings on the yaml file but with no success.

.pfs output from pylon viewer:
a2A1920-51gcPRO_40135680.pfs.txt

config file from ROS package:
default.yaml.txt

Any ideas on what I need to change on the ROS package in order to get the same performance?

Thanks

@m-binev
Copy link
Collaborator

m-binev commented Jun 20, 2022

@TRA55A Hi, there are some other open/closed issues related to frame rate here. Maybe you want to check them? In a nutshell, you cannot expect getting the same frame rate on ROS as in pylon Viewer, because you have additional image copy operations on ROS. Also, the maximum (or higher) frame rates are only possible, when running a camera in free-run or hardware trigger mode. Using a software trigger (default mode on ROS) would result in about the half of the possible frame rate. Cheers

@TRA55A
Copy link
Author

TRA55A commented Jun 21, 2022

Thanks, I read most of the posts, I noticed some users noted issues with the enable_current_params_publisher I will try to change it to false.

How do I change the trigger mode?
In my YAML file, I changed the grab_strategy to 2.
Should I change another parameter?

@TRA55A
Copy link
Author

TRA55A commented Jun 22, 2022

Update: after changing enable_current_params_publisher to false, I'm getting 25-28 FPS.

Thanks!

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

2 participants