some minor tweaks

This commit is contained in:
Robin Müller 2022-11-20 20:48:34 +01:00
parent 4ffc0d4b30
commit d6ae213a6e
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 9 additions and 2 deletions

View File

@ -42,4 +42,12 @@ pip install tmtccmd[gui]
After setting up the dependencies, you can simply run the `main.py` script to send commands
to the OBSW example and to view and handle incoming telemetry. The script and the `tmtccmd`
framework it uses allow to easily add and expose additional telecommand and telemetry handling
as Python code.
as Python code. For example, you can use the following command to send a ping like done with
the `simpleclient`:
```sh
./main.py -s test -o ping
```
You can also simply call the script without any arguments to view a list of services (`-s` flag)
and corresponding op codes (`-o` flag) for each service.

View File

@ -55,7 +55,6 @@ class SatRsConfigHook(TmTcCfgHookBase):
super().__init__(json_cfg_path=json_cfg_path)
def assign_communication_interface(self, com_if_key: str) -> Optional[ComInterface]:
print("Communication interface assignment function was called")
from tmtccmd.config.com_if import (
create_com_interface_default,
create_com_interface_cfg_default,