parent
d644a45c34
commit
b97a23ff8c
15
README.md
15
README.md
@ -72,16 +72,19 @@ When the software is running, it opens a TCP oder UDP server, depending on the c
|
|||||||
on port 7301. You can send PUS telecommands to that port to interactively command the
|
on port 7301. You can send PUS telecommands to that port to interactively command the
|
||||||
software.
|
software.
|
||||||
|
|
||||||
For a quick test, install the `tmtccmd` Python package first and use `py` instead
|
The following steps set up a virtual environment, install all the dependencies, and then use
|
||||||
of `python3` on Windows:
|
the `tmtcc.py` utility to send a ping telecommand to the running OBSW
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd tmtccmd
|
cd tmtc
|
||||||
python3 -m pip install -r requirements.txt
|
python3 -m venv venv
|
||||||
|
cd deps/tmtccmd
|
||||||
|
pip install .[gui]
|
||||||
```
|
```
|
||||||
|
|
||||||
Now you can command the software using the `tmtccli.py` and `tmtcgui.py` command.
|
Now you can command the software using the `tmtcc.py` command for the CLI mode and `tmtcc.py -g`
|
||||||
For example, you can use `tmtccli.py -s 17 -o 0` to send a ping command.
|
for the GUI mode inside the virtual environment. For example, you can use `tmtcc.py -s 17 -o 0`
|
||||||
|
to send a ping command.
|
||||||
|
|
||||||
## <a id="prereqsetup"></a> Setting up Prerequisites
|
## <a id="prereqsetup"></a> Setting up Prerequisites
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user