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

Streams Don't Stop When Image Timestamps Don't Match System #171

Closed
QuentinTorg opened this issue Nov 4, 2024 · 1 comment
Closed

Streams Don't Stop When Image Timestamps Don't Match System #171

QuentinTorg opened this issue Nov 4, 2024 · 1 comment
Labels

Comments

@QuentinTorg
Copy link

Description
I have a setup where my camera and my host computer are using different time domains (camera time is significantly ahead of computer time). I'm using the jpeg image streamer to stream to a browser. I found that when I close the image stream window in my browser, the subscription was not getting closed.

I have identified the issue as timestamp mismatch. It appears this will be a problem for both ROS1 and ROS2 with the same solution in both

  • Library Version: ros1 branch
  • ROS Version: ROS1 Noetic
  • Platform / OS: Ubuntu 20.04

Steps To Reproduce

  • stream image topics that have header in the future
  • start web video server node
  • subscribe to image topics in the browser
  • rostopic info shows web video server subscribed to image topic
  • close browser window with image stream

Expected Behavior
rostopic info should show no subscribers for the image topic once the window is closed

Actual Behavior
rostopic info shows that there is still an active subscriber to the image stream

@bjsowa
Copy link
Collaborator

bjsowa commented Nov 20, 2024

Fixed in #173 and #174

@bjsowa bjsowa closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants