A library that routes all communication to the N9 and UR3 robots via a secure middlebox.
Project description
# Niraapad Prototype for the CPS security project
## Dependencies
Python 3.7.3
Python package grpcio 1.38.0
Python package grpcio-tools 1.38.0
Python package protobuf 3.17.3
The package may work with earlier versions of these depenencies, but this has not been tested.
## Build Steps
- Generate the gRPC stubs using one of the following methods:
Run scripts/compile_proto_files.sh script in bash
Run task build defined in .vscode/tasks.json in Visual Studio Code
## Testing Steps
- Test on a single machine using one of the following methods:
Run .niraapadtesttest_middlebox.py
Run task test defined in .vscode/tasks.json in Visual Studio Code
- Test on two machines as follows:
On the server machine, run .niraapadmiddleboxstart_server.py -P 1337 -K .niraapadkeysispy_cs_ubc_ca-S
On the client machine, run .niraapadtesttest_niraapad.py -D -H ispy.cs.ubc.ca -P 1337 -K .niraapadkeysispy_cs_ubc_ca-S
(Use .niraapadmiddleboxstart_server.py –help or .niraapadtesttest_niraapad.py –help for details)
#### Running UR simulator
- Test on a single machine as follows:
Turn on the VMware Player and run the UR simulator virtual machine
Run the UR3 robot simulator and turn on the robot from the button on the bottom left
Run the test_init_vm test using niraapad/test/test_middlebox.py
- Test on two machines as follows:
TODO
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 niraapad-1.1.0.tar.gz
.
File metadata
- Download URL: niraapad-1.1.0.tar.gz
- Upload date:
- Size: 29.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4558cbedf8103b7ab2ac6df11c5a1f15dba8ecab1d6676c675309d810d61279 |
|
MD5 | 0700d9411259e58281c7c17557112cec |
|
BLAKE2b-256 | 86bd34f41f0d0d198c82b5c8a6a2dcaadc32a916f8a9e30c820dc0856edcfb7b |
Provenance
File details
Details for the file niraapad-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: niraapad-1.1.0-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 108e9675e51bcebe1c2f431114215f342ec2c91ed8f1a00e2240e00beb81e16e |
|
MD5 | 4a155bdfbba6467668681f3cf696d249 |
|
BLAKE2b-256 | acd60bae9e319424e535d34a8d1c1e43534b481fe119c0329de0aa20bea266cb |