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

add ability to wait on subscriptions without an executor #520

Closed
wjwwood opened this issue Jul 19, 2018 · 0 comments · Fixed by #1047
Closed

add ability to wait on subscriptions without an executor #520

wjwwood opened this issue Jul 19, 2018 · 0 comments · Fixed by #1047
Labels
enhancement New feature or request

Comments

@wjwwood
Copy link
Member

wjwwood commented Jul 19, 2018

The idea is that you can create a subscription, wait on it (and only it) to have a message ready, and then either take the message or have the callback called with that message. This should be possible even if other subscriptions, timers, etc. which are part of the same node are used with an executor. So there should be a way to not add specific subscriptions to an executor or to have the executor ignore it.

Things to consider:

  • should it be possible to have a callback group with two subscriptions in it, where one subscription is manually awaited and executed but the other is handled by the executor? (with the executor still respecting the callback group's constraints?)
  • probably should do the same thing for timers and service clients/servers at the same time (or at least document how it would be done)

Requires #519

@wjwwood wjwwood added the enhancement New feature or request label Jul 19, 2018
mlautman pushed a commit to PickNikRobotics/rviz_visual_tools that referenced this issue Jan 18, 2020
mlautman pushed a commit to PickNikRobotics/rviz_visual_tools that referenced this issue Jan 18, 2020
nnmm pushed a commit to ApexAI/rclcpp that referenced this issue Jul 9, 2022
* Add localhost option to node creation

Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>

* Bring localhost function from rmw

Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>

* Satisfy uncrustify and address pr comments

Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this issue Aug 5, 2022
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
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

Successfully merging a pull request may close this issue.

1 participant