some minor tweaks
This commit is contained in:
parent
4ffc0d4b30
commit
d6ae213a6e
@ -42,4 +42,12 @@ pip install tmtccmd[gui]
|
|||||||
After setting up the dependencies, you can simply run the `main.py` script to send commands
|
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`
|
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
|
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.
|
||||||
|
@ -55,7 +55,6 @@ class SatRsConfigHook(TmTcCfgHookBase):
|
|||||||
super().__init__(json_cfg_path=json_cfg_path)
|
super().__init__(json_cfg_path=json_cfg_path)
|
||||||
|
|
||||||
def assign_communication_interface(self, com_if_key: str) -> Optional[ComInterface]:
|
def assign_communication_interface(self, com_if_key: str) -> Optional[ComInterface]:
|
||||||
print("Communication interface assignment function was called")
|
|
||||||
from tmtccmd.config.com_if import (
|
from tmtccmd.config.com_if import (
|
||||||
create_com_interface_default,
|
create_com_interface_default,
|
||||||
create_com_interface_cfg_default,
|
create_com_interface_cfg_default,
|
||||||
|
Loading…
Reference in New Issue
Block a user