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.2.tar.gz (23.7 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.2-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eventdispatch-0.2.2.tar.gz
  • Upload date:
  • Size: 23.7 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.2.tar.gz
Algorithm Hash digest
SHA256 468effc8daa48f215aed522826fb610b035ab2b2cde93456bf342ad36e899ca5
MD5 a526961f6a20c22540aaf7368fd70f5d
BLAKE2b-256 8b2e1d411566fc6c2ee95e63ed094d7d0d1531e58d904b322c96375f381c4cf4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eventdispatch-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 25.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e3869090b8b19a9ef50a3f29e5a5a966f22dabca288ea1e0fa7de832fbd13a52
MD5 31db342ee6cdda9d1ceba2aa1dd4b1b1
BLAKE2b-256 374b7d433ef8d512e780f96ea2cf587d8ca5e5dada105bf827b232e16eb281d7

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