diff --git a/satrs-example/README.md b/satrs-example/README.md index e477829..021ae67 100644 --- a/satrs-example/README.md +++ b/satrs-example/README.md @@ -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. diff --git a/satrs-example/pyclient/main.py b/satrs-example/pyclient/main.py index 431bebc..03ef60e 100755 --- a/satrs-example/pyclient/main.py +++ b/satrs-example/pyclient/main.py @@ -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,