Event Dispatch: discrete time synchronization, Markov control
The latest documentation on readthedocs
sudo add-apt-repository ppa:cyanatlaunchpad/python3-eventdispatch-ppa
sudo apt update
sudo apt install python3-eventdispatch
python3: pip installation
virtualenv try-eventdispatch
. try-eventdispatch/bin/activate
pip install eventdispatch
Follow the instructions on the Releases page
-
stand up the
ed_node
instance via the launch file:ros2 launch eventdispatch_ros2 example1.launch events_module_path:=/home/charlieyan1/Dev/jim/eventdispatch/ros2 node_name:=example1
-
then trigger the
example1
ed_node
instance via aROSEvent
:ros2 topic pub --once /example1/dispatch eventdispatch_ros2_interfaces/msg/ROSEvent "{string_array: ['WorkItemEvent'], int_array: [1]}"
-
you can also trigger a service call:
ros2 service call /example1/dispatch eventdispatch_ros2_interfaces/srv/ROSEvent "{string_array: ['WorkItemEvent'], int_array: [1]}"
I do not expect the core
module to be volatile much since the mechanism is very straightforward.
Any volatility can arguably be captured in Event
or EventDispatch
child classes.
Though it may be archived, I do actively maintain this repo. Please open an issue or file a fork+PR if you have any bugs/bugfixes/features!