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.1.0.tar.gz (29.5 kB view details)

Uploaded Source

Built Distribution

niraapad-1.1.0-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

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

Hashes for niraapad-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a4558cbedf8103b7ab2ac6df11c5a1f15dba8ecab1d6676c675309d810d61279
MD5 0700d9411259e58281c7c17557112cec
BLAKE2b-256 86bd34f41f0d0d198c82b5c8a6a2dcaadc32a916f8a9e30c820dc0856edcfb7b

See more details on using hashes here.

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

Hashes for niraapad-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 108e9675e51bcebe1c2f431114215f342ec2c91ed8f1a00e2240e00beb81e16e
MD5 4a155bdfbba6467668681f3cf696d249
BLAKE2b-256 acd60bae9e319424e535d34a8d1c1e43534b481fe119c0329de0aa20bea266cb

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