-
Notifications
You must be signed in to change notification settings - Fork 15
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
ARV_BUFFER_STATUS_TIMEOUT #25
Comments
Hey, |
Hi @MaxBial, did you rule out that this might be a bandwidth issue on your network? How many cameras are you trying to use in parallel? In my experience, we didn't have much success in improving our throughput with the Let me know if that helped. |
Hi @MaxBial, when do you get the '[ ERROR ] Control to aravis device lost'? We recently encountered the same error. But in our case, this happens before any subscriber attaches to the node and, thus, before any big data junks are sent over the network. We have tried increasing the Timeout-Time, with no success. We haven't yet resolved the error but we assume that this might have something to do with the routing as the cameras are currently attached to a subnet with a Mesh-Wifi. |
[ WARN ] Frame error: ARV_BUFFER_STATUS_TIMEOUT I am flooded by those also in the following scenario:
So if you change one of them also make sure you change the second. FWIW, I am on different fork but the code that is potentially causing those problems is shared.
Looking at implementation of camera_aravis
Processing time is mainly:
To diagnose you may:
|
The problem was diagnosed here: At this point this is cause identified, no solution implemented yet. |
Back in the day I tried to change in the code the parameters for the "timeout-time" and the 2-3 other parameters at the same position in the code. Unfortunately it had only a small impact. For this reason I had to change to a different Camera with different ROS driver implementation. The things that I noticed by installing the requirements for the new camera were: These things were not explicitly required for the camera_aravis driver but I guess maybe it shoulde be? Best Regards |
Transport level optimizations and larger buffers help but here the problem was blocking network communication from running while processing received data. Solved in a fork today: This fork is not easy to build in 20.04 + Noetic
But we released packaged version of latest aravis and camera_aravis for Noetic: As a side note, above fork had some breaking changes compared to this upstream. And finally our fork will become stale soon as I have implemented almost everything we needed. Some last optimizations of pixel format conversions we need are pending. |
Hi Things that I have tried until now:
Also the thing is, if I increase the MTU to higher than 2000, this resolution 2736x1824 also doesn't work anymore. Thanks for your help in advance. |
Yes I also tried it with that fork. |
I am using this github repo for my "The Imaging Source" GiGE Cameras (DFK 33 GX249e - 2,3MP and 48 fps).
I am getting:
[ WARN ] Frame error: ARV_BUFFER_STATUS_TIMEOUT
This happens by using 1 camera at 10 fps.
When using multiple cameras, then in addition I am getting afterwards:
[ ERROR ] Control to aravis device lost.
When I only decrease the framerate (fps) to around 2-4 fps then everything is running good.
I assume that there has to be made only some minor adjustments in the settings/parameters in the code.
I think that I have just to increase/decrease the parameter "Timeout-time" or "Buffer-size".
Maybe somebody already faced with issue and could tell where in the code or how to change those settings, if this is the issue.
Thanks
Best Regards
The text was updated successfully, but these errors were encountered: