update steps to command ping
fsfw/fsfw example hosted/pipeline/head This commit looks good Details

This commit is contained in:
Robin Müller 2022-07-04 10:39:32 +02:00
parent d644a45c34
commit b97a23ff8c
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
1 changed files with 9 additions and 6 deletions

View File

@ -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
software.
For a quick test, install the `tmtccmd` Python package first and use `py` instead
of `python3` on Windows:
The following steps set up a virtual environment, install all the dependencies, and then use
the `tmtcc.py` utility to send a ping telecommand to the running OBSW
```sh
cd tmtccmd
python3 -m pip install -r requirements.txt
cd tmtc
python3 -m venv venv
cd deps/tmtccmd
pip install .[gui]
```
Now you can command the software using the `tmtccli.py` and `tmtcgui.py` command.
For example, you can use `tmtccli.py -s 17 -o 0` to send a ping command.
Now you can command the software using the `tmtcc.py` command for the CLI mode and `tmtcc.py -g`
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