Skip to content

Document the experimental EventsExecutor in the Executors page - #7516

Open
Labu1 wants to merge 1 commit into
ros2:rollingfrom
Labu1:repodestek/issue-5571
Open

Labu1 wants to merge 1 commit into
ros2:rollingfrom
Labu1:repodestek/issue-5571

Conversation

@Labu1

@Labu1 Labu1 commented Nov 23, 2026

Copy link
Copy Markdown

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 the EventsExecutor. 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:

  • the events-queue design (entities push events when they become ready, instead of the executor waiting on a wait set) and the separate TimersManager thread;
  • a C++ example using rclcpp::experimental::executors::EventsExecutor;
  • a Python example using rclpy.experimental.EventsExecutor;
  • a note that the API is in the experimental namespace and may change, with a pointer to the EventsCBGExecutor, 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 pytest in 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.

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

No deployments
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.

📝 Discuss Events executor in "About Executors" page

1 participant