horus-gui/README.md

78 wiersze
2.1 KiB
Markdown
Czysty Zwykły widok Historia

2020-06-22 12:10:39 +00:00
# Project Horus Telemetry Decoder
Telemetry demodulator for the following modems in use by Project Horus
* Horus Binary Modes
* v1 - Legacy 22 byte mode, Golay FEC
2020-06-29 11:42:41 +00:00
* v2 - 16/32-byte modes, LDPC FEC (Still in development)
2020-07-05 08:02:05 +00:00
* RTTY (7N2 only, for now)
2020-06-22 12:10:39 +00:00
2020-06-22 11:36:55 +00:00
Written by Mark Jessop <vk5qi@rfhead.net>
2020-06-22 12:10:39 +00:00
**Note: This is very much a work in progress!**
2020-07-10 08:24:35 +00:00
![Screenshot](doc/horusgui_screenshot.png)
2020-06-22 11:36:55 +00:00
2020-06-22 11:48:08 +00:00
### TODO LIST - Important Stuff
2020-07-05 08:02:05 +00:00
* Stop decoded data pane from resizing on bad/long decodes - TODO
* Export of telemetry via Horus UDP
* Better build system
2020-06-22 12:10:39 +00:00
* Windows binary
2020-06-22 11:48:08 +00:00
### TODO LIST - Extras
* UDP input from GQRX
2020-07-05 08:02:05 +00:00
* Waterfall Display (? Need something GPU accelerated if possible...)
2020-06-22 11:36:55 +00:00
## Usage
2020-06-29 11:53:26 +00:00
### Build HorusLib
```console
$ git clone https://github.com/projecthorus/horusdemodlib.git
$ cd horusdemodlib && mkdir build && cd build
2020-06-29 11:53:26 +00:00
$ cmake ..
$ make
$ make install
2020-06-29 11:53:26 +00:00
```
2020-07-06 09:12:03 +00:00
### Grab this Repo
2020-06-22 11:36:55 +00:00
```console
$ git clone https://github.com/projecthorus/horus-gui.git
$ cd horus-gui
2020-07-06 09:12:03 +00:00
```
### (Optional) Create a Virtual Environment
Create a virtual environment and install dependencies.
```console
2020-06-22 11:36:55 +00:00
$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip install pip -U (Optional - this updates pip)
```
2020-07-06 09:12:03 +00:00
### Install Python Dependencies
```console
$ pip install -r requirements.txt
```
NOTE: If you get errors relating to pyaudio when trying to install into a venv, make sure that portaudio is installed (`libportaudio-dev` under Linux distros, or `portaudio` under Macports), and then install pyaudio pointing to the portaudio lib by running:
```
(Linux) $ pip install --global-option='build_ext' --global-option='-I/usr/include' --global-option='-L/usr/lib' pyaudio
(OSX) $ pip install --global-option='build_ext' --global-option='-I/opt/local/include' --global-option='-L/opt/local/lib' pyaudio
```
You should then be able to re-run the install requirements command above.
2020-06-22 11:36:55 +00:00
### Install Package
Install package in a editable state. This type of installation allows a
developer to make changes to the source code while retaining the installation
entry points so it can be used like a normal install.
```console
(venv) $ pip install -e .
```
### Run
```console
$ python -m horusgui.gui
```