Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

niraapad-1.0.3.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

niraapad-1.0.3-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file niraapad-1.0.3.tar.gz.

File metadata

  • Download URL: niraapad-1.0.3.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

Hashes for niraapad-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a8b81a1651432474ef18aba97ca76a5a58f358f50ab08d7c19334a1047a466e8
MD5 09e64abafbdefe07f863dfcf2a9e7946
BLAKE2b-256 452d9e719aed6c91b89fcb04faa769b9ff967d76f2a048333f17dcdb5625a578

See more details on using hashes here.

Provenance

File details

Details for the file niraapad-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: niraapad-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 25.9 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

Hashes for niraapad-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d392b57a33a87504f247f1d3bfe4306ae942b6e652e5fe23cafefb5dccd857de
MD5 38a8bf49ed41dfa6e153cbf8918e8228
BLAKE2b-256 32a4aff0522829b70513c78aaba43c3c0d74331bc21d180fb442bf0c48b7c7c1

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page