TMTC commander for EIVE OBSW
Go to file
2022-05-23 16:11:55 +02:00
.run some improvements 2022-05-19 19:24:57 +02:00
config Merge remote-tracking branch 'origin/develop' into mueller/hk-parsing 2022-05-19 18:16:50 +02:00
gomspace update tmtccmd and spacepackets dependency 2022-05-05 16:15:53 +02:00
pus_tc tmtcgui -m7 is kinda working like I would expect it to 2022-05-23 00:20:06 +02:00
pus_tm Merge remote-tracking branch 'origin/develop' into mohr/looooop 2022-05-22 22:02:44 +02:00
spacepackets@d0c3f4a802 update tmtccmd and spacepackets dependency 2022-05-05 16:15:53 +02:00
tmtccmd@0e193f9c76 bump tmtccmd 2022-05-23 16:11:55 +02:00
utility moved logger 2022-04-05 00:51:52 +02:00
.gitignore fixed conflicts 2022-05-03 19:12:37 +02:00
.gitmodules added spacepackets submodule 2021-10-02 12:17:21 +02:00
CHANGELOG.md update changelog 2022-05-17 15:03:05 +02:00
LICENSE added license files 2022-01-26 15:13:23 +01:00
lint.py adaptions for windows in lint script 2022-03-01 17:13:20 +01:00
logo.png some small bugfixes 2020-12-17 18:00:32 +01:00
NOTICE added license files 2022-01-26 15:13:23 +01:00
README.md README fix 2022-05-18 18:32:20 +02:00
requirements.txt add back requirements.txt and update README 2022-05-17 14:55:23 +02:00
setup.cfg added setup.cfg and setup.py file 2022-05-17 14:28:17 +02:00
setup.py added setup.cfg and setup.py file 2022-05-17 14:28:17 +02:00
tmtcc.py cleaner TM handling 2022-05-17 17:21:03 +02:00
tmtccli.py cleaner TM handling 2022-05-17 17:21:03 +02:00
tmtcgui.py working on gui 2022-05-22 21:35:51 +02:00
tmtcloop.py some improvements 2022-05-19 19:24:57 +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 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

./tmtccli.py

Run GUI mode

./tmtcgui.py

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 tmtccmd
    pip install -e .[gui]
    
  2. You can also install the spacepackets package locally/interactively Normally, it will be installed as a tmtccmd dependency.

    cd spacepackets
    pip install -e .
    

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 .