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
Built Distribution
File details
Details for the file pulse-executor-0.0.1.dev20200623135624.tar.gz
.
File metadata
- Download URL: pulse-executor-0.0.1.dev20200623135624.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ceed1b10f0ecfc0ee1b5274a5cac9806c6667d715a049e688ece327906ca168 |
|
MD5 | 6328db4d906d14b4a7ee49bb2ee35540 |
|
BLAKE2b-256 | 1d3a1b2500d78f529adf436cbd2168ea85f42e353f9def4549182e1c7d74de94 |
File details
Details for the file pulse_executor-0.0.1.dev20200623135624-py3-none-any.whl
.
File metadata
- Download URL: pulse_executor-0.0.1.dev20200623135624-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aee61da187881a2c99166b78d1eff1739a1f82aaf242744c62516387a5ced44 |
|
MD5 | cc576a8702174a353d091d7815de318e |
|
BLAKE2b-256 | fc57a2386a53b4f67b2e7f8b27c22acc55108fc5a6361115d905c02b5238bb65 |