Skip to main content

Event Dispatch: discrete time synchronization

Project description

eventdispatch

Event Dispatch: discrete time synchronization, Markov-chain inspired 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.0.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.0-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eventdispatch-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 40c4d371154945811b667dd258cf43722a06be653f6925a3975328a15858bb87
MD5 dab8af3de49a2f09c1602448edba682a
BLAKE2b-256 5e5c6b99b1dbe2371834593b5fd3a026c5fd8e329b6069676ca0f6385c8291ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eventdispatch-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79970655955091249be206a66cee73e98e014d9c47442b58f4f0695ee75fd88c
MD5 e246d8b5b3ccdbf2ee0143419c172325
BLAKE2b-256 cc46bf6550fd6840184930c5bd1d31a30b7469ad32f7898ddb67cf39b4884cf2

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