Repository navigation
Conversation
The Executors concept page covered the Single-Threaded, Multi-Threaded and Callback Group Events executors, but never mentioned the EventsExecutor. It has been in rclcpp since Iron and has an experimental rclpy port since Kilted. Add a short section on its events-queue design and its separate TimersManager thread, with C++ and Python examples. A note says the API is still experimental and points to the EventsCBGExecutor, which builds on the same design and adds multi-threading and support for multiple ROS time sources. Fixes ros2#5571. Signed-off-by: Toprak <64380154+Labu1@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The Executors page (
source/ROS-Framework/client-libraries/About-Executors/About-Executors.rst) covers the Single-Threaded, Multi-Threaded and Callback Group Events executors, but never mentions theEventsExecutor. That executor has been in rclcpp since Iron Irwini, and rclpy has had an experimental port since Kilted Kaiju.This PR adds a short section, "The Events Executor (experimental)", just before the Callback Group Events Executor section. It covers:
TimersManagerthread;rclcpp::experimental::executors::EventsExecutor;rclpy.experimental.EventsExecutor;experimentalnamespace and may change, with a pointer to theEventsCBGExecutor, which builds on the same design and adds multiple ROS time sources and multiple threads.As agreed in the issue discussion, the section carries an "experimental" label. If the executor is ever promoted out of
experimental, the follow-up is just to remove that label.The wording follows what the Iron, Kilted and Lyrical release notes already say about these executors.
This is related to #7381, which also targets this issue. This change is smaller: it adds one section and claims nothing beyond what the existing release notes say (for example, nothing about deprecation status).
Fixes #5571
Did you use Generative AI?
Yes, Claude (Anthropic, claude-opus-5-5) helped draft this change. I reviewed it before submitting.
Additional Information
Testing: Ran
pytestin a clean Linux container: the 2 remaining failure(s) also occur on the base branch without this change; no new failures are introduced.This PR was prepared with AI assistance (Claude) and reviewed by me before submitting.