Last updated:
0 purchases
pulseexecutor 0.0.1
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.