Skip to main content

Event Dispatch: discrete time synchronization

Project description

eventdispatch

Event Dispatch: discrete time synchronization, Markov-chain control

Documentation

The latest documentation on readthedocs

python3: apt installation

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

ROS2

Follow the instructions on the Releases page

  1. 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
    
  2. then trigger the example1 ed_node instance via a ROSEvent:

    ros2 topic pub --once /example1/dispatch eventdispatch_ros2_interfaces/msg/ROSEvent "{string_array: ['WorkItemEvent'], int_array: [1]}"
    
  3. you can also trigger a service call:

    ros2 service call /example1/dispatch eventdispatch_ros2_interfaces/srv/ROSEvent "{string_array: ['WorkItemEvent'], int_array: [1]}"
    

Issues/Contributing

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eventdispatch-0.2.1.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eventdispatch-0.2.1-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file eventdispatch-0.2.1.tar.gz.

File metadata

  • Download URL: eventdispatch-0.2.1.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for eventdispatch-0.2.1.tar.gz
Algorithm Hash digest
SHA256 281759d727e61a2659c9e06552ccdc749a4135c97441791b79337ce609e57bf7
MD5 de86fdb27c064d62744731ea6b042ca1
BLAKE2b-256 339b94ce82b3409b193d8139a2371d5450cfefa585ec652d9f15ecb20b118158

See more details on using hashes here.

File details

Details for the file eventdispatch-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: eventdispatch-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for eventdispatch-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4d95918450953b897270f636b3f8bd16df36cb5fa30bba3b710e0c09373f18
MD5 bec600c933fdd78edaa113b3018f26c4
BLAKE2b-256 b9f492bac955ea3bb8524a3058d35cef18fef2efef0646ea75da436d5b07fad1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page