-
Notifications
You must be signed in to change notification settings - Fork 140
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
Huge image input delay when working with low frame rates #17
Comments
Do you receive the Image on the machine, wehre it ha sbeen captured? |
I do receive the image on the same machine I capture them with. |
Edit: Nope it's still there.
Though I don't quite understand as to where the images were being saved. The 36 seconds old images I received must have been buffered somewhere? |
Hm, I used this node myself and do not observe such strong delays. However, I can confirm that this Node is unfortunately very buggy. |
Today I started working on that issue again and I found the troublemaker. When I start my camera node with a launch file I also execute a bash script which runs a few services like:
The latter was originally placed to make sure the camera is running in free running mode. According to Basler documentation the trigger mode is off by default for all trigger types. Not executing that line results in the huge delay I was seeing before to be gone. Further tests:
Conclusion: |
Setting
frame_rate: 1.0
I get a huge delay of about 36 seconds from when the actual image is taken and received on ros. Comparing the timestamp of the image message and ros time of the moment the image message is published I get a difference of about 1 second which I can work with. The delay of 36 seconds I acquired by comparing the image content and the image message timestamp so the total delay is at about 37 seconds.Using the same camera settings with
PylonViewerApp
does not result is a huge delay. So the fault must be with the ros driver.The text was updated successfully, but these errors were encountered: