TMTC commander for EIVE OBSW
Go to file
Marius Eggert 2d6e9f826c
All checks were successful
EIVE/-/pipeline/head This commit looks good
Merge pull request 'action reply update' (#299) from small-action-reply-update into main
Reviewed-on: #299
Reviewed-by: Marius Eggert <eggertm@irs.uni-stuttgart.de>
2024-05-28 09:40:21 +02:00
.run run configs 2023-09-06 10:44:25 +02:00
automation
deps
eive_tmtc action reply update 2024-05-16 11:03:55 +02:00
filetest
misc move logo 2023-09-14 12:12:58 +02:00
scripts test script 2024-03-19 11:48:24 +01:00
template
.gitignore Merge branch 'introduce_tm_db' into bump-tmtccmd 2023-11-29 15:02:33 +01:00
.gitmodules
CHANGELOG.md prep v7.0.0 2024-05-06 14:18:57 +02:00
LICENSE
MANIFEST.in
NOTICE
pyproject.toml some more fixes 2024-05-08 10:49:20 +02:00
README.md README 2023-09-14 12:20:35 +02:00
release-checklist.md switch to ruff 2023-09-14 12:09:50 +02:00
requirements.txt
tmtcc.py need to fix action reply handler 2024-05-06 11:23:31 +02:00

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 environment 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.

Installing via PyPI

It is recommended to install eive-tmtc itself interactively, which also installs all required dependencies.

pip install -e .

If you only want to install all dependencies:

pip install -r requirements.txt

Install interactively

Clone the dependency first inside the deps folder

cd deps
./install_tmtccmd.sh

Then you can install tmtccmd interactively

cd tmtccmd
pip install -e .

Run Linter

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

python3 -m pip install ruff

or on Windows

py -m pip install ruff 

and then run it

ruff .

Run Auto-Formatter

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

black .