Pulse Program Executor
Project description
Pulse Program Executor
Installation
Run the following command in a terminal:
pip install pulse-executor -i https://pip.rozum.com/simple
Usage
This library must be used to control the execution of programs generated by pulse-program-template and uploaded to the sandbox in Pulse Controlbox.
In order to start/stop program execution (for example, from pulse-program-player), the following steps must be performed:
- Connect to the sandbox on the controlbox
- Activate the virtual environment that is created for the program:
source /home/sandbox/player/{{project_name}}/venv/bin/activate
- Define address of Robot that will be used to execute Program
export ROBOT_ADDRESS="localhost:8081"
- Execute:
pulse-executor-run {{program_name}}
- To stop the program and execute the
after_all()
step the following command:source /home/sandbox/player/{{project_name}}/venv/bin/activate && pulse-executor-stop && deactivate
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pulse-executor-0.0.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pulse_executor-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c944fc31c9e151b58bc66b5b216ee3f9517bef5ba94690aec1748700fd370443 |
|
MD5 | 576c81a6e75c77f0133d53148f549005 |
|
BLAKE2b-256 | ea7e493edb9a6e5710f1219a1c2f6e4a9fab3d8b3fdf80d38e1496486b09df36 |