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

Batch Visualizer - add automated timeout #43

Merged
merged 2 commits into from
Nov 16, 2022
Merged

Conversation

stibipet
Copy link
Member

@stibipet stibipet commented Nov 16, 2022

Based on the request here #42, added a timeout option for all add... methods in BatchVisualizer. Use ros::Duration(seconds) as the last argument, to set a timeout duration. All timed-out objects are cleared by calling the publish() method. Default timeout is ros::Duration(0) -> no timeout.

Known limitations:
The visualizer buffer now has to keep unique IDs for all objects, the theoretical limit for added objects in one session is unsigned long max (4294967295 items).

@stibipet stibipet merged commit c8f0f84 into master Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant