-
Notifications
You must be signed in to change notification settings - Fork 158
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
Framerate drops to half of specified value #107
Comments
Hi, |
I am having a similar issue on Ros2. My frame rate is being capped at 13.66hz until I use spinview to reset the camera then my Ros params are loaded on launch and I can get my desired frame rates and exposure times. I know I am launching correctly because after the reset, with no change to my launch file everything works perfectly the problem is the intermediary step that the camera needs to be reset. |
If you want the cameras to go to a well defined state, the way to do it is first to configure the camera the way you want it in spinview. Then save the parameters as a UserSet (spinview has an option somewhere for that), e.g. as UserSet1. Then you hack the camera configuration yaml to add some new nodes (i.e. ros parameters) that allow you to load UserSet1 on startup. I have done this for the blackfly camera and it worked for me, but while figuring out the .yaml file I also hosed the cameras a couple of times to the point that I had to reinstall the firmware to get them to work again. So beware.
I'll try to recreate the .yaml file when I get to it. |
I added a new config file to the humble-devel branch, and also put an example in the launch file. If using userset parameters doesn't fix the problem, please open another issue for the ROS2 driver, since that code base is completely different. |
When launching
camera.launch
, the published image framerate is half of what is specified by the parameter frame_rate. For example, setting:gives a published image framerate of 15 Hz. As per Understanding USBFS on Linux, I have ensured the buffer size is adequate to support the image stream.
Tested with:
FLIR BlackFly S USB3 (model: BFS-U3-12Y3M, image resolution: 1024x1280, bit depth: 8)
Ubuntu 20.04
ROS Noetic
Spinnaker SDK v2.7.01.128
The text was updated successfully, but these errors were encountered: