GithubHelp home page GithubHelp logo

p6-a3-207's Introduction

P6-A3-207

6th Semester Data Quality Project

Program Arguments

Arguments able to call when running the programs.
Options marked with an astrisk (*) is the default value, and all options are non-mandatory.

  • -payload <string> - Payload you want to be the sensor data.

  • -target <string> - Enter the name of the node to transfer to, options are:

    • up0
    • up1
    • up2*
    • up3
    • cal
    • ste
    • tho
    • ub8
  • -tech <string> - The connection technology it use, (if the system supports them all) options are:

    • wifi *
    • 5g
    • ethernet
  • -portOut <int> - The port for the outgoing connection, if there is any.

  • -portIn <int> - The port for incoming connections, if there is any.

  • -loop - Loopback mode, which makes the program target itself.

  • -dev - Development mode, setting Ground Truth to sync via WiFi, to avoid Ethernet restrictions, and run the rest of the program in loopback mode.

  • -v - Verbose mode, for development and troubleshooting print-outs.

  • -delay <int> - Sets the delay between data transfers.

  • -RTOint <int> - Sets the delay between syncronization for RTO.

  • -VKTint <int> - Sets the delay between syncronization for VKT.

  • -cwd <string> - Sets the Python working directory, to whatever you've inserted.

Ground Truth Specific

  • -gt <string> - Enter the name of the node to transfer to, options are:

    • up0
    • up1
    • up2*
    • up3
    • cal
    • ste
    • tho
    • ub8
  • -gtTech <string> - The connection technology it use, (if the system supports them all) options are:

    • wifi *
    • 5g
    • ethernet
  • -GTint <int> - Sets the delay between syncronization for GT.

INSTALL

# Install dependencies
pip3 install -r requirements.txt

# Run a sensor:
python3.11 sensor.py

# Run a backend:
python3.11 backend.py

# Run a headend:
python3.11 headend.py

p6-a3-207's People

Contributors

aaucrisp avatar cmtthomas avatar mast3rwaf1z avatar ubeyd-22 avatar

Stargazers

 avatar

p6-a3-207's Issues

sync fast bug fix

sync is using system clock, not our clocks, we should change that functionality for the NTP function to take a clock parameter

also add a catch block for NTP exceptions

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.