43 lines
1.5 KiB
Python
Executable File
43 lines
1.5 KiB
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
@brief TMTC Commander entry point for command line mode.
|
|
@details
|
|
This client was developed by KSat for the SOURCE project to test the on-board software but
|
|
has evolved into a more generic tool for satellite developers to perform TMTC (Telemetry and Telecommand)
|
|
handling and testing via different communication interfaces. Currently, only the PUS standard is
|
|
implemented as a packet standard.
|
|
|
|
Run this file with the -h flag to display options.
|
|
|
|
@license
|
|
Copyright 2020 KSat e.V. Stuttgart
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
@author R. Mueller
|
|
"""
|
|
from tmtcc import tmtcc_post_args, tmtcc_pre_args, create_default_args_parser, \
|
|
add_default_tmtccmd_args, parse_default_input_arguments
|
|
|
|
|
|
def main():
|
|
hook_obj = tmtcc_pre_args()
|
|
arg_parser = create_default_args_parser()
|
|
add_default_tmtccmd_args(arg_parser)
|
|
args = parse_default_input_arguments(arg_parser, hook_obj)
|
|
tmtcc_post_args(hook_obj=hook_obj, use_gui=False, args=args)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|