Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
source
TMTC COMMANDER CORE
Commits
e8e3dc36
Commit
e8e3dc36
authored
Feb 21, 2021
by
Robin Mueller
Browse files
renamed tmtc_core to tmtccmd
parent
483cec7f
Changes
44
Hide whitespace changes
Inline
Side-by-side
utility/hammingcode.py
View file @
e8e3dc36
...
...
@@ -37,7 +37,7 @@ Translated from ATMEL C library.
"""
from
enum
import
Enum
from
tmtc
_core
.utility.tmtcc_logger
import
get_logger
from
tmtc
cmd
.utility.tmtcc_logger
import
get_logger
LOGGER
=
get_logger
()
...
...
utility/tmtcc_core_args_parser.py
View file @
e8e3dc36
...
...
@@ -4,7 +4,7 @@ Argument parser module.
"""
import
argparse
import
sys
from
tmtc
_core
.utility.tmtcc_logger
import
get_logger
from
tmtc
cmd
.utility.tmtcc_logger
import
get_logger
LOGGER
=
get_logger
()
...
...
utility/tmtcc_exit_handler.py
View file @
e8e3dc36
import
signal
from
tmtc
_core
.com_if.tmtcc_com_interface_base
import
CommunicationInterface
from
tmtc
_core
.utility.tmtcc_logger
import
get_logger
from
tmtc
cmd
.com_if.tmtcc_com_interface_base
import
CommunicationInterface
from
tmtc
cmd
.utility.tmtcc_logger
import
get_logger
LOGGER
=
get_logger
()
...
...
utility/tmtcc_tmtc_printer.py
View file @
e8e3dc36
...
...
@@ -12,12 +12,12 @@ import os
import
enum
from
tmtc
_core
.pus_tm.tmtcc_pus_service_8
import
Service8TM
from
tmtc
_core
.pus_tm.tmtcc_pus_tm_base
import
PusTelemetry
from
tmtc
_core
.pus_tm.tmtcc_pus_tm_factory
import
PusTmQueueT
from
tmtc
_core
.pus_tm.tmtcc_tm_service3_base
import
Service3Base
from
tmtc
_core
.pus_tc.tmtcc_pus_tc_base
import
PusTcInfoT
,
TcDictionaryKeys
from
tmtc
_core
.utility.tmtcc_logger
import
get_logger
from
tmtc
cmd
.pus_tm.tmtcc_pus_service_8
import
Service8TM
from
tmtc
cmd
.pus_tm.tmtcc_pus_tm_base
import
PusTelemetry
from
tmtc
cmd
.pus_tm.tmtcc_pus_tm_factory
import
PusTmQueueT
from
tmtc
cmd
.pus_tm.tmtcc_tm_service3_base
import
Service3Base
from
tmtc
cmd
.pus_tc.tmtcc_pus_tc_base
import
PusTcInfoT
,
TcDictionaryKeys
from
tmtc
cmd
.utility.tmtcc_logger
import
get_logger
LOGGER
=
get_logger
()
...
...
@@ -89,8 +89,8 @@ class TmTcPrinter:
from
typing
import
cast
self
.
__handle_hk_definition_print
(
cast
(
Service3Base
,
packet
))
from
tmtc
_core
.core.globals_manager
import
get_global
from
tmtc
_core
.core.definitions
import
CoreGlobalIds
from
tmtc
cmd
.core.globals_manager
import
get_global
from
tmtc
cmd
.core.definitions
import
CoreGlobalIds
if
get_global
(
CoreGlobalIds
.
PRINT_RAW_TM
):
self
.
__print_buffer
=
"TM Data:"
+
"
\n
"
+
self
.
return_data_string
(
packet
.
get_tm_data
())
LOGGER
.
info
(
self
.
__print_buffer
)
...
...
@@ -150,8 +150,8 @@ class TmTcPrinter:
:param tm_packet:
:return:
"""
from
tmtc
_core
.core.globals_manager
import
get_global
from
tmtc
_core
.core.definitions
import
CoreGlobalIds
from
tmtc
cmd
.core.globals_manager
import
get_global
from
tmtc
cmd
.core.definitions
import
CoreGlobalIds
print_hk
=
get_global
(
CoreGlobalIds
.
PRINT_HK
)
if
print_hk
:
self
.
__print_buffer
=
f
"HK Data from Object ID
{
tm_packet
.
object_id
:
#010x
}
and "
\
...
...
@@ -164,8 +164,8 @@ class TmTcPrinter:
:param tm_packet:
:return:
"""
from
tmtc
_core
.core.globals_manager
import
get_global
from
tmtc
_core
.core.definitions
import
CoreGlobalIds
from
tmtc
cmd
.core.globals_manager
import
get_global
from
tmtc
cmd
.core.definitions
import
CoreGlobalIds
print_hk
=
get_global
(
CoreGlobalIds
.
PRINT_HK
)
if
print_hk
:
self
.
__print_buffer
=
f
"HK Definition from Object ID
{
tm_packet
.
object_id
:
#010x
}
"
\
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment