Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SRC OBDH TMTC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Robin Mueller
SRC OBDH TMTC
Commits
1007ede8
Commit
1007ede8
authored
4 years ago
by
Robin.Mueller
Browse files
Options
Downloads
Patches
Plain Diff
additional getter/setters
parent
feda85f7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/obsw_config.py
+8
-0
8 additions, 0 deletions
config/obsw_config.py
core/tmtc_client_core.py
+1
-1
1 addition, 1 deletion
core/tmtc_client_core.py
with
9 additions
and
1 deletion
config/obsw_config.py
+
8
−
0
View file @
1007ede8
...
@@ -199,3 +199,11 @@ def get_glob_com_if():
...
@@ -199,3 +199,11 @@ def get_glob_com_if():
global
G_COM_IF
global
G_COM_IF
return
G_COM_IF
return
G_COM_IF
def
set_glob_mode
(
new_mode
:
ModeList
):
global
G_MODE_ID
G_MODE_ID
=
new_mode
def
get_glob_mode
():
global
G_MODE_ID
return
G_MODE_ID
This diff is collapsed.
Click to expand it.
core/tmtc_client_core.py
+
1
−
1
View file @
1007ede8
...
@@ -46,7 +46,7 @@ def run_tmtc_client(use_gui: bool, reduced_printout: bool = False):
...
@@ -46,7 +46,7 @@ def run_tmtc_client(use_gui: bool, reduced_printout: bool = False):
if
not
use_gui
:
if
not
use_gui
:
# The global variables are set by the argument parser.
# The global variables are set by the argument parser.
tmtc_handler
=
TmTcHandler
(
g
.
G_COM_IF
,
g
.
G_MODE_ID
)
tmtc_handler
=
TmTcHandler
(
g
.
get_glob_com_if
(),
g
.
get_glob_mode
()
)
tmtc_handler
.
set_one_shot_or_loop_handling
(
g
.
G_LISTENER_AFTER_OP
)
tmtc_handler
.
set_one_shot_or_loop_handling
(
g
.
G_LISTENER_AFTER_OP
)
tmtc_handler
.
initialize
()
tmtc_handler
.
initialize
()
tmtc_handler
.
start
()
tmtc_handler
.
start
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment