-
Notifications
You must be signed in to change notification settings - Fork 190
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
Restream buffered frames with minimum publish rate #88
Restream buffered frames with minimum publish rate #88
Conversation
This cannot be merged until travis get fixed. This will be approved after #89 get merged. |
Merging this.. |
@viktorku thanks a lot for this PR! It's very useful! I just tested it and it works perfectly! Are there any plans to release this to the debs any time soon? |
@msadowski I just rolled the new version. It should be available in the next sync |
Great, thanks! |
* fix SteadyTimer check for backported ROS versions (#71) i.e. on current kinetic * Add PngStreamer (#74) * lax rule for topic name (#77) * Add a workaround for MultipartStream constant busy state (#83) * Add a workaround for MultipartStream constant busy state * Remove C++11 features * Add "default_stream_type" parameter (#84) This allows users to specify default stream type in their .launch files. Using a "ros_compressed" stream type sometimes results in a much lower resource consumption, and having it set as a default is much nicer for end users. * update changelog * 0.2.0 * Fall back to mjpeg if ros_compressed is unavailable (#87) * Update travis config (#89) * Restream buffered frames with minimum publish rate (#88) * Restream buffered frames with minimum publish rate * Implement restreaming for ros_compressed_streamer * update changelog * 0.2.1
Image topics that are occasionally publishing end up buffered internally if not re-streamed at some rate. This PR adds an optional
publish_rate
parameter which if provided will make the server continuously restream messages older than the publish rate.PS. We have been using this for many years at Pickit, albeit on an old diverged fork. This adapts some work @psoetens did four years ago, on top of the latest mainline version.
083332e
2fb83e0
7180287
6ce0eed