Software
ros2_eventdispatch
From github.com/cyan-at/ros2_eventdispatch (opens in a new tab)
- Middleware
- Library
- Apache-2.0
A ROS 2 node that uses ROS 2 as a message bus to dispatch events, built on the python-eventdispatch library. It is meant for robotics use cases.
Facts
- GitHub stars
- 0read on 29 Nov 2026
- Last update
- 29 Nov 2026Newest commit on main
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Advanced
Checked on GitHub on 29 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 69e4350 (opens in a new tab), on 29 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Runs as a ROS 2 node that accepts dispatch requests through a service and a subscription, plus a batch version of each.
- Loads its event definitions from a folder named by the events_module_path parameter, which must contain an events.py file.
- The events.py file supplies an event dictionary, initial events, a blackboard update hook, a shutdown handler, and a request validator factory.
- Includes a launch file that exposes the node name and events module path so several node instances can be started.
- Organized into three packages: the eventdispatch Python library, ROS 2 message and service interfaces, and the ROS 2 node and launch files.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 29 Nov 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/cyan-at/ros2_eventdispatch (opens in a new tab)
- The version Robotheca read69e4350 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca read the repository at two versions: the summary at 2a573df and the facts and the README at 69e4350 (read on 29 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by @cyan-at, at commit 69e4350, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
ros2_eventdispatch
ROS(ROS2) are solutions to the inter-process communication problem, among other metaphors
python-eventdispatch (opens in a new tab) (github (opens in a new tab)) uses ROS2 as a message bus for robotics use-cases.
It does so with 3 packages in this upstream super-repo.
- eventdispatch_python (provides the eventdispatch library)
- eventdispatch_ros2_interfaces (ROSEvent.msg/srv)
- eventdispatch_ros2 (ed_node, stage.launch)
ed_node
Instantiates a class child of CSBQCVED, Node
class ROS2QueueCVED(CSBQCVED, Node):
CSBQCVED :
Composite
Semaphore
Blackboard
Queue
Condition
Variable
Event
Dispatch
~/dispatchservice, subscription~/dispatch_listservice, subscription (batch version)events_module_pathros2 parameter
The events_module_path is a folder that is expected to have an events.py file that defines the following variables:
from events import event_dict, initial_events, events_module_update_blackboard, on_shutdown, make_validator
(note that events.py can be symlinked, and import each other or refactored for reuse)
- event_dict
This is a mapping str -> Class for the blackboard
- initial_events
list[[event primitives]], initial boundary conditions to dispatch
- events_module_update_blackboard
populate the blackboard with assets, ROS adapters, etc.
- on_shutdown
intended to be a graceful handler, but ROS shutdown is blunt
- make_validator
return a class that checks requests, stub to add extra logic
stage.launch
Convienence launch file, exposing the 2 most important launch args to ed_node
- node_name
- events_module_path
The idea is to stand up various ed_node instances via stage.launch as needed.
Since ed is such a compact framework, it may be more likely to expand capability by growing the Event subclasses in a blackboard than spawning more instances, but is an option anyways.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.