TMTC commander for EIVE OBSW
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Marius Eggert 6182369e4f
Merge pull request 'generic systemctl' (#193) from generic_systemctl into main
2 weeks ago
.run Merge remote-tracking branch 'origin/main' into mueller/pus-15-tm-storage 3 months ago
deps update .gitignore 6 months ago
eive_tmtc Merge branch 'main' into generic_systemctl 3 weeks ago
filetest add OBSW update test 3 months ago
template scex continued 11 months ago
.flake8 prep v2.15.0 3 months ago
.gitignore that was annoying 6 months ago
.gitmodules replace submodules with install scripts 6 months ago
CHANGELOG.md changelog 3 weeks ago
LICENSE added license files 1 year ago
MANIFEST.in add csvs to manifest file 6 months ago
NOTICE added license files 1 year ago
README.md update README 6 months ago
lint.py adaptions for windows in lint script 1 year ago
logo.png some small bugfixes 3 years ago
pyproject.toml prep v2.15.1 3 months ago
requirements.txt update requirements.txt 6 months ago
setup.py added setup.cfg and setup.py file 1 year ago
tmtcc.py add OBSW update test 3 months ago
tmtcloop.py starting changing code to new API 11 months ago

README.md

TMTC Commander EIVE

This application can be used to test the EIVE On-Board Software. Furthermore, it can also be used to retrieve all sorts of telemetry data like housekeeping data.

It is recommended to use this application with a virtual environment. The virtual environemnt chapter describes how to set one up. The requirements describes how to install all required packages.

The configuration file can currently be found at tmtc_conf.json. It caches settings like the default communication interface or parameters like the TCP port when using the TCP communication interface.

Examples

Assuming you are running in a virtual environment and all package requirements were installed properly.

Run CLI mode

./tmtcc.py

Run GUI mode

./tmtcc.py -g

Set up virtual environment

Linux

  1. Create virtual environment

    python3 -m venv venv
    
  2. Activate virtual environment

    . venv/bin/activate
    

Windows

  1. Create virtual environment

    py -m venv venv
    
  2. Activate virtual environment

    venv\Scripts\activate.bat
    

Install requirements

There are two ways to install the requirements. One is to install the primary dependency tmtccmd interactively. This is the recommended way

Assuming you are running in a virtual environment:

  1. Install tmtccmd for virtual environment. -e for interactive installation.

    cd deps/tmtccmd
    pip install -e .[gui]
    

Alternatively you can also install the packages from PyPI completely, but the risk of incompatibilities will be high there

pip install -r requirements.txt

Run Linter

Can be used to quickly check validity of script. Install flake8 first

python3 -m pip install flake8

or on Windows

py -m pip install flake8

and then run the lint.py script

./lint.py

Run Auto-Formatter

This repo is auto-formatted using black. Assuming black is installed, you can simply run

black .