Skip to main content

Event Dispatch: discrete time synchronization

Project description

eventdispatch

Event Dispatch: discrete time synchronization

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.

Although 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.1.23.tar.gz (21.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.1.23-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eventdispatch-0.1.23.tar.gz
  • Upload date:
  • Size: 21.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.1.23.tar.gz
Algorithm Hash digest
SHA256 89bddbf449ecb3a5c1c8f7653d28c077265f28e682cba45fe3281d2dbbfb3544
MD5 06a4e389753dbc40e88f4d86acc942bb
BLAKE2b-256 06944d3976023aa551e5b8077426cf907dfbaa250c4f1f6cb8d75abb779e2697

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eventdispatch-0.1.23-py3-none-any.whl
  • Upload date:
  • Size: 21.8 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.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 3312095203c7ca0da609d489b859e10270c404d6e05b41a4a4f8d0dcb7327cde
MD5 40780ca86d0155f64d8fbf6ae6934e79
BLAKE2b-256 82e9db1696edf5a1eed27efb780ea1cba1bd29e5448af13c33af3170ca21cb59

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