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.0.2.tar.gz
.
File metadata
- Download URL: niraapad-1.0.2.tar.gz
- Upload date:
- Size: 23.1 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 | 050f988896d02e716efb3e0e29ae6cdcc60fcd5fa85f4d5109b060f8382cc73f |
|
MD5 | db3f9b56d47e9e5319adcc383a653c16 |
|
BLAKE2b-256 | 28fba5552276985d7cb2e3ce1bea019c81ed7bd7c0be9aab97be8d529032aa0d |
Provenance
File details
Details for the file niraapad-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: niraapad-1.0.2-py3-none-any.whl
- Upload date:
- Size: 25.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 | cb86c7066048ed69af90a96a33ad2c6c833926968f0f9dd9955953be94a8e440 |
|
MD5 | 5c31f1122f51020db4df1fb6b46c49f4 |
|
BLAKE2b-256 | 5f4d41b6b54018277b4b116365bcda8225b3a333756f5b5946091705f1a484da |