-
Notifications
You must be signed in to change notification settings - Fork 4
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
[ROS2] Revamp Callback Groups (and/or Executors) #62
Comments
In #56 we are doing it in a jank-y way by resetting a protected access class attribute in |
#90 and ada_ros2#19 should address this, by putting all callbacks into a ReentrantCallbackGroup (allowing them all to be executed in parallel). While this should work in theory, I'll leave this issue open so someone can go back and more intentionally consider every pair of callbacks and whether they can truly be executed in parallel or not. |
Note: the ReentrantCallbackGroups appear to be too much for |
In |
#92 mostly addresses this, lingering issues will be documented there. |
Currently, most of our nodes use the default callback group, which only lets one topic/service/action/timer process a callback at a time. This is a huge problem, because it slows down execution and can result in some callbacks not getting called for a while because other callbacks are called first.
We should be very intentional with what executor and callback group we are using for each node and each callback within the node. See the below resources for more details:
The text was updated successfully, but these errors were encountered: