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.22.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.22-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eventdispatch-0.1.22.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.22.tar.gz
Algorithm Hash digest
SHA256 e3b3a4f2e4c87d88a38b024667b27a347c7c8aea26c4eee900824d802acbfe5a
MD5 a867c43bdd16be159828a3ccad447f03
BLAKE2b-256 7fe65d56a2678b05eec00716d0e58547c77dae5b424408765464f9efd63cc3c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eventdispatch-0.1.22-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.22-py3-none-any.whl
Algorithm Hash digest
SHA256 44a8af2c1cb400445fd9251976b6b373e487fc4f1962ae31667daa37c7b4ca30
MD5 04a4b733d91b19b96549ecf0a68d56d8
BLAKE2b-256 1246735c67d022444fe9ac757dce1019622bfeefec2c823916b58dcea2679056

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