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

[Feature Request] Allow connections to be blocking in asynchronous mode. #224

Open
1 task done
bheijden opened this issue Sep 25, 2022 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@bheijden
Copy link
Member

🚀 Feature

Allow connections to block in sync=False mode when blocking=True in the Graph.connect. Should default to False to make it a non-breaking change.

Append delay information to output messages to enable delay simulation in sync=True mode.

Motivation

In a graph, users may only want to run some parts asynchronously, while keeping other parts synchronized. In ROS this behavior would be implemented using blocking services. By adding the option for connection to be blocking, users can neatly mimic this behavior.

This would complicate delay simulation, because the delay of a message would be influenced by all the upstream nodes on which the message indirectly depended. In pure asynchronous mode, this is not a problem.

Checklist

  • I have checked that there is no similar issue in the repo (required)
@bheijden bheijden added the enhancement New feature or request label Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant